v1
latestOpenAPI 3.0.02026-08-068926279.2 KBInvoices
Create an invoice
Creates a new invoice with line items
post/invoices
Request body
Example request
{
"document_id": "INV-001"
}Response
Invoice created
Example response
{
"id": 1,
"client_id": 1,
"project_id": 1,
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"document_id": "INV-001",
"po_number": "PO-12345",
"subject": "Website Development - January",
"issue_date": "2024-01-15",
"payment_due": 30,
"due_date": "2024-02-15",
"status": "sent",
"total": 1500,
"amount_due": 1500,
"outstanding": 1500,
"company_name": "Acme Corporation",
"address": "123 Main St",
"email": "billing@acme.com",
"phone": "555-1234",
"note": "Thank you for your business!",
"online_payment": true,
"automatically_send_payment_reminders": true
}