Skip to content

QuickBooks: Create a journalentry — request body — body Line item

Create a journalentry: request body, field body / Line / item. 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

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AmountJSONRequired within parentThe amount of the line item.
Decimal string
Amount (anyOf 1)numberAlternative
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?$
CustomExtensionsModelOptionalExpand Create an item — request body — body Custom Extensions
Array of custom extension objects that associate additional attributes with the line. The ExtensionType field specifies the type of extension. The currently supported value is DIMENSION . The AssociatedValues array contains key/value pairs referencing Dimensions DefinitionID/Dimension ValueID. Multiple key/value pairs per extension type are supported. This field is designed to support additional extension types in the future. Dimensions is available for Intuit Enterprise Suite.
DescriptionstringOptionalFree form text description of the line item that appears in the printed record.
DetailTypestringRequired within parentSet to JournalEntryLineDetail for this type of line.
IdstringOptionalThe Id of the line item. In requests, if Id matches that for an existing line in the transaction the line is updated. Otherwise, a new line is created. Integer as string.
Read only: true
JournalEntryLineDetailModelRequired within parentExpand Create a journalentry — request body — body Line item Journal Entry Line Detail
LineNumJSONOptionalSpecifies the position of the line in the collection of transaction lines. Positive integer
Decimal string
LineNum (anyOf 1)numberAlternative
LineNum (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?$
ProjectRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Project ID associated with this transaction.
Conditionally required

Referenced models: Create an item — request body — body Custom Extensions, Create a journalentry — request body — body Line item Journal Entry Line Detail, 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.