Provide a scheme identifier for the buyer identifier

Error FX-SCH-A-000420 Factur-X

Attribute '@schemeID' is required in this context.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The schemeID attribute is missing from GlobalID. The scheme for the buyer identifier is therefore not specified.

What the rule means

The schemeID attribute identifies the scheme to which the global identifier belongs and is required in this context.

Please provide the scheme for the buyer identifier

The global buyer identifier is missing the schemeID attribute. Add this attribute to specify the identifier’s scheme.

What to do
  1. Locate GlobalID in the BuyerTradeParty section.
  2. Add the schemeID attribute to GlobalID.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:GlobalID>identifier</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="value">identifier</ram:GlobalID>
Technical details

The check is performed on GlobalID and requires the schemeID attribute to be present.

Where the rule applies

The rule applies to GlobalID within BuyerTradeParty.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:BuyerTradeParty/ram:GlobalID
Test expression (assert/@test)
@schemeID