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.
cbc
urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2200
Use | Name | Description |
---|---|---|
M | @currencyID |
Currency identifier, value must be the same as what is used in tir01-007, DocumentCurrencyCode.
Example value: |
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 |