BR-KSA-15: Standard tax invoices (388) need a supply date

Explained by Matheel from ZATCA's rule text and the condition SDK 3.4.8 executes · Updated

Warning: accepted with a warningStandard tax invoices (B2B)Fields: BT-30, KSA-2, KSA-5

Applies when cbc:InvoiceTypeCode is 388 and its @name starts with '01': the document must contain a non-empty cac:Delivery/cbc:ActualDeliveryDate (KSA-5). The official text labels the type code BT-30; the type code field is BT-3.

How to fix it

Add the supply date, e.g. <cac:Delivery><cbc:ActualDeliveryDate>2022-09-07</cbc:ActualDeliveryDate></cac:Delivery>.

ZATCA's official text

[BR-KSA-15]-The tax invoice ((invoice type code (BT-30) = 388) and (invoice transaction code (KSA-2) has "01" as first 2 digits)) must contain the supply date (KSA-5).
Source: ZATCA SDK 3.4.8 · ZATCA KSA rules

Fails when (the condition ZATCA's SDK runs)

not(exists(//cac:Delivery/cbc:ActualDeliveryDate) and normalize-space(//cac:Delivery/cbc:ActualDeliveryDate) != '')

Related rules

Validate your invoice against ZATCA's rules

Paste the XML and see every error and warning. It runs in your browser; the invoice goes nowhere.

Validate an invoice or try Matheel