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

ram:SpecifiedAdvancePayment contains no ram:IncludedTradeTax element. At least one tax entry must be present.

What the rule means

The advance payment must be associated with at least one tax entry so that the related tax information is included in the invoice.

Please add the tax entry for the advance payment

The advance payment is missing a tax entry. You can complete the entry in ram:SpecifiedAdvancePayment.

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

The test counts the direct ram:IncludedTradeTax elements under ram:SpecifiedAdvancePayment and requires at least one.

Where the rule applies

The rule applies to ram:SpecifiedAdvancePayment in the invoice settlement information.

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