cURL
curl --request POST \ --url https://api.getenso.ai/invoices/{id}/send \ --header 'Authorization: Bearer <token>'
{ "status": "<string>", "message": "<string>", "data": { "id": "<string>", "number": "<string>", "date": "2023-11-07T05:31:56Z", "fromDate": "2023-11-07T05:31:56Z", "toDate": "2023-11-07T05:31:56Z", "status": "<string>", "data": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "deletedAt": "2023-11-07T05:31:56Z", "OrganisationId": "<string>", "ContractPlanId": "<string>" } }
Send an invoice to the customer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the invoice to be sent
Invoice sent successfully
Status of the response
Success message
The sent invoice object
Show child attributes