QuickBooks: Create a bill — request body — body Txn Tax Detail
Create a bill: request body, field body / TxnTaxDetail. Complete fields and constraints for contract 2026-10-20.
API reference · Contract 2026-10-20
SDK schema: Create a bill — request body — body Txn Tax Detail
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
TaxLine | array | Optional | |
TaxLine[] | Model | Each item | Expand Create a bill — request body — body Txn Tax Detail Tax Line item |
TotalTax | JSON | Optional | Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. Decimal string |
TotalTax (anyOf 1) | number | Alternative | |
TotalTax (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?$ |
TxnTaxCodeRef | Model | Optional | Expand Create a purchase order — request body — body Ship To Reference to the transaction tax code. Query the TaxCode name list resource to determine the appropriate TaxCode object for this reference. Use TaxCode.Id and TaxCode.Name from that object for TaxCodeRef.value and TaxCodeRef.name , respectively. If specified and sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ), this element is ignored and not returned. For sales transactions, only: if automated sales tax is enabled ( Preferences.TaxPrefs.PartnerTaxEnabled is set to true ) the supplied transaction tax code is replaced by the automated sales tax engine recommendation. |
Referenced models: Create a purchase order — request body — body Ship To, Create a bill — request body — body Txn Tax Detail Tax Line item