Invoices

Report invoice to tax authority

Changed on

Report the invoice to the tax authority for processing and validation.

A PENDING status means the submission was accepted and the tax authority's verdict is still outstanding. The invoice is issued and can no longer be edited. Retrieve the invoice to read the final status. A concurrent report or retry returns HTTP 409 with code report_in_progress; refresh the document before deciding whether to retry.

post/invoices/{id}/tax-authority/report/

Request

  • Base URL
    https://api.wafeq.com/v1
  • URL
    https://api.wafeq.com/v1/invoices/{id}/tax-authority/report/
  • Auth
    API key in header Authorization

Path parameters

idstring required

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Response

reported_tsstring date-time required

When the document was reported to the tax authority.

statusstring required

The status of reporting the document to the tax authority.

Changes

    • breaking

      the response's property type changed from object to no type for status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added to the response property allOf list for the response status