curl --request POST \
--url https://thirdparty.qonto.com/v2/client_invoices/{id}/mark_as_paid \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"paid_at": "2024-12-15"
}
'Mark a client invoice as paid
OAuth scope: client_invoice.write
Marks a client invoice as paid by updating its status from unpaid to paid.
Requirements:
- The invoice must exist and be accessible to the authenticated organization
- The invoice status should be
unpaidfor this operation to be meaningful - The
paid_atdate cannot be in the future. If not filled, by default the current date is used.
If the invoice is already paid, you can still use this endpoint to update the paid_at date.
curl --request POST \
--url https://thirdparty.qonto.com/v2/client_invoices/{id}/mark_as_paid \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"paid_at": "2024-12-15"
}
'Authorizations
Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.
Headers
Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.
Path Parameters
UUID of the client invoice to mark as paid.
"e3d68a1a-b23f-496a-a9a2-815089337720"
Body
The date when the invoice was paid. Must be in YYYY-MM-DD format and cannot be in the future. If not filled, by default the current date is used.
"2024-12-15"
Response
Invoice successfully marked as paid. Returns the updated invoice.
Show child attributes
Show child attributes
Was this page helpful?