Avalara · Schema

InvoiceRequest

Taxes

Properties

Name Type Description
invoiceType string Electronic document type
companyId string
transactionDate string
buyer object
lines array
View JSON Schema on GitHub

JSON Schema

avalara-invoicerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InvoiceRequest",
  "title": "InvoiceRequest",
  "type": "object",
  "properties": {
    "invoiceType": {
      "type": "string",
      "enum": [
        "NF-e",
        "NFS-e",
        "NFC-e",
        "CT-e"
      ],
      "description": "Electronic document type"
    },
    "companyId": {
      "type": "string"
    },
    "transactionDate": {
      "type": "string",
      "format": "date-time"
    },
    "buyer": {
      "$ref": "#/components/schemas/BrazilParty"
    },
    "lines": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/InvoiceLine"
      }
    }
  }
}