{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "Invoice",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string"
    },
    "SyncToken": {
      "type": "string"
    },
    "DocNumber": {
      "type": "string"
    },
    "TxnDate": {
      "type": "string"
    },
    "DueDate": {
      "type": "string"
    },
    "PrivateNote": {
      "type": "string"
    },
    "CustomerMemo": {
      "type": "object"
    },
    "Line": {
      "type": "array"
    },
    "TotalAmt": {
      "type": "number"
    },
    "Balance": {
      "type": "number"
    },
    "Deposit": {
      "type": "number"
    },
    "ExchangeRate": {
      "type": "number"
    },
    "ShipDate": {
      "type": "string"
    },
    "TrackingNum": {
      "type": "string"
    },
    "ApplyTaxAfterDiscount": {
      "type": "boolean"
    },
    "PrintStatus": {
      "type": "string"
    },
    "EmailStatus": {
      "type": "string"
    },
    "GlobalTaxCalculation": {
      "type": "string"
    },
    "AllowOnlinePayment": {
      "type": "boolean"
    },
    "AllowOnlineCreditCardPayment": {
      "type": "boolean"
    },
    "AllowOnlineACHPayment": {
      "type": "boolean"
    },
    "CustomField": {
      "type": "array"
    },
    "LinkedTxn": {
      "type": "array"
    },
    "domain": {
      "type": "string"
    },
    "sparse": {
      "type": "boolean"
    }
  }
}