Skip to main content

Beta - Create a new invoice

POST 

/invoices

warning

This endpoint is currently in beta and must be used only for gas invoices.

Creates a new invoice with the provided details. This endpoint provides a signed URL for uploading a PDF invoice.

Steps and considerations

  1. POST invoice metadata to obtain the upload URL (detailUrl field).
  2. PUT the PDF file to the returned URL (valid for 15 minutes).

Important: After creating the invoice, the PDF must be uploaded to the detailUrl returned in the response. If the PDF is not uploaded, the invoice will not be processed and will not be available to the customer.

Request

Responses

Invoice created successfully