changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "amountPaid": {
+ "type": "number"
+ },
+ "balanceDue": {
+ "type": "number"
+ },
+ "clientName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "type": "string"
+ },
+ "dueDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "invoiceNumber": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "issueDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "lineItems": {
+ "items": {
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "description": {
+ "type": "string"
+ },
+ "quantity": {
+ "type": "number"
+ },
+ "rate": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "description",
+ "quantity",
+ "rate",
+ "amount"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "notes": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "paidAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payments": {
+ "items": {
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "method": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "paymentDate": {
+ "type": "string"
+ },
+ "reference": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "amount",
+ "paymentDate",
+ "method",
+ "reference"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "type": "string"
+ },
+ "subtotal": {
+ "type": "number"
+ },
+ "taxAmount": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "invoiceNumber",
+ "clientName",
+ "status",
+ "issueDate",
+ "dueDate",
+ "paidAt",
+ "subtotal",
+ "taxAmount",
+ "total",
+ "amountPaid",
+ "balanceDue",
+ "currency",
+ "notes",
+ "lineItems",
+ "payments"
+ ],
+ "type": "object"
+}