Create standalone invoice
Create a one-off invoice for a customer without a subscription.
Documentation Index
Fetch the complete documentation index at: https://docs.salesbricks.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication
Body
Input serializer for POST /api/v2/invoices.
The unique identifier of the customer to whom the invoice is being sent
The date on which the invoice is due
Optional currency to be used for the subscription. Defaults to USD.
USD- United States DollarEUR- EurosGBP- Great British PoundAUD- Australian DollarCAD- Canadian DollarINR- Indian Rupee
USD, EUR, GBP, AUD, CAD, INR The line items to be included on the invoice
List of accounts payable contact emails for the invoice
The date on which this invoice was issued. Defaults to today.
Optional memo or notes to be included on the invoice
2000Optional purchase order number to be included on the invoice
Whether to send the invoice to the customer after creating it
PDF files to attach to the invoice
Configuration for managing attachments. Each item specifies a new file to add (by new_file_index) or a terms document to attach (by terms_document_id). The order in this array determines the unified order of attachments in the PDF. If omitted, pdf_attachments are attached in upload order.
('Decides wether to charge when this invoice is issued or when it is due if auto-pay is enabled. ', 'ISSUE_DATE - Charge when the invoice is issued. ', 'DUE_DATE - Charge when the invoice is due if auto-pay is enabled.')
ISSUE_DATE- Charge on issue dateDUE_DATE- Charge on due dateORDER_FORM_ONLY_DUE_DATE- Charge on due date (order form only)
ISSUE_DATE, DUE_DATE, ORDER_FORM_ONLY_DUE_DATE, , null ('Whether to enable auto pay when the invoice is generated. This gives ability to auto-charge the ', "invoice when there's a saved payment method to be used. Defaults to False.")
Whether to enable automatic retries for failed payments. When enabled, failed invoice payments will be retried using saved payment methods. Defaults to False.
Optional adjustments to be included on the invoice
Optional service period start date. Defaults to today's date if not provided.
Optional service period end date. Defaults to today's date + 1 month if not provided.
Response
Response serializer for POST /api/v2/invoices.
The unique identifier of the created invoice
Short form identifier for the invoice.
The total amount to be charged for this invoice.
The currency in which the invoice is denominated (e.g., USD, EUR).
Current status of the invoice (e.g., PENDING, PAID, MUTED).
The date on which this invoice is expected to be paid by.