changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "properties": {
+ "invoice": {
+ "additionalProperties": true,
+ "description": "The invoice record. Absent only on the error branch (not-found), which never carries structuredContent.",
+ "properties": {
+ "advanceApplied": {
+ "type": "number"
+ },
+ "balanceDue": {
+ "type": "number"
+ },
+ "billClientUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "clientName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "clientTag": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "type": "string"
+ },
+ "deliveryStatus": {
+ "type": "string"
+ },
+ "displayStatus": {
+ "description": "Derived: overdue is computed from status + dueDate, not stored.",
+ "enum": [
+ "open",
+ "overdue",
+ "paid",
+ "void",
+ "superseded",
+ "needs_review"
+ ],
+ "type": "string"
+ },
+ "documentUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dueDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "grandTotal": {
+ "type": "number"
+ },
+ "invoiceId": {
+ "description": "Durable invoice identity.",
+ "type": "string"
+ },
+ "invoiceNumber": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "issueDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "paidAmount": {
+ "description": "null until paid.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "paidDate": {
+ "description": "null until paid.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pdfUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reportUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "Stored status, e.g. \"open\", \"paid\", \"void\".",
+ "type": "string"
+ },
+ "subtotal": {
+ "type": "number"
+ },
+ "taxAmount": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "success"
+ ],
+ "type": "object"
+}