Tax point: do not provide both the date and code

Error BR-CO-03 EN 16931

Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive.

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

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.

What the rule means

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.

Affected fields BT-7 BT-8
Please provide either the tax point date or its code

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.

What to do
  1. Remove either ram:TaxPointDate or ram:DueDateTypeCode.
  2. If you do not want to provide a tax point, omit both elements.
  3. Check the call to SetTaxPointDate(...).
  4. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:ApplicableTradeTax>
  <ram:TaxPointDate>2026-01-15</ram:TaxPointDate>
  <ram:DueDateTypeCode>5</ram:DueDateTypeCode>
</ram:ApplicableTradeTax>
✓ Correct
<ram:ApplicableTradeTax>
  <ram:TaxPointDate>2026-01-15</ram:TaxPointDate>
</ram:ApplicableTradeTax>
Check in FactoorSharp
  • 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.

Where the rule applies

The rule applies in ram:ApplicableTradeTax within the invoice header settlement data.

Context (rule/@context)
//ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax
Test expression (assert/@test)
((ram:TaxPointDate) and not (ram:DueDateTypeCode)) or (not (ram:TaxPointDate) and (ram:DueDateTypeCode)) or (not (ram:TaxPointDate) and not (ram:DueDateTypeCode))