Skip to content

Mark Invoice as Paid

Request

Accepts a JSON payload to Set Invoice as Paid.

Security
PublicApiKey
Bodyapplication/jsonrequired
documentIdstringrequired

The unique identifier of the invoice document.

Example:"6787a98e15306d37eed688a8"
documentNumberstringrequired

The number of the document.

Example:"12322"
issueDatestring, (date-time)required

The date when the invoice was issued.

Example:"2023-10-01T12:00:00Z"
senderVatNumberstringrequired

The VAT number of the sender.

Example:"12345678910"
receiverVatNumberstringrequired

The VAT number of the receiver.

Example:"09876543210"
paidDatestring, (date-time)required

The date when the invoice was paid.

Example:"2023-10-02T12:00:00Z"
paidAmountstringrequired

The amount that was paid for the invoice.

Example:"210.00"
paymentMethodstring

The method used for the payment.

Example:"T|O|Z"
curl -i -X POST \
  https://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/paid \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "documentId": "6787a98e15306d37eed688a8",
    "documentNumber": "12322",
    "issueDate": "2023-10-01T12:00:00Z",
    "senderVatNumber": "12345678910",
    "receiverVatNumber": "09876543210",
    "paidDate": "2023-10-02T12:00:00Z",
    "paidAmount": "210.00",
    "paymentMethod": "T|O|Z"
  }'

Responses

Document mark as paid successfully.

Bodyapplication/json
statusCodeintegerrequired

Http status code of the response.

Example:200
resultMessagestringrequired

Result message.

Example:"Invoice marked as paid successfully."
paymentReportStatusstring

Status of payment report processing.

Example:"IN PROCESS"
paymentReportMessagestring

Payment report processing message.

Example:"Payment report request received and queued for fiscal submission."
internalRequestIdstring

Internal request ID for tracking the payment report.

Example:"id-abc123-xyz789"
Response
{ "statusCode": 200, "resultMessage": "Invoice marked as paid successfully.", "paymentReportStatus": "IN PROCESS", "paymentReportMessage": "Payment report request received and queued for fiscal submission.", "internalRequestId": "id-abc123-xyz789" }