Skip to content

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

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
TaxLinearrayOptional
TaxLine[]ModelEach itemExpand Create a bill — request body — body Txn Tax Detail Tax Line item
TotalTaxJSONOptionalTotal tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list.
Decimal string
TotalTax (anyOf 1)numberAlternative
TotalTax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?$
TxnTaxCodeRefModelOptionalExpand 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

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.