Avalara · Schema

VATTransaction

Taxes

Properties

Name Type Description
transactionId string
transactionDate string
transactionType string
invoiceNumber string
supplierVATNumber string
customerVATNumber string
countryCode string
netAmount number
vatRate number
vatAmount number
currency string
View JSON Schema on GitHub

JSON Schema

avalara-vattransaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VATTransaction",
  "title": "VATTransaction",
  "type": "object",
  "properties": {
    "transactionId": {
      "type": "string"
    },
    "transactionDate": {
      "type": "string",
      "format": "date"
    },
    "transactionType": {
      "type": "string",
      "enum": [
        "Sale",
        "Purchase",
        "IntraCommunitySupply",
        "IntraCommunityAcquisition",
        "Export",
        "Import"
      ]
    },
    "invoiceNumber": {
      "type": "string"
    },
    "supplierVATNumber": {
      "type": "string"
    },
    "customerVATNumber": {
      "type": "string"
    },
    "countryCode": {
      "type": "string"
    },
    "netAmount": {
      "type": "number",
      "format": "double"
    },
    "vatRate": {
      "type": "number",
      "format": "double"
    },
    "vatAmount": {
      "type": "number",
      "format": "double"
    },
    "currency": {
      "type": "string"
    }
  }
}