changedInput schema / properties / operation / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "contactId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "currencyId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "entryDate": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "kind": {
- "const": "create_bill",
- "type": "string"
- },
- "lines": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "amount": {
- "maximum": 10000000000,
- "minimum": 0,
- "type": "number"
- },
- "description": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "taxRateId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- }
- },
- "required": [
- "accountId",
- "taxRateId",
- "description",
- "amount"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array"
- },
- "receiptId": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "suppliersInvoiceNo": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "taxMode": {
- "enum": [
- "incl",
- "excl"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "receiptId",
- "contactId",
- "entryDate",
- "currencyId",
- "suppliersInvoiceNo",
- "taxMode",
- "lines"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bankLineId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "daybookId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "description": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "entryDate": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "kind": {
- "const": "create_journal",
- "type": "string"
- },
- "lines": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "amount": {
- "maximum": 10000000000,
- "minimum": 0,
- "type": "number"
- },
- "currencyId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "side": {
- "enum": [
- "debit",
- "credit"
- ],
- "type": "string"
- },
- "taxRateId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "text": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "accountId",
- "text",
- "amount",
- "side",
- "currencyId"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "minItems": 2,
- "type": "array"
- },
- "noReceiptReason": {
- "maxLength": 1000,
- "minLength": 10,
- "type": "string"
- },
- "receiptId": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "daybookId",
- "entryDate",
- "description",
- "lines"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bankLineId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "cashAccountId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "cashAmount": {
- "maximum": 10000000000,
- "minimum": 0,
- "type": "number"
- },
- "cashExchangeRate": {
- "exclusiveMinimum": 0,
- "maximum": 100000000,
- "type": "number"
- },
- "cashSide": {
- "enum": [
- "debit",
- "credit"
- ],
- "type": "string"
- },
- "entryDate": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "kind": {
- "const": "create_payment",
- "type": "string"
- },
- "subjectAmount": {
- "maximum": 10000000000,
- "minimum": 0,
- "type": "number"
- },
- "subjectCurrencyId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "subjectReference": {
- "pattern": "^(bill|invoice):[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "entryDate",
- "cashAmount",
- "cashSide",
- "cashAccountId",
- "bankLineId",
- "subjectReference"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "kind": {
- "const": "approve",
- "type": "string"
- },
- "resource": {
- "enum": [
- "bills",
- "invoices",
- "daybookTransactions"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "resource",
- "id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "upload_receipt",
- "type": "string"
- },
- "receiptId": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "receiptId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "countryId": {
- "pattern": "^[A-Z]{2}$",
- "type": "string"
- },
- "email": {
- "format": "email",
- "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
- "type": "string"
- },
- "isCustomer": {
- "type": "boolean"
- },
- "isSupplier": {
- "type": "boolean"
- },
- "kind": {
- "const": "create_contact",
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "registrationNo": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "name",
- "countryId",
- "isSupplier",
- "isCustomer"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bankLineId": {
- "pattern": "^[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- },
- "kind": {
- "const": "reconcile",
- "type": "string"
- },
- "subjectReference": {
- "pattern": "^(invoice|bill|posting|daybookTransaction|bankPayment):[A-Za-z0-9_-]{1,160}$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "bankLineId",
- "subjectReference"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contactId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "currencyId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "entryDate": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "create_bill",
+ "type": "string"
+ },
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "amount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "description": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "taxRateId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "accountId",
+ "taxRateId",
+ "description",
+ "amount"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "receiptId": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "suppliersInvoiceNo": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "taxMode": {
+ "enum": [
+ "incl",
+ "excl"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "receiptId",
+ "contactId",
+ "entryDate",
+ "currencyId",
+ "suppliersInvoiceNo",
+ "taxMode",
+ "lines"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bankLineId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "daybookId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "description": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "entryDate": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "create_journal",
+ "type": "string"
+ },
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "amount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currencyId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "side": {
+ "enum": [
+ "debit",
+ "credit"
+ ],
+ "type": "string"
+ },
+ "taxRateId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "accountId",
+ "text",
+ "amount",
+ "side",
+ "currencyId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 2,
+ "type": "array"
+ },
+ "noReceiptReason": {
+ "maxLength": 1000,
+ "minLength": 10,
+ "type": "string"
+ },
+ "receiptId": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "daybookId",
+ "entryDate",
+ "description",
+ "lines"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bankLineId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "cashAccountId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "cashAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "cashExchangeRate": {
+ "exclusiveMinimum": 0,
+ "maximum": 100000000,
+ "type": "number"
+ },
+ "cashSide": {
+ "enum": [
+ "debit",
+ "credit"
+ ],
+ "type": "string"
+ },
+ "entryDate": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "feeAccountId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "feeAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "kind": {
+ "const": "create_payment",
+ "type": "string"
+ },
+ "subjectAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "subjectCurrencyId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "subjectReference": {
+ "pattern": "^(bill|invoice):[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "entryDate",
+ "cashAmount",
+ "cashSide",
+ "cashAccountId",
+ "bankLineId",
+ "subjectReference"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "approve",
+ "type": "string"
+ },
+ "resource": {
+ "enum": [
+ "bills",
+ "invoices",
+ "daybookTransactions"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "resource",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "upload_receipt",
+ "type": "string"
+ },
+ "receiptId": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "receiptId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "countryId": {
+ "pattern": "^[A-Z]{2}$",
+ "type": "string"
+ },
+ "email": {
+ "format": "email",
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
+ "type": "string"
+ },
+ "isCustomer": {
+ "type": "boolean"
+ },
+ "isSupplier": {
+ "type": "boolean"
+ },
+ "kind": {
+ "const": "create_contact",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "registrationNo": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "countryId",
+ "isSupplier",
+ "isCustomer"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bankLineId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "reconcile",
+ "type": "string"
+ },
+ "subjectReference": {
+ "pattern": "^(invoice|bill|posting|daybookTransaction|bankPayment):[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "bankLineId",
+ "subjectReference"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contactId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "contactMessage": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "currencyId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "entryDate": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "expectedNetAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "expectedTaxAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "expectedTotalAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "kind": {
+ "const": "create_sales_invoice",
+ "type": "string"
+ },
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "expectedTaxRateId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "productId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "quantity": {
+ "exclusiveMinimum": 0,
+ "maximum": 100000000,
+ "type": "number"
+ },
+ "salesTaxRulesetId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "unitPrice": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "productId",
+ "salesTaxRulesetId",
+ "expectedTaxRateId",
+ "quantity",
+ "unitPrice"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "taxMode": {
+ "enum": [
+ "incl",
+ "excl"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "contactId",
+ "entryDate",
+ "currencyId",
+ "taxMode",
+ "lines",
+ "expectedNetAmount",
+ "expectedTaxAmount",
+ "expectedTotalAmount"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contactMessage": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "expectedNetAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "expectedTaxAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "expectedTotalAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "id": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "update_draft_invoice",
+ "type": "string"
+ },
+ "paymentTermsDays": {
+ "description": "Net days from invoice entryDate; sets paymentTermsMode to net and verifies the computed dueDate",
+ "maximum": 3650,
+ "minimum": -365,
+ "type": "integer"
+ },
+ "taxMode": {
+ "enum": [
+ "incl",
+ "excl"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "id",
+ "expectedNetAmount",
+ "expectedTaxAmount",
+ "expectedTotalAmount"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contactPersonId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "emailBody": {
+ "maxLength": 10000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "emailSubject": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "send_invoice",
+ "type": "string"
+ },
+ "recipientEmail": {
+ "format": "email",
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "id",
+ "contactPersonId",
+ "recipientEmail",
+ "emailSubject",
+ "emailBody"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "entryDate": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "expectedNetAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "expectedTaxAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "expectedTotalAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "kind": {
+ "const": "create_customer_credit_note",
+ "type": "string"
+ },
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "expectedTaxRateId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "originalLineId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "productId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "quantity": {
+ "exclusiveMinimum": 0,
+ "maximum": 100000000,
+ "type": "number"
+ },
+ "salesTaxRulesetId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "unitPrice": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "productId",
+ "salesTaxRulesetId",
+ "expectedTaxRateId",
+ "quantity",
+ "unitPrice",
+ "originalLineId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "originalInvoiceId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "originalInvoiceId",
+ "entryDate",
+ "lines",
+ "expectedNetAmount",
+ "expectedTaxAmount",
+ "expectedTotalAmount"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "entryDate": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "expectedNetAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "expectedTaxAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "expectedTotalAmount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "kind": {
+ "const": "create_supplier_credit_note",
+ "type": "string"
+ },
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "amount": {
+ "maximum": 10000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "description": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "originalLineId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "taxRateId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "originalLineId",
+ "accountId",
+ "taxRateId",
+ "description",
+ "amount"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "originalBillId": {
+ "pattern": "^[A-Za-z0-9_-]{1,160}$",
+ "type": "string"
+ },
+ "receiptId": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "receiptId",
+ "originalBillId",
+ "entryDate",
+ "lines",
+ "expectedNetAmount",
+ "expectedTaxAmount",
+ "expectedTotalAmount"
+ ],
+ "type": "object"
+ }
+]