Specify no more than one identifier for the invoice issuer

Error FX-SCH-A-000886 Factur-X

Element 'ram:ID' may occur at maximum 1 times.

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

ram:InvoicerTradeParty contains ram:ID more than once. This element may occur there no more than once.

What the rule means

ram:ID is an identifier entry for the invoice issuer. This rule permits no more than one such entry in ram:InvoicerTradeParty.

Please provide no more than one identifier for the invoice issuer

ram:InvoicerTradeParty contains ram:ID more than once. This element may occur there once or not at all.

What to do
  1. Locate ram:InvoicerTradeParty in the invoice.
  2. Remove any extra ram:ID elements; the identifier may also be absent.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:InvoicerTradeParty>
  <ram:ID>123</ram:ID>
  <ram:ID>456</ram:ID>
</ram:InvoicerTradeParty>
✓ Correct
<ram:InvoicerTradeParty>
  <ram:ID>123</ram:ID>
</ram:InvoicerTradeParty>
Technical details

The XPath counts the direct ram:ID elements in ram:InvoicerTradeParty and permits zero or one.

Where the rule applies

The ram:InvoicerTradeParty element may contain no more than one ram:ID.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ ram:InvoicerTradeParty
Test expression (assert/@test)
count(ram:ID)<=1