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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
AccountRef | Model | Required within parent | Expand 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. |
BillableStatus | string | Optional | The 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 |
ClassRef | Model | Optional | Expand 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. |
DepartmentRef | Model | Optional | Expand 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. |
Entity | Model | Optional | Expand 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 |
PostingType | string | Required within parent | Indicates whether this JournalEntry line is a debit or credit. Valid values: Credit , Debit |
TaxAmount | JSON | Optional | Tax amount of the line. Decimal string |
TaxAmount (anyOf 1) | number | Alternative | |
TaxAmount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?$ |
TaxApplicableOn | string | Optional | Indicates whether the tax applicable on the line is sales or purchase. Valid value: Sales , Purchase . Required if TaxCodeRef is specified Conditionally required |
TaxCodeRef | Model | Optional | Expand 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. |
TaxInclusiveAmt | JSON | Optional | The total amount of the line items including tax. Decimal string |
TaxInclusiveAmt (anyOf 1) | number | Alternative | |
TaxInclusiveAmt (anyOf 2) | string | Alternative | Pattern: ^-?[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