The PAT segment specifies the payment terms for the transaction. PAT+1 means net payment. The terms details (number of days) appear in a composite in element 3. PAT+1++5:3:D:30 means net 30 days. Used in ORDERS and INVOIC.
PATHover any part of the segment to see what it is. Open What your system receives to see the JSON or XML CleanEDI delivers.
PAT+1++5:3:D:30'Payment Terms Basis
| 1 | Terms type | 1 |
| 3.1 | Time: Reference | 5 |
| 3.2 | Time: Relation | 3 |
| 3.3 | Time: Period type | D |
| 3.4 | Time: Number of periods | 30 |
Not mapped in this demo. In production CleanEDI maps it into your contract, or keeps it in the raw archive.
Elements are separated by + and their parts by :. Positions match the explainer, so 2.3 is the third part of the second element.
| Position | Element | Parts |
|---|---|---|
| 1 | Terms type | Single value |
| 2 | Terms | 2.1 Code, 2.2 Code list, 2.3 Agency, 2.4 Description |
| 3 | Time | 3.1 Reference, 3.2 Relation, 3.3 Period type, 3.4 Number of periods |
Common EANCOM and UN/EDIFACT values. Your trading partner's implementation guide is the final word on which codes they send.
Have a real message with PAT in it? The explainer breaks down every segment and runs in your browser.
Explain my message