The "Sum of line amounts" plus "sum of allowances on document level" plus "sum of charges on document level". Must be rounded to maximum 2 decimals.

Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2
Data type
Amount
udt:AmountType
Example value
200
Business terms
tir01-145
Attributes
Use Name Description
M @currencyID

Currency identifier, value must be the same as what is used in tir01-007, DocumentCurrencyCode.

Example value: EUR

Rules
Identifier/Error message Flag
PEPPOL-T01-R011
Expected total amount without TAX = Expected total sum of line amounts - Sum of allowances on document level + Sum of charges on document level
fatal
PEPPOL-T01-R028
Elements of data type amount cannot have more than 2 decimals (I.e. all amounts except unit price amounts)
fatal
PEPPOL-T01-B21701
Attribute 'currencyID' MUST be present.
fatal