changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "advances_total": {
+ "description": "Sum of provisions applied, in the document currency.",
+ "type": "number"
+ },
+ "amount_due": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Gross total minus applied provisions, null when not computed."
+ },
+ "company_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Client company UUID."
+ },
+ "created_at": {
+ "description": "Creation timestamp (ISO 8601).",
+ "type": "string"
+ },
+ "created_source": {
+ "description": "Origin of the document: manual (app) or mcp (agent).",
+ "type": "string"
+ },
+ "credit_note_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Credit note UUID that cancelled this invoice."
+ },
+ "currency": {
+ "description": "ISO 4217 currency code (EUR, USD, GBP or CHF).",
+ "type": "string"
+ },
+ "delivery_channel": {
+ "description": "Delivery channel: Email, e-Invoice or Manual.",
+ "type": "string"
+ },
+ "due_date": {
+ "description": "Due date, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "gross_total": {
+ "description": "Total incl. VAT, in the document currency.",
+ "type": "number"
+ },
+ "id": {
+ "description": "Invoice UUID.",
+ "type": "string"
+ },
+ "internal_notes": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Private notes, never printed."
+ },
+ "invoice_number": {
+ "description": "Human-readable document number.",
+ "type": "string"
+ },
+ "invopop_status": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Fiscal certification status from the provider, null before issuance."
+ },
+ "issue_date": {
+ "description": "Issue date, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "matter_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Matter (dossier) UUID, null when unassigned."
+ },
+ "net_total": {
+ "description": "Total excl. VAT, in the document currency.",
+ "type": "number"
+ },
+ "note": {
+ "description": "Next-step guidance, present on preview responses.",
+ "type": "string"
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Notes printed on the document."
+ },
+ "paid_at": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Payment timestamp (ISO 8601), null while unpaid."
+ },
+ "payment_terms": {
+ "description": "Payment terms: Net-15, Net-30, Net-60, Net-90 or Due on Receipt.",
+ "type": "string"
+ },
+ "preview": {
+ "description": "True when the call was a preview (confirm omitted or false): nothing was changed.",
+ "type": "boolean"
+ },
+ "replaced_by_invoice_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Rectificative UUID when this invoice was rectified."
+ },
+ "replaces_invoice_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Original invoice UUID when this is a rectificative."
+ },
+ "sent_at": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Issue timestamp (ISO 8601), null while Draft."
+ },
+ "source_quote_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Quote UUID this invoice was converted from."
+ },
+ "status": {
+ "description": "Document status: Draft, Sent, Paid, Overdue, Cancelled, Rectified, Accepted, Rejected or Expired.",
+ "type": "string"
+ },
+ "tax_total": {
+ "description": "VAT amount, in the document currency.",
+ "type": "number"
+ },
+ "type": {
+ "description": "Document type: invoice, credit_note, provision or quote.",
+ "type": "string"
+ },
+ "updated_at": {
+ "description": "Last update timestamp (ISO 8601).",
+ "type": "string"
+ },
+ "valid_until": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Quote validity limit, YYYY-MM-DD; null for other types."
+ },
+ "vat_scenario": {
+ "description": "Fiscal scenario frozen at creation (e.g. domestic, eu_b2b_reverse_charge).",
+ "type": "string"
+ },
+ "would_cancel": {
+ "additionalProperties": false,
+ "description": "Invoice that would be cancelled (preview only).",
+ "properties": {
+ "gross_total": {
+ "description": "Total incl. VAT, in the document currency.",
+ "type": "number"
+ },
+ "id": {
+ "description": "Document UUID.",
+ "type": "string"
+ },
+ "invoice_number": {
+ "description": "Human-readable document number.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Document status: Draft, Sent, Paid, Overdue, Cancelled, Rectified, Accepted, Rejected or Expired.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "invoice_number",
+ "status",
+ "gross_total"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+}