Provide at least one VAT breakdown

Error FX-SCH-A-000173 Factur-X

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

There is no ram:ApplicableTradeTax element in ram:ApplicableHeaderTradeSettlement. At least one is required.

What the rule means

The document-level settlement information must contain at least one VAT breakdown entry.

Please add a VAT breakdown

The settlement information contains no VAT breakdown. Add at least one ram:ApplicableTradeTax element.

What to do
  1. Find ram:ApplicableHeaderTradeSettlement.
  2. Add at least one ram:ApplicableTradeTax element within it.
  3. Recreate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:ApplicableHeaderTradeSettlement/>
✓ Correct
<ram:ApplicableHeaderTradeSettlement>
  <ram:ApplicableTradeTax/>
</ram:ApplicableHeaderTradeSettlement>
Technical details

The rule counts the direct ram:ApplicableTradeTax elements within ram:ApplicableHeaderTradeSettlement and requires at least one.

Where the rule applies

The rule applies to ram:ApplicableTradeTax within the document-level settlement information (ram:ApplicableHeaderTradeSettlement).

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