> ## Documentation Index
> Fetch the complete documentation index at: https://help.kwentra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ZATCA Status Screen: Date Range, Export and Clear Errors

> Find invoices ZATCA did not accept. Search a date range, open the folio, read clear errors and export the data.

Find invoices ZATCA did not accept, see why, and open the folio in one click.

> [accordion] Business Value
>
> * Shows problem invoices in red, so you spot them at once.
> * Shows statuses as plain words, not system codes.
> * Lists errors in a clear order, one per line.
> * Opens the folio from the row in a new tab.
> * Searches a whole VAT month in one go.

> [accordion] Use Cases
>
> * An accountant searches one month and checks every red row before the VAT return.
> * A front office manager opens the folio of a Not Cleared invoice and fixes the company details.
> * A finance manager exports the month to review it outside kwentra.

### **How It Works**

| **Where:** Settings → Integrations → ZATCA → Status |
| - |

Before, the screen showed one day at a time. Statuses were system codes, and each row had a long block of invoice XML. The screen now works like the [ETA Status screen](https://help.kwentra.com/compliance-integrations/eta-status-screen-enhancements.md) for Egyptian hotels.

#### **Search a Date Range**

* The single **Date** filter is now **From** and **To**.
* Both dates start on the audit date. Both are required.
* The screen lists the rows whose **Submission Date/Time** falls in the range. Both dates are included.

The other filters and paging do not change.

#### **The Columns**

| Column | What it shows |
| - | - |
| Folio | An icon. Click it to open the folio in Front Office → Folios, in a new tab. It works for FO and AR rows. |
| Folio Number | The folio number. |
| Folio Date/Time | The date and time of the folio. |
| Submission Date/Time | When this send was recorded. It replaces the old Date/Time column. |
| Recipient | The buyer's registered name on the invoice sent to ZATCA. |
| Total Gross Amount | The invoice total with VAT, as sent to ZATCA. |
| Total Net Amount | The invoice total without VAT, as sent to ZATCA. |
| Total VAT | The VAT total on the invoice, as sent to ZATCA. |
| Arrival Date | The reservation's arrival date. For a paymaster folio, the paymaster's start date. |
| Module | **FO** (Front Office) or **AR** (Receivables). |
| Invoice Type | **Invoice**, **Credit Note** or **Debit Note**. |
| Parent Type | **Simplified** (guest, B2C) or **Tax** (company, B2B). |
| Status | The ZATCA result. See below. |
| Reference | For a credit or debit note, the folio number of the original invoice. Empty for an invoice. |
| Error | The reason for a Failed, Not Reported or Not Cleared row. |

The three amounts mean the same as in the [ZATCA Export report](https://help.kwentra.com/compliance-integrations/zatca-export-report-multi-property-view.md).

| **Note:** The **Invoice** column with the invoice XML is removed from the screen. |
| - |

#### **Statuses in Plain Words**

The **Status** column uses the same words as the Status filter:

* **Pending**
* **Failed**
* **Reported** or **Not Reported**, for Simplified invoices
* **Cleared** or **Not Cleared**, for Tax invoices

**Failed**, **Not Reported** and **Not Cleared** show in red. The others show in the normal colour. See what each status means in [Invoice Statuses](https://help.kwentra.com/compliance-integrations/kwentra-zatca-for-saudi-arabia-invoice-and-financial-operations.md#invoice-statuses).

#### **Clear Error Text**

The **Error** column is cleaned and put in order.

For a **Failed** row with a ZATCA validation result:

1. The overall result comes first: **FAILED** or **PASSED**.
2. Then **Errors**, then **Warnings**.
3. Then **Info**, with the result of each check.
4. Each error or warning has its own line, as `CODE — message`.

For example:

```text theme={null}
VALIDATION RESULT: FAILED

Errors
- BR-16 — An Invoice shall have at least one Invoice line (BG-25).
- BR-CO-18 — An Invoice shall have at least one VAT breakdown group (BG-23).

Warnings
- BR-KSA-EN16931-08 — Only one tax total (BG-22) with tax subtotals must be provided.

Info
- XSD validation: FAILED
- EN validation: FAILED
- KSA validation: PASSED
- QR validation: PASSED
- SIGNATURE validation: PASSED
- PIH validation: PASSED
```

For a **Not Reported** or **Not Cleared** row, you now see ZATCA's own reply. Before, it was a fixed sentence about a bad request. The reply shows **Errors**, then **Warnings**, one line each.

Network, login and server errors show as before.

#### **Export**

1. Set **From** and **To**.
2. Click **Export** above the grid.
3. A confirmation shows when the file is downloaded.

* The file is the ZATCA Export file. It has the same columns as the ZATCA Export report.
* It covers the whole date range on the screen.
* The Status, Module, Invoice Type and Folio filters do not change the file.
* The range can be one year at most.
* You need the permission to run the ZATCA Export report.

#### **What Does Not Change**

* There are no Exclude, Include, Cancel or Retry actions on this screen.
* The ZATCA Logs screen is the same.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.