Skip to content

QuickBooks: Create a journalentry — request body — body Line item Journal Entry Line Detail

Create a journalentry: request body, field body / Line / item / JournalEntryLineDetail. Complete fields and constraints for contract 2026-10-20.

API reference · Contract 2026-10-20

SDK schema: Create a journalentry — request body — body Line item Journal Entry Line Detail

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AccountRefModelRequired within parentExpand Create a purchase order — request body — body Ship To
Reference to the account associated with this line. Query the Account name list resource to determine the appropriate Account object for this reference, based on the side of the journal entry represented by this line. Use Account.Id and Account.Name from that object for AccountRef.value and AccountRef.name , respectively.
BillableStatusstringOptionalThe billable status of the journal entry line. The line is to be billed to a customer if the account is an expense account and EntityRef specifies a Customer object. This field is not updatable through an API request. The value automatically changes when an invoice is created. Valid values: Billable , NotBillable , HasBeenBilled
Read only: true
ClassRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Class associated with the transaction. Available if Preferences.AccountingInfoPrefs.ClassTrackingPerTxn is set to true . Query the Class name list resource to determine the appropriate Class object for this reference. Use Class.Id and Class.Name from that object for ClassRef.value and ClassRef.name , respectively.
DepartmentRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to a Department object specifying the location of the transaction. Available if Preferences.AccountingInfoPrefs.TrackDepartments is set to true . Query the Department name list resource to determine the appropriate department object for this reference. Use Department.Id and Department.Name from that object for DepartmentRef.value and DepartmentRef.name , respectively.
EntityModelOptionalExpand Create a journalentry — request body — body Line item Journal Entry Line Detail Entity
When you use Accounts Receivable , you must choose a customer in the Name field. When you use Accounts Payable , you must choose a supplier/vendor in the Name field.
Conditionally required
PostingTypestringRequired within parentIndicates whether this JournalEntry line is a debit or credit. Valid values: Credit , Debit
TaxAmountJSONOptionalTax amount of the line.
Decimal string
TaxAmount (anyOf 1)numberAlternative
TaxAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?$
TaxApplicableOnstringOptionalIndicates whether the tax applicable on the line is sales or purchase. Valid value: Sales , Purchase . Required if TaxCodeRef is specified
Conditionally required
TaxCodeRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the TaxCode for this item. 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.
TaxInclusiveAmtJSONOptionalThe total amount of the line items including tax.
Decimal string
TaxInclusiveAmt (anyOf 1)numberAlternative
TaxInclusiveAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?$

Referenced models: Create a journalentry — request body — body Line item Journal Entry Line Detail Entity, Create a purchase order — request body — body Ship To

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.