changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "certification_error": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Last certification error message, null when none."
+ },
+ "certification_status": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Fiscal certification status (e.g. processing, certified, error), null before issuance."
+ },
+ "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": "Invoice UUID.",
+ "type": "string"
+ },
+ "invoice_number": {
+ "description": "Human-readable invoice number.",
+ "type": "string"
+ },
+ "issue_date": {
+ "description": "Issue date, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "items": {
+ "description": "Line items in display order.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "description": "Line text.",
+ "type": "string"
+ },
+ "line_total": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Line total incl. VAT, null for non-item lines."
+ },
+ "line_type": {
+ "description": "Line kind: item, section or description.",
+ "type": "string"
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Quantity, null for section/description lines."
+ },
+ "tax_rate": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "VAT rate in percent, null for non-item lines."
+ },
+ "unit_price": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Unit price excl. VAT, null for non-item lines."
+ }
+ },
+ "required": [
+ "description",
+ "line_type",
+ "quantity",
+ "unit_price",
+ "tax_rate",
+ "line_total"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "net_total": {
+ "description": "Total excl. VAT, in the document currency.",
+ "type": "number"
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Notes printed on the invoice."
+ },
+ "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"
+ },
+ "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"
+ }
+ },
+ "required": [
+ "id",
+ "invoice_number",
+ "type",
+ "status",
+ "issue_date",
+ "due_date",
+ "paid_at",
+ "currency",
+ "gross_total",
+ "company",
+ "net_total",
+ "tax_total",
+ "payment_terms",
+ "notes",
+ "certification_status",
+ "certification_error",
+ "items"
+ ],
+ "type": "object"
+}