At most one accounting account per invoice line

Error FX-SCH-A-000614 Factur-X

Element 'ram:ReceivableSpecifiedTradeAccountingAccount' 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

More than one ram:ReceivableSpecifiedTradeAccountingAccount element is present in ram:SpecifiedLineTradeSettlement.

What the rule means

This part of an invoice line may contain no more than one element for its associated accounting account.

Please use no more than one accounting account per invoice line

Multiple ram:ReceivableSpecifiedTradeAccountingAccount elements are present for an invoice line. You can resolve the issue by adjusting the repeated entries.

What to do
  1. Find the ram:ReceivableSpecifiedTradeAccountingAccount elements in ram:SpecifiedLineTradeSettlement.
  2. Keep no more than one such element for the invoice line.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:SpecifiedLineTradeSettlement>
  <ram:ReceivableSpecifiedTradeAccountingAccount/>
  <ram:ReceivableSpecifiedTradeAccountingAccount/>
</ram:SpecifiedLineTradeSettlement>
✓ Correct
<ram:SpecifiedLineTradeSettlement>
  <ram:ReceivableSpecifiedTradeAccountingAccount/>
</ram:SpecifiedLineTradeSettlement>
Technical details

The rule counts direct ram:ReceivableSpecifiedTradeAccountingAccount elements in the rule context. The count must be no greater than one.

Where the rule applies

The rule applies to ram:SpecifiedLineTradeSettlement within an invoice line.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedLineTradeSettlement
Test expression (assert/@test)
count(ram:ReceivableSpecifiedTradeAccountingAccount)<=1