Calculate tax for a documentCopy Pagepost https://api.instellix.io/v2/tax/calculate/documentsCalculate tax information for a specific document. For more information on tax calculation please see the model below.Body ParamsbillingGroupIdentstringrequiredlength ≥ 1Billing group ident to control billing group specific configurations. Must not be blank.customerobjectrequiredCustomer details.customer objectdocumentDateTimedate-time | nullThe date of the document. Mandatory for Avalara if not a forecast.forecastbooleanDefaults to falseTax calculation forecast.truefalseitemsarray of objectsrequiredlength ≥ 1List of line items of the document. Must not be empty. Must not be empty.items* objectextrasarray of objectsDefaults to []extrasADD objectidentstring | nullOptional identifier of the item. Must not be blank.operatingSiteobject | nullOperating site.operatingSite object | nullperformanceLocationobjectrequiredLocation details.performanceLocation objectproductInformationobjectrequiredProduct information.productInformation objecttaxDatedate-timerequiredDatetime of taxation. Must not be null.taxDetailobject | nulltaxDetail object | nulltaxExemptionobject | nullTax exemption.taxExemption object | nulltaxInformationSourcestring | nullTax information source.taxLocationobjectrequiredLocation details.taxLocation objectADD objectpropertiesarray of objects | nullDefaults to []Document properties.propertiesADD objectreferencedDocumentNumberstring | nullReference document number for credit notes.requestIdstring | nullIf forecast leave null. If not forecast mandatory.typestring | nullType of the document. Must not be null. Must be one of: INVOICECREDIT_MEMOORDERDEPOSIT_INVOICEDEPOSIT_INVOICE_CANCELLATIONCREDIT_MEMO_GOODWILLCREDIT_MEMO_WARRANTYSELF_BILLING_INVOICESELF_BILLING_INVOICE_CORRECTIONUNKNOWNvatIdValidationResultobject | nullResult of the VAT ID validation for this customer. If it is used in a request, it overwrites any VAT ID validation.vatIdValidationResult object | nullResponses 200Standard response for successful HTTP requests. 4XXerror response for all http error codes in range 4XX 5XXerror response for all http error codes in range 5XXUpdated 8 months ago