Purpose
The MOA (Monetary Amount) segment conveys monetary values within an EDIFACT message. It is used to state amounts such as line item totals, invoice grand totals, tax amounts, allowance or charge amounts, prepaid amounts, and amounts due. Like many EDIFACT segments, MOA uses a qualifier to distinguish the type of amount, allowing multiple MOA segments to appear in the same context with different meanings.
MOA segments appear both at the detail level (within a line item's segment group) and at the summary level (in the message trailer section). At the detail level, they state per-item amounts. At the summary level, they provide totals for the entire message, such as the total taxable amount, total tax, and the amount payable.
Data Elements
The MOA segment contains one composite data element:
- C516 - Monetary Amount:
- 5025 - Monetary Amount Type Qualifier: Identifies the type of amount. Common qualifiers include:
- 9 - Amount due/payable
- 79 - Total line items amount
- 86 - Total message amount (grand total)
- 124 - Tax amount
- 125 - Taxable amount
- 128 - Total amount
- 176 - Message total duty/tax/fee amount
- 203 - Line item amount
- 259 - Total charges/allowances
- 5004 - Monetary Amount: The numeric amount value, typically expressed with a decimal point (e.g., 1250.00).
- 6345 - Currency Identification Code (conditional): ISO 4217 three-letter currency code (e.g., EUR, USD, GBP, BAM). When omitted, the currency is assumed from context, often defined in a CUX segment earlier in the message.
- 6343 - Currency Type Code Qualifier (conditional): Further qualifies the currency usage.
- 5025 - Monetary Amount Type Qualifier: Identifies the type of amount. Common qualifiers include:
Format and Syntax
The general format of a MOA segment is:
MOA+qualifier:amount' With an explicit currency code:
MOA+qualifier:amount:currencyCode' Messages That Use MOA
MOA appears in any message that involves monetary values:
- INVOIC - Line item amounts, tax amounts, total payable
- ORDERS - Estimated order value, line item prices
- REMADV - Payment amounts, remittance totals
- DESADV - Declared value of goods
- PRICAT - Price amounts in catalogues
- CUSREC - Customs declared values
Example
A line item amount of 960.00:
MOA+203:960.00' Qualifier 203 means "line item amount" and the value is 960.00. The currency is not stated explicitly, so it is taken from the CUX segment or trading partner agreement.
A total invoice amount payable in euros:
MOA+9:12450.00:EUR' Qualifier 9 means "amount due/payable," the value is 12450.00, and the currency is explicitly stated as EUR.
Multiple MOA segments in an invoice summary section:
MOA+79:10375.00'
MOA+124:2075.00'
MOA+86:12450.00' This shows the total line items amount (79) of 10,375.00, a total tax amount (124) of 2,075.00, and the message grand total (86) of 12,450.00.