MenuDeutsch

ZATCA e-invoicing, Phase 2 / Guide

ZATCA reporting errors in WooCommerce: retries, warnings and QR checks

When an invoice appears stuck, start with its stored identity and last response, not with a new invoice. Establish which document you are investigating, what happened to its last transmission and who owns the next action. This guide proposes an incident worksheet for a merchant and their provider; it does not establish that any integration is compliant.

Online version: https://sidecarsoft.com/guides/zatca-woocommerce-reporting-errors/

1. Identify the document and the observation

Link to section

Create a case reference unrelated to the customer's name. In a restricted internal record, link it to the invoice reference, environment, transaction time, last attempt time and observed response; use only the redacted case reference outside that record. Keep factual observations apart from assumptions about what the receiving system did.

Use plain descriptions such as “no document found”, “waiting for an attempt”, “no conclusive response”, “validation rejection”, “accepted with warnings” and “reported”. These are worksheet categories, not promised labels in any plugin. Write the status actually displayed next to your classification so the next operator can follow your reasoning.

2. Classify the response before choosing an action

Link to section

ZATCA's Detailed Technical Guidelines, version 2, November 2022, printed pages 47–49, distinguish valid documents, documents accepted with warnings and invalid documents. Acceptance with warnings is not a clean compliance verdict: printed page 79 says not to resubmit an invoice accepted with warnings and to investigate the warnings promptly. Section 4.3.1 describes reporting simplified documents within 24 hours of the completed transaction. This is a dated baseline, not a claim that the API specification has just changed.

A proposed operational review, with the evidence to keep in brackets:

  • No generated document found: investigate generation and order eligibility with the provider (fictional reproduction, versions, manager notice).
  • Timed out or inconclusive response: reconcile stored responses and queue state before any provider-supported retry (existing document reference and attempt times).
  • Explicit validation rejection: have the provider diagnose the cited failure and approve the correction path (sanitised validation description and decision).
  • Accepted with warnings: investigate the warning; do not resend the accepted invoice (acceptance and warning reference).
  • Reporting confirmed: reconcile the local record and treat any display problem as a separate question (confirmation linked to that document).

The evidence fields are suggested working practice. They add no statutory record format and do not prescribe how to correct a rejected invoice; get current technical instructions for the exact response before any repair that changes a document.

3. Keep retries attached to the existing document

Link to section

For a timeout, ask the developer to reconcile the last known attempt with any stored response before anyone presses a manual retry. Preserve the original evidence and note what remains unknown. A timeout is an observation about the attempt; do not record a rejection without rejection evidence.

If your integration retries the same signed document, let its queue own retransmission. Do not create a second signed invoice or alter the first one to make a transport error disappear. If the queue looks inconsistent, preserve its state, ask the provider for a bounded recovery procedure and name one responsible operator so two people do not attempt the same recovery.

4. Track the deadline from the transaction

Link to section

Build the timeline from the original transaction, not the latest retry. As a fictional example in one fixed timezone, a transaction completed at 10:00 on 8 November reaches 24 elapsed hours at 10:00 on 9 November. An inconclusive attempt at 10:05 and an investigation at 12:00 sit on that same timeline; they do not restart the clock.

Agree an internal escalation point comfortably before the limit with your provider. That is an operational choice, not an official grace period. Assign someone to watch unresolved documents and record the next review time, and look at the oldest unresolved case before a backlog builds.

A slow-reporting discussion of 6 January 2026 contains reports from several developers seeing delays. It documents a historical incident, not today's service status, and is no standing permission to report late.

5. Investigate QR scanning as a separate question

Link to section

A developer discussion from 29 May to 15 June 2025 reports QR scanning trouble on reported B2C invoices. The thread establishes the reported symptom, not a verified universal fix. Chapter 6 of ZATCA's November 2022 guidelines covers QR construction and common encoding mistakes, and their introduction describes SDK validation of the QR structure.

Compare the stored document with the rendered invoice and identify which QR image was actually scanned. Record viewer, app version, device, time and result. Ask the developer to reproduce the symptom with fictional data and the current official validation tools before proposing a change, keep display adjustments in a test environment and preserve the original signed file. A scanning symptom alone is no reason to retransmit an accepted invoice.

6. Prepare a redacted handoff

Link to section

Give the provider a concise summary: environment label, software versions, case reference, times with timezone, attempt count, observed status, sanitised validation description and the action already taken. State whether acceptance is confirmed, rejected or unknown, and add the proposed next step and its owner.

Leave out customer details, credentials, one-time passwords, certificates and private signing material. Do not paste raw authentication headers or full invoice payloads into an ordinary support message. Close the incident only when someone has recorded the reconciled document status and explained any remaining warning or QR issue; a quiet queue alone is not the acceptance criterion.

Download incident log (TSV)UTF-8 TSV for a spreadsheet: the fields from steps 1 and 6 as columns, one blank row per incident, then notes, sources and disclaimer. Redacted template: enter no customer details, credentials, one-time passwords, certificates, private signing material, raw authentication headers or full invoice payloads. Keep the invoice reference in your restricted internal record.

Sources

Reopened 12 November 2026. The technical guideline is version 2 of November 2022 (printed page numbers); the two forum threads are historical developer reports, not official guidance. Nothing here was tested against a live Fatoora integration for this guide: it reports documented behaviour. Not tax advice.