changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "Deleted invoice UUID (after confirm:true).",
+ "type": "string"
+ },
+ "note": {
+ "description": "Next-step guidance, present on preview responses.",
+ "type": "string"
+ },
+ "preview": {
+ "description": "True when the call was a preview (confirm omitted or false): nothing was changed.",
+ "type": "boolean"
+ },
+ "would_delete": {
+ "additionalProperties": false,
+ "description": "Invoice that would be deleted (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"
+}