An Invoice shall have a Specification identifier (BT-24).
The invoice does not contain a non-empty ram:ID within ram:GuidelineSpecifiedDocumentContextParameter. The specification identifier BT-24 is therefore missing.
BT-24 identifies the specification according to which the invoice was created. This identifier associates the invoice with its intended format and rules.
The specification identifier is missing from ram:GuidelineSpecifiedDocumentContextParameter in the invoice. You can add the identifier in this document context.
- Check the values of
FacturXInvoice.ProfileandFacturXInvoice.SpecificationIdentifier, as well as the available entries inSpecificationIdentifiers. - Ensure that
ram:GuidelineSpecifiedDocumentContextParametercontains a non-emptyram:ID. - Generate the invoice again and validate it again.
<ram:GuidelineSpecifiedDocumentContextParameter> <ram:ID/> </ram:GuidelineSpecifiedDocumentContextParameter>
<ram:GuidelineSpecifiedDocumentContextParameter> <ram:ID>urn:example:invoice-specification</ram:ID> </ram:GuidelineSpecifiedDocumentContextParameter>
FacturXInvoice.Profile(BT-24)FacturXInvoice.SpecificationIdentifier(BT-24)SpecificationIdentifiers(BT-24)
Technical details
The XPath checks whether ram:ID is present and non-empty in the specified document context.
The rule applies in the invoice document context to ram:ID within ram:GuidelineSpecifiedDocumentContextParameter.
rule/@context)assert/@test)