{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/UpdateSalesInvoiceRequest", "title": "UpdateSalesInvoiceRequest", "type": "object", "properties": { "sales_invoice": { "type": "object", "properties": { "date": { "type": "string", "format": "date" }, "due_date": { "type": "string", "format": "date" }, "reference": { "type": "string" }, "line_items": { "type": "array", "items": { "$ref": "#/components/schemas/LineItemInput" } } } } } }