Commet
  • Pricing
Log InTry out
Create adjustment invoice POSTDownload invoice PDF GETGet invoice GETList invoices GETSend invoice email POSTUpdate invoice status PUT
DocumentationKnowledge BaseBuild with AIAPI ReferenceWebhooks

Download invoice PDF

Generate a signed URL to download the invoice as a PDF. The URL expires after 7 days.

GET
/invoices/{id}/download

Generate a signed URL to download the invoice as a PDF. The URL expires after 7 days.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/invoices/string/download"
{  "success": true,  "data": {    "url": "string",    "expiresAt": "2019-08-24T14:15:22Z",    "object": "invoice",    "livemode": true  }}
{  "success": false,  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "success": false,  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "success": false,  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "success": false,  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}

Create adjustment invoice POST

Create a one-off adjustment invoice. Use a negative amount for a credit.

Get invoice GET

Retrieve a single invoice by its public ID, including line items.