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.

Cardinality
0..1
Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2
Data type
Amount
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
EHF-P09-CHANGE-R011
Expected total amount without VAT = Expected total sum of line amounts - Sum of allowances on document level + Sum of charges on document level
fatal
EHF-P09-CHANGE-R028
Elements of data type amount cannot have more than 2 decimals (I.e. all amounts except unit price amounts)
fatal
EHF-P09-CHA-B19901
Attribute 'currencyID' MUST be present.
fatal
EHF-P09-CHA-B19903
Document MUST NOT contain elements not part of the data model.
fatal