Tax information for the logistics service

Error FX-SCH-A-000328 Factur-X

Element 'ram:AppliedTradeTax' 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:SpecifiedLogisticsServiceCharge does not contain an ram:AppliedTradeTax element.

What the rule means

ram:AppliedTradeTax provides tax information for the logistics service. Without this element, the tax information for the service is missing.

Please add the tax information for the logistics service

No tax information is included for the specified logistics service. Add the missing information so that the service has tax details.

What to do
  1. Find the relevant ram:SpecifiedLogisticsServiceCharge.
  2. Add at least one ram:AppliedTradeTax inside it.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:SpecifiedLogisticsServiceCharge/>
✓ Correct
<ram:SpecifiedLogisticsServiceCharge>
  <ram:AppliedTradeTax/>
</ram:SpecifiedLogisticsServiceCharge>
Technical details

The test uses count(ram:AppliedTradeTax)>=1 to check that at least one ram:AppliedTradeTax element is present.

Where the rule applies

The rule applies to ram:SpecifiedLogisticsServiceCharge in the document-level settlement information.

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