Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive.
Both ram:TaxPointDate and ram:DueDateTypeCode are present in the same ram:ApplicableTradeTax. The tax point date (BT-7) and its code (BT-8) must not be provided together.
The rule prevents the tax point from being stated twice: it is expressed either by the date or by the code. Both may also be absent.
The tax data contain both the tax point date and its code. You can correct the invoice by keeping just one of these entries or omitting both.
- Remove either
ram:TaxPointDateorram:DueDateTypeCode. - If you do not want to provide a tax point, omit both elements.
- Check the call to
SetTaxPointDate(...). - Generate the invoice again and validate it once more.
<ram:ApplicableTradeTax> <ram:TaxPointDate>2026-01-15</ram:TaxPointDate> <ram:DueDateTypeCode>5</ram:DueDateTypeCode> </ram:ApplicableTradeTax>
<ram:ApplicableTradeTax> <ram:TaxPointDate>2026-01-15</ram:TaxPointDate> </ram:ApplicableTradeTax>
Tax.SetTaxPointDate(taxPointDate, dueDateTypeCode)(BT-7; BT-8)
Technical details
The test passes when no more than one of ram:TaxPointDate and ram:DueDateTypeCode is present.
The rule applies in ram:ApplicableTradeTax within the invoice header settlement data.
rule/@context)assert/@test)