cURL
curl --request POST \ --url https://api.example.com/api/v1/invoices \ --header 'Content-Type: application/json' \ --data ' { "customer_id": "<string>", "currency": "<string>", "due_date": "<string>", "line_items": [ {} ], "subscription_id": "<string>" } '
{ "id": "...", "invoice_number": "INV-2025-0055", "status": "DRAFT", "currency": "USD", "subtotal": 500.00, "tax": 90.00, "total": 590.00, "amount_due": 590.00, "line_items": [ { "description": "Setup fee", "quantity": 1, "unit_amount": 500.00, "line_total": 500.00 } ] }
Create a manual invoice with custom line items.
description
quantity
unit_amount
billing_address_country
Was this page helpful?