changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "company": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Client company name, null when unknown."
+ },
+ "currency": {
+ "description": "ISO 4217 currency code (EUR, USD, GBP or CHF).",
+ "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": "Provision UUID.",
+ "type": "string"
+ },
+ "invoice_number": {
+ "description": "Provision number (PROV series).",
+ "type": "string"
+ },
+ "issue_date": {
+ "description": "Issue date, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "matter": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Matter (dossier) name, null when unknown."
+ },
+ "note": {
+ "description": "Next-step guidance, present on preview responses.",
+ "type": "string"
+ },
+ "paid_at": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Payment timestamp (ISO 8601), null while unpaid."
+ },
+ "preview": {
+ "description": "True when the call was a preview (confirm omitted or false): nothing was changed.",
+ "type": "boolean"
+ },
+ "status": {
+ "description": "Document status: Draft, Sent, Paid, Overdue, Cancelled, Rectified, Accepted, Rejected or Expired.",
+ "type": "string"
+ },
+ "would_issue_and_certify": {
+ "additionalProperties": false,
+ "description": "Provision that would be issued and certified (preview only).",
+ "properties": {
+ "company": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Client company name, null when unknown."
+ },
+ "currency": {
+ "description": "ISO 4217 currency code (EUR, USD, GBP or CHF).",
+ "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": "Provision UUID.",
+ "type": "string"
+ },
+ "invoice_number": {
+ "description": "Provision number (PROV series).",
+ "type": "string"
+ },
+ "issue_date": {
+ "description": "Issue date, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "matter": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Matter (dossier) name, null when unknown."
+ },
+ "paid_at": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Payment timestamp (ISO 8601), null while unpaid."
+ },
+ "status": {
+ "description": "Document status: Draft, Sent, Paid, Overdue, Cancelled, Rectified, Accepted, Rejected or Expired.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "invoice_number",
+ "status",
+ "matter",
+ "company",
+ "issue_date",
+ "due_date",
+ "paid_at",
+ "currency",
+ "gross_total"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+}