Avalara · Schema

InvoiceRequest

InvoiceRequest schema from Avalara API

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

avatax-brazil-invoice-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-schema/avatax-brazil-invoice-request-schema.json",
  "title": "InvoiceRequest",
  "description": "InvoiceRequest schema from Avalara API",
  "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"
      }
    }
  }
}