Account
English

UBL-DT: UBL data type restrictions

Group UBL-DT holds 24 EN 16931 rules that forbid or restrict elements of the UBL 2.1 syntax which the European semantic model does not use.

Group UBL-DT holds 24 EN 16931 rules that forbid or restrict elements of the UBL 2.1 syntax which the European semantic model does not use. They are warnings: the invoice is accepted, but the element should be removed because receiving systems may ignore or reject it.

All rules in this group (24)

IDRule textElement
UBL-DT-01Amounts shall be decimal up to two fraction digits//*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]
UBL-DT-06Binary object elements shall contain the mime code attribute//*[ends-with(name(), 'BinaryObject')]
UBL-DT-07Binary object elements shall contain the file name attribute//*[ends-with(name(), 'BinaryObject')]
UBL-DT-08Scheme name attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-09Scheme agency name attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-10Scheme data uri attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-11Scheme uri attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-12Format attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-13Unit code list identifier attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-14Unit code list agency identifier attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-15Unit code list agency name attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-16List agency name attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-17List name attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-18Name attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-19Language identifier attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-20List uri attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-21List scheme uri attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-22Language local identifier attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-23Uri attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-24Currency code list version id should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-25CharacterSetCode attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-26EncodingCode attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-27Scheme Agency ID attribute should not be present/ubl:Invoice | /cn:CreditNote
UBL-DT-28List Agency ID attribute should not be present/ubl:Invoice | /cn:CreditNote