EDIFACT TAX segment: duty/tax/fee details.

The TAX segment specifies tax information for a line item or the whole transaction. TAX+7+VAT means the tax is GST/VAT. Element 5 sub-element 3 carries the tax rate (e.g. 10 for 10% GST). Element 6 is the category code (S=standard rate, Z=zero rated, E=exempt). The TAX segment is usually followed by MOA+124 for the tax amount.

Tag
TAX
Full name
Duty/tax/fee
Part of the message
Commercial terms
Data elements
6

A TAX segment, explained

Hover any part of the segment to see what it is. Open What your system receives to see the JSON or XML CleanEDI delivers.

  1. TAX+7+VAT+++:::10+S'
    TAXDuty/tax/fee

    Value added tax at 10%.

    TAX
    Duty/tax/fee
    7
    Tax (function)
    VAT
    Value added tax (tax type)

TAX structure

Elements are separated by + and their parts by :. Positions match the explainer, so 2.3 is the third part of the second element.

PositionElementParts
1Function1.1 Code
2Tax type2.1 Code
3Tax accountSingle value
4Assessment basisSingle value
5Rate5.1 Part 1, 5.2 Part 2, 5.3 Part 3, 5.4 Rate %
6CategorySingle value

Function (1.1)

CodeMeaning
7Tax

Tax type (2.1)

CodeMeaning
GSTGoods and services tax
VATValue added tax

Common EANCOM and UN/EDIFACT values. Your trading partner's implementation guide is the final word on which codes they send.

TAX segment FAQ

Have a real message with TAX in it? The explainer breaks down every segment and runs in your browser.

Explain my message

What is the TAX segment in EDIFACT?

TAX is the Duty/Tax/Fee Details segment. The TAX segment specifies tax information for a line item or the whole transaction. TAX+7+VAT means the tax is GST/VAT. Element 5 sub-element 3 carries the tax rate (e.g. 10 for 10% GST). Element 6 is the category code (S=standard rate, Z=zero rated, E=exempt). The TAX segment is usually followed by MOA+124 for the tax amount.

What are the common TAX function codes?

7 means tax.

Where does TAX appear in an EDIFACT message?

TAX belongs to the commercial terms part of a message, alongside CUX, PAT, TOD, TDT, ALC, PCD.

How do I read a TAX segment in my own message?

Paste the message into the free CleanEDI explainer. It breaks every TAX segment into its elements, translates the codes and shows the JSON and XML your system would receive. Nothing you paste leaves your browser.

Related segments in commercial terms