At least one tax entry for the advance payment

Error FX-SCH-A-000325 Factur-X

Element 'ram:IncludedTradeTax' must occur at least 1 times.

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

SpecifiedAdvancePayment is missing at least one ram:IncludedTradeTax element.

What the rule means

ram:IncludedTradeTax contains the tax information for the advance payment. Without at least one such entry, the tax breakdown for the advance payment is incomplete.

Please add the tax entry for the advance payment

No ram:IncludedTradeTax element is provided for SpecifiedAdvancePayment. Add at least one tax entry to describe the advance payment for tax purposes.

What to do
  1. Locate SpecifiedAdvancePayment in the invoice settlement information.
  2. Add at least one ram:IncludedTradeTax element inside it.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:SpecifiedAdvancePayment/>
✓ Correct
<ram:SpecifiedAdvancePayment>
  <ram:IncludedTradeTax/>
</ram:SpecifiedAdvancePayment>
Technical details

The rule requires at least one direct ram:IncludedTradeTax element in the current SpecifiedAdvancePayment.

Where the rule applies

The rule applies to SpecifiedAdvancePayment within the invoice settlement information.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ ram:SpecifiedAdvancePayment
Test expression (assert/@test)
count(ram:IncludedTradeTax)>=1