Provide the scheme identifier for the buyer global 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 the GlobalID element in BuyerTradeParty.

What the rule means

The buyer’s global identifier must include a scheme identifier so that the identifier can be classified under its intended scheme.

Please provide the scheme identifier for the buyer’s global identifier

The buyer’s GlobalID element does not include schemeID. You can add this attribute so the identifier specifies its scheme.

What to do
  1. Find GlobalID in BuyerTradeParty.
  2. Add the schemeID attribute with the scheme identifier belonging to the buyer’s global identifier.
  3. Generate the invoice again and validate it.
Technical details

Within GlobalID, the rule checks whether the schemeID attribute is present.

Where the rule applies

The rule applies to the schemeID attribute of GlobalID in the buyer details BuyerTradeParty.

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