{ "company_id": "acme-corp", "invoice_id": "INV-2026-001", "invoice_line_no": "1", "customer_id": "CUST-001", "billing_contact": { "display_name": "Billing Department", "email": "billing@acme.example.com", "address1": "100 Main Street", "city": "San Francisco", "state": "CA", "zip": "94105", "country": "US" }, "customer_name": "Acme Corporation", "invoice_date": "2026-06-01", "due_date": "2026-07-01", "billing_run_id": "BRUN-2026-06", "subtotal": 2375.00, "invoice_tax": 195.72, "invoice_amount": 2570.72, "paid_amount": 0.00, "balance": 2570.72, "status": "open", "notes": "Monthly subscription invoice for June 2026", "currency": "USD", "payment_terms": "Net 30", "subscription_id": "SUB-001", "product_id": "PROD-001", "product_name": "Enterprise Platform", "plan_id": "PLAN-001", "plan_name": "Enterprise Annual", "charge_id": "CHG-001", "subscription_line_id": "SUB-001-L1", "charge_name": "Annual License Fee", "charge_type": "recurring", "description": "Enterprise Platform - Monthly Recurring", "start_date": "2026-06-01", "end_date": "2026-06-30", "list_price": 2500.00, "list_price_base": "per_period", "taxable": true, "quantity": 1.0, "discount": 5.0, "effective_price": 2375.00, "line_tax": 195.72, "invoice_pdf_url": "https://api.ordwaylabs.com/api/v1/invoices/INV-2026-001/pdf", "emailed": false, "exchange_rate": 1.0, "custom_fields": {}, "created_by": "system@ordwaylabs.com", "updated_by": "system@ordwaylabs.com", "created_date": "2026-06-01T02:00:00Z", "updated_date": "2026-06-01T02:00:00Z" }