All error codes › UBL-DT-18
UBL-DT-18 – Name attribute should not be present
Warningen16931applies to Romanian e-Factura
What the rule says
Name attribute should not be present
How to fix it
Remove the attribute from the element; EN 16931 does not use it.
This is a warning, not an error: it does not normally cause a rejection, but it is worth cleaning up.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
Context: /ubl:Invoice | /cn:CreditNote
Test (XPath):
count(//@name) - count(//cbc:PaymentMeansCode/@name) <= 0
Related rules
UBL-DT-01Amounts shall be decimal up to two fraction digitsUBL-DT-06Binary object elements shall contain the mime code attributeUBL-DT-07Binary object elements shall contain the file name attributeUBL-DT-08Scheme name attribute should not be presentUBL-DT-09Scheme agency name attribute should not be presentUBL-DT-10Scheme data uri attribute should not be presentUBL-DT-11Scheme uri attribute should not be presentUBL-DT-12Format attribute should not be presentUBL-DT-13Unit code list identifier attribute should not be presentUBL-DT-14Unit code list agency identifier attribute should not be presentUBL-DT-15Unit code list agency name attribute should not be presentUBL-DT-16List agency name attribute should not be present