List a document's reports to the FTA

List the reports filed with the FTA for a document, oldest first, each with the FTA's answer.

invoice_id in the path is the document's document_id. For each document,
Wafeq files a report with the FTA (the tax data document), and may later file a
replacement (R) or a withdrawal (W) of it; all of them are listed here, with
their own outcomes. A replacement report belongs to the same document, while a
corrected document sent again has its own document_id and its own reports.
A filing whose status is sent is waiting for the FTA's answer: it isn't
accepted yet.

Works for invoices and credit notes, also after the taxpayer is deregistered and
without an active subscription. Answers 404 when the document doesn't exist or
belongs to another taxpayer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Query Params
integer
1 to 200
Defaults to 50

How many filings to return: 1 to 200. Defaults to 50.

integer
≥ 0
Defaults to 0

How many filings to skip, for paging.

Headers
string
required

Taxpayer ID (txpay_…) that granted the authenticated organization access. Optional with a taxpayer access token.

string | null
string | null

Grant ID (tgr_…) to act through, with an organization API key. The request then has exactly that grant's scopes and fails once the grant is revoked. Without it, the key acts through all of the organization's active grants on the taxpayer.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json