Invoice milestone - EDIFACT
See the document types that map to the Invoice milestone, as well as which EDI documents are used to display UI information.
Document types
The Invoice milestone includes the following document types, consolidated
into one milestone:
- INVOIC
Milestone summary information
Invoice
Invoice milestone summary information is taken from the following
locations in the invoice:
| UI field name | EDI field location | EDI field name |
|---|---|---|
| Invoice milestone status | Calculated | |
| Order number | RFF0102 if RFF0101 = ON, CO, or VN | poNumber |
| Invoice number | BGM0201 | invoiceNumber |
| Invoice date | DTM0102 if DTM0101 = 137 | invoiceDate |
| Line count | LIN01 | lineNumber |
| Total item quantity | QTY 0102 if QTY0101 = 47 | lineQuantity |
| Invoice total amount | totalAmount | |
| Currency |
CUX0102 if CUX0103 = 4 or CUX0102 if CUX0101 = 2 MOA0103 if MOA0101 = 86, 125, or 79 |
Currency |
Line item information
Invoice
Invoice milestone line item information is taken from the following
locations in the invoice:
| UI field name | EDI field location | EDI field name |
|---|---|---|
| Item number | LIN01 | line |
| UPC number / Part number | PRI0105 | lineUnitPriceCode |
| Item description | IMD0304 | lineDescription |
| Quantity invoiced/ordered | Calculated from other fields | Quantity Invoiced/Quantity Ordered |
| UOM | QTY | lineUnits |
| Unit price |
MOA0102 if MOA0101 = 146 PRI0102 if PRI0101 =AAA or AAB |
lineUnitPrice |
| Order value | MOA0102 if MOA0101 = 86, 125, or 79 | totalAmount |