Avalara · JSON Structure

E Invoicing Document Detail Structure

DocumentDetail schema from Avalara API

Type: object Properties: 13
Taxes

DocumentDetail is a JSON Structure definition published by Avalara, describing 13 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id status dataFormat documentType invoiceNumber invoiceDate sender recipient totalAmount currencyCode countryCode submissionDate events

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-structure/e-invoicing-document-detail-structure.json",
  "description": "DocumentDetail schema from Avalara API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "dataFormat": {
      "type": "string"
    },
    "documentType": {
      "type": "string"
    },
    "invoiceNumber": {
      "type": "string"
    },
    "invoiceDate": {
      "type": "date"
    },
    "sender": {
      "$ref": "#/components/schemas/Party"
    },
    "recipient": {
      "$ref": "#/components/schemas/Party"
    },
    "totalAmount": {
      "type": "double"
    },
    "currencyCode": {
      "type": "string"
    },
    "countryCode": {
      "type": "string"
    },
    "submissionDate": {
      "type": "datetime"
    },
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DocumentEvent"
      }
    }
  },
  "name": "DocumentDetail"
}