{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "PurchaseInvoice",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "number": {
      "type": "string"
    },
    "invoiceDate": {
      "type": "string"
    },
    "postingDate": {
      "type": "string"
    },
    "dueDate": {
      "type": "string"
    },
    "vendorId": {
      "type": "string"
    },
    "vendorNumber": {
      "type": "string"
    },
    "vendorName": {
      "type": "string"
    },
    "currencyCode": {
      "type": "string"
    },
    "pricesIncludeTax": {
      "type": "boolean"
    },
    "totalAmountExcludingTax": {
      "type": "number"
    },
    "totalTaxAmount": {
      "type": "number"
    },
    "totalAmountIncludingTax": {
      "type": "number"
    },
    "status": {
      "type": "string"
    },
    "lastModifiedDateTime": {
      "type": "string"
    }
  }
}