An Invoice shall have an Invoice type code (BT-3).
The invoice type code in rsm:ExchangedDocument/ram:TypeCode is missing or empty.
The invoice type code identifies the kind of invoice document being issued. It classifies the document by type.
Your invoice is missing its invoice type code. Add the code that identifies the kind of invoice document.
- Add the invoice type code through
Type. - Generate the invoice again and validate it once more.
<rsm:ExchangedDocument> <ram:TypeCode/> </rsm:ExchangedDocument>
<rsm:ExchangedDocument> <ram:TypeCode>380</ram:TypeCode> </rsm:ExchangedDocument>
FacturXInvoice.Type(BT-3)
Technical details
The test checks whether rsm:ExchangedDocument/ram:TypeCode is not equal to the empty string.
The rule applies to ram:TypeCode within rsm:ExchangedDocument in the invoice header.
rule/@context)assert/@test)