IN-UNIT-CODES:Unit of measure codes validation
Unit codes should be from UN/ECE Recommendation 20
Engine Classification
Financial or legal field · Modification blocked by policy
Reason: Unit of measure codes must match your product catalog and trading partner agreements. Invalid codes may indicate data mapping issues.
What is IN-UNIT-CODES?
IN-UNIT-CODES is a info validation rule defined in the Peppol BIS 3.0 specification. It validates the Name element under Party > PartyName in the UBL invoice XML.
This rule flags a potential compliance issue that should be reviewed. While it may not block transmission, correcting it improves interoperability and audit readiness.
Target path: XPath: /Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name
Why This Error Matters
Seller identification required.
While IN-UNIT-CODES does not block transmission, ignoring it degrades your invoice quality score. Receivers and tax authorities increasingly use these signals to flag suppliers for manual review.
Validator Behavior
- ·Rejected by PEPPOL Access Points
- ·Error returned: IN-UNIT-CODES
- ·Specification: Peppol BIS 3.0
How to Fix It
Add PartyName
Under seller Party
Include Name
Legal company name
Before / After
<cbc:InvoicedQuantity> <@unitCode>INVALID_CODE</@unitCode> </cbc:InvoicedQuantity>
<cbc:InvoicedQuantity> <@unitCode>VALID_CODE</@unitCode> </cbc:InvoicedQuantity>
Technical Reference
XPath: /Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:NameCommon Causes
- ·Missing PartyName
- ·Empty name
Seeing this in production? The API handles IN-UNIT-CODES automatically. See the fix response →
Frequently Asked Questions
Seller party must have name specified.
Add seller PartyName element. Invoice Navigator can help identify and fix this issue.
Yes, PEPPOL-EN16931-R009 is a critical error that must be fixed.
See Also
Related Errors
Last updated: 27 February 2026
Handle IN-UNIT-CODES Automatically in Your Pipeline
The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.