Segment | PHH Required Optional | TDS | Total Monetary Value Summary TDS01 = Total Invoice Amount TDS03 = Discounted Amount Due | R | CTT | Transaction Totals CTT01 = Number of line items (see notes below) | R |
If a discount is applicable then the TDS03 contains the adjusted invoice total (i.e, Total Invoice Amount (TDS01) minus discount amount). The discount amount is obtained one of two ways depending on which ANSI version you have selected: - For versions prior to 003040 all the ITA07s on this invoice (where the ITA01 = "A" and the ITA04 = "04") are added together.
- For versions after 003030 all the SAC05s on this invoice (where the SAC01 = "A" and the SAC02 = "C310") are added together.
The contents of the CTT01 (number of line items) element depends on which EDI format you have selected: - Invoice Summary Format = "1"
- Division Summary Format = Total number of divisions on this invoice
- Vehicle Summary Format = Total number of units on this invoice
- Vehicle Charge Summary Format = Total number of units on this invoice
- Vehicle Charge Detail Format = Total number of units on this invoice
| | |