addedOutput schema / properties / invoice / anyOf
Added value: +[
+ {
+ "properties": {
+ "cancelledAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "clientAddress": {
+ "type": "string"
+ },
+ "clientEmail": {
+ "type": "string"
+ },
+ "clientId": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "clientName": {
+ "type": "string"
+ },
+ "clientPhone": {
+ "type": "string"
+ },
+ "companyId": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "createdAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "discountAmountCents": {
+ "type": "string"
+ },
+ "discountTotalCents": {
+ "type": "string"
+ },
+ "discountType": {
+ "enum": [
+ "DISCOUNT_TYPE_UNSPECIFIED",
+ "DISCOUNT_TYPE_PERCENTAGE",
+ "DISCOUNT_TYPE_FIXED"
+ ],
+ "type": "string"
+ },
+ "discountValueBps": {
+ "type": "integer"
+ },
+ "dueDate": {
+ "type": "string"
+ },
+ "id": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "invoiceNumber": {
+ "type": "string"
+ },
+ "issueDate": {
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "properties": {
+ "amountCents": {
+ "type": "string"
+ },
+ "createdAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "invoiceId": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quantity": {
+ "type": "string"
+ },
+ "sortOrder": {
+ "type": "integer"
+ },
+ "unitPriceCents": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "notes": {
+ "type": "string"
+ },
+ "paidAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "paymentTerms": {
+ "enum": [
+ "PAYMENT_TERMS_UNSPECIFIED",
+ "PAYMENT_TERMS_DUE_ON_RECEIPT",
+ "PAYMENT_TERMS_NET_7",
+ "PAYMENT_TERMS_NET_15",
+ "PAYMENT_TERMS_NET_30",
+ "PAYMENT_TERMS_NET_60",
+ "PAYMENT_TERMS_CUSTOM"
+ ],
+ "type": "string"
+ },
+ "sentAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "INVOICE_STATUS_UNSPECIFIED",
+ "INVOICE_STATUS_DRAFT",
+ "INVOICE_STATUS_SENT",
+ "INVOICE_STATUS_VIEWED",
+ "INVOICE_STATUS_PAID",
+ "INVOICE_STATUS_CANCELLED"
+ ],
+ "type": "string"
+ },
+ "subtotalCents": {
+ "type": "string"
+ },
+ "taxAmountCents": {
+ "type": "string"
+ },
+ "taxRateBps": {
+ "type": "integer"
+ },
+ "totalCents": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "viewedAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "companyId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
removedOutput schema / properties / invoice / properties
Removed value: -{
- "cancelledAt": {
- "format": "date-time",
- "type": "string"
- },
- "clientAddress": {
- "type": "string"
- },
- "clientEmail": {
- "type": "string"
- },
- "clientId": {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- "clientName": {
- "type": "string"
- },
- "clientPhone": {
- "type": "string"
- },
- "companyId": {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- "createdAt": {
- "format": "date-time",
- "type": "string"
- },
- "discountAmountCents": {
- "type": "string"
- },
- "discountTotalCents": {
- "type": "string"
- },
- "discountType": {
- "enum": [
- "DISCOUNT_TYPE_UNSPECIFIED",
- "DISCOUNT_TYPE_PERCENTAGE",
- "DISCOUNT_TYPE_FIXED"
- ],
- "type": "string"
- },
- "discountValueBps": {
- "type": "integer"
- },
- "dueDate": {
- "type": "string"
- },
- "id": {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- "invoiceNumber": {
- "type": "string"
- },
- "issueDate": {
- "type": "string"
- },
- "items": {
- "items": {
- "properties": {
- "amountCents": {
- "type": "string"
- },
- "createdAt": {
- "format": "date-time",
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "id": {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- "invoiceId": {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- "quantity": {
- "type": "string"
- },
- "sortOrder": {
- "type": "integer"
- },
- "unitPriceCents": {
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "notes": {
- "type": "string"
- },
- "paidAt": {
- "format": "date-time",
- "type": "string"
- },
- "paymentTerms": {
- "enum": [
- "PAYMENT_TERMS_UNSPECIFIED",
- "PAYMENT_TERMS_DUE_ON_RECEIPT",
- "PAYMENT_TERMS_NET_7",
- "PAYMENT_TERMS_NET_15",
- "PAYMENT_TERMS_NET_30",
- "PAYMENT_TERMS_NET_60",
- "PAYMENT_TERMS_CUSTOM"
- ],
- "type": "string"
- },
- "sentAt": {
- "format": "date-time",
- "type": "string"
- },
- "status": {
- "enum": [
- "INVOICE_STATUS_UNSPECIFIED",
- "INVOICE_STATUS_DRAFT",
- "INVOICE_STATUS_SENT",
- "INVOICE_STATUS_VIEWED",
- "INVOICE_STATUS_PAID",
- "INVOICE_STATUS_CANCELLED"
- ],
- "type": "string"
- },
- "subtotalCents": {
- "type": "string"
- },
- "taxAmountCents": {
- "type": "string"
- },
- "taxRateBps": {
- "type": "integer"
- },
- "totalCents": {
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "type": "string"
- },
- "viewedAt": {
- "format": "date-time",
- "type": "string"
- }
-}