XRechnung specification identifier

Warning BR-DE-21 XRechnung

The element "Specification identifier" (BT-24) should syntactically correspond to the identifier of the XRechnung standard.

Recommendation: The invoice remains valid but should be corrected so that it can be processed automatically.
What is wrong

The identifier in ram:GuidelineSpecifiedDocumentContextParameter/ram:ID does not match any of the identifiers allowed for XRechnung.

What the rule means

The specification identifier states which invoice specification the document was created under. For this rule, it must match one of the specified XRechnung identifiers.

Affected fields BT-24
Please provide the appropriate XRechnung identifier

The identifier in the document context is not recognized as one of the identifiers provided for XRechnung. You can resolve this by adjusting the specification identifier used.

What to do
  1. Check the values of Profile and SpecificationIdentifier.
  2. Make sure ram:GuidelineSpecifiedDocumentContextParameter/ram:ID contains an allowed XRechnung identifier.
  3. Generate the invoice again and validate it again.
Check in FactoorSharp
  • FacturXInvoice.Profile (BT-24)
  • FacturXInvoice.SpecificationIdentifier (BT-24)
  • SpecificationIdentifiers (BT-24)
Technical details

The test compares ram:GuidelineSpecifiedDocumentContextParameter/ram:ID with the three allowed identifiers $XR-CIUS-ID, $XR-EXTENSION-ID, and $XR-CVD-ID.

Where the rule applies

The rule applies to ram:GuidelineSpecifiedDocumentContextParameter/ram:ID in the document context.

Original message from the Schematron
Das Element "Specification identifier" (BT-24) soll syntaktisch der Kennung des Standards XRechnung entsprechen.
Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext
Test expression (assert/@test)
ram:GuidelineSpecifiedDocumentContextParameter/ram:ID = $XR-CIUS-ID or ram:GuidelineSpecifiedDocumentContextParameter/ram:ID = $XR-EXTENSION-ID or ram:GuidelineSpecifiedDocumentContextParameter/ram:ID = $XR-CVD-ID