Avalara Developer Network Developer communications

Chapter 5.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
This object contains the tax calculation results for each line item.
summ [SummarizedTax] Summarized Taxes
This object contains the summarized taxes for the invoice.
err [Error] Error
This object contains information about any errors returned (as applicable)


Example

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