{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "AccountingInvoice Structure", "description": "JSON Structure for AccountingInvoice from Unified.to API", "structure": { "type": "object", "properties": { "id": { "type": "string" }, "created_at": { "type": "string" }, "updated_at": { "type": "string" }, "due_at": { "type": "string" }, "paid_at": { "type": "string" }, "refunded_at": { "type": "string" }, "cancelled_at": { "type": "string" }, "posted_at": { "type": "string" }, "total_amount": { "type": "number" }, "paid_amount": { "type": "number" }, "refund_amount": { "type": "number" }, "tax_amount": { "type": "number" }, "discount_amount": { "type": "number" }, "balance_amount": { "type": "number" }, "invoice_number": { "type": "string" }, "reference": { "type": "string" }, "contact_id": { "type": "string" }, "currency": { "type": "string" }, "notes": { "type": "string" }, "refund_reason": { "type": "string" } } } }