Avalara Developer Network Developer communications

Chapter 5.1.15 - Invoice Result

Invoice Result

The InvoiceResult object contains the tax calculation results for each invoice submitted in the CalcTaxes request:

Key Value
doc [string] Document Code
The Document Code for the invoice
itms [LineItemResult] Line Item Results
Contains the tax calculation results for each line item
summ [SummarizedTax] Summarized Taxes
Contains the summarized taxes for the invoice
err [Error] Error
Contains information about any errors returned (as applicable)


Example

"inv": [
  {
    "doc": "DocumentCode12345",
    "itms": [
      {
        // Line Item Result
      }
    ],
    "summ": [
      {
        // Summarized Tax
      }
    ],
    "err": [
      {
        // Error
      }
    ]
  }
]