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.

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.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

Response Body

application/json

application/json

GET
/invoices/{id}/download

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

id*string

Invoice public ID

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