Rule-packs · tdd-ae-1.0.4

What changed in tdd-ae-1.0.4

tdd-ae-1.0.3 → tdd-ae-1.0.4, published 2026-07-29

Added
0
Tightened
3
Removed
0
Loosened
1
Reworded
5
Total rules now
58
Added and tightened rules are the ones that can break you. A document that passed under tdd-ae-1.0.3 may fail here. Removed and loosened rules can only make more documents pass. If you pinned a version, nothing changes until you choose to move.

Tightened (3)

These now reject documents they used to accept.

RuleWhat it checks
ibr-tdd-17
tdd-ae
The receiver's endpoint scheme (tdt-008-1) must be 0242 (SPIS). From TDD 1.0.4 the attribute is also required to be present; earlier versions only checked its value when it was there.
How the test changed
Before
not(exists(cbc:EndpointID/@schemeID)) or (cbc:EndpointID/@schemeID = '0242')
After
exists(cbc:EndpointID/@schemeID) and normalize-space(cbc:EndpointID/@schemeID) = '0242'
ibr-tdd-21
tdd-ae
The reporter's representative ID scheme (tdt-009-1) must be 0242 (SPIS).
How the test changed
Before
not(exists(cbc:ID/@schemeID)) or                                                   (cbc:ID/@schemeID = '0242')
After
not(exists(cbc:ID/@schemeID)) or                                                  (cbc:ID/@schemeID = '0242')
ibr-tdd-22
tdd-ae
The reported document (tdg-02) is missing. It may only be left out when the TDD type code is F (failed transmission).
How the test changed
Before
exists(pxs:ReportedDocument) or ($checkForReportedDocument)
After
exists(pxs:ReportedDocument) or $isFailedTransmission

Loosened (1)

These now accept documents they used to reject.

RuleWhat it checks
ibr-tdd-33
tdd-ae
The buyer (ibg-07) is missing. From TDD 1.0.4 it may be left out for exports, meaning an invoice transaction type code (BTAE-02) ending in 1, such as 00000001. Under 1.0.3 it is always required.
How the test changed
Before
exists(cac:AccountingCustomerParty)
After
exists(cac:AccountingCustomerParty) or matches(normalize-space(../pxs:SourceDocument/cec:ExtensionContent/*/cbc:ProfileExecutionID), '^[01]{7}1$')

Reworded (5)

The test is unchanged; only the message or severity moved. These cannot change a verdict.

RuleWhat it checks
ibr-tdd-40
tdd-ae
The seller block has no cac:Party inside it.
ibr-tdd-44
tdd-ae
The seller's tax registration number (cbc:CompanyID) is missing from its tax scheme.
ibr-tdd-45
tdd-ae
The seller's tax scheme has no identifier (cac:TaxScheme/cbc:ID).
ibr-tdd-47
tdd-ae
The buyer block has no cac:Party inside it.
ibr-tdd-55
tdd-ae
The custom content for the total amount with VAT in AED (BTAE-20) must hold its amount in cbc:Value, not in an extension.

Find out whether it affects you

Point a regression corpus at your representative invoices and we will tell you which of your documents change verdict — by your own filenames.

peppolprobe regress ./test/fixtures/invoices \
  --corpus nightly --rulepack tdd-ae-1.0.4
Regression testing