CData Python Connector for QuickBooks Online

Build 24.0.9062

JournalEntryLineItems

Create, update, delete, and query QuickBooks Journal Entry Line Items.

Table Specific Information

JournalEntries may be inserted, queried, or updated via the JournalEntries or JournalEntryLineItems tables. JournalEntries may be deleted by using the JournalEntries table.

Select

All filterable columns support the following operators:

  • =
  • !=
  • >=
  • <=
  • >
  • <
  • IN
  • LIKE
  • CONTAINS

The driver processes other filters client-side within the driver.

Insert

To add a JournalEntry, there must be at least one credit line and at least one debit line where the total of the debit and credit lines are equal to each other. The following shows an example of inserting multiple JournalEntries, each with a single line. To insert a JournalEntry with multiple lines, see the example on the JournalEntries table.

INSERT INTO JournalEntryLineItems#TEMP (Line_DetailType, Line_JournalEntryLineDetail_PostingType, Line_JournalEntryLineDetail_Entity_Type, Line_JournalEntryLineDetail_Entity_EntityRef, Line_JournalEntryLineDetail_AccountRef, Line_Amount) VALUES ('JournalEntryLineDetail', 'Debit', 'Customer', '24', '33', 0.02)
INSERT INTO JournalEntryLineItems#TEMP (Line_DetailType, Line_JournalEntryLineDetail_PostingType, Line_JournalEntryLineDetail_AccountRef, Line_Amount) VALUES ('JournalEntryLineDetail', 'Credit', '14', 0.02)
INSERT INTO JournalEntryLineItems (Line_DetailType, Line_JournalEntryLineDetail_PostingType, Line_JournalEntryLineDetail_Entity_Type, Line_JournalEntryLineDetail_Entity_EntityRef, Line_JournalEntryLineDetail_AccountRef, Line_Amount, Line_JournalEntryLineDetail_AccountRef) SELECT Line_DetailType, Line_JournalEntryLineDetail_PostingType, Line_JournalEntryLineDetail_Entity_Type, Line_JournalEntryLineDetail_Entity_EntityRef, Line_JournalEntryLineDetail_AccountRef, Line_Amount, Line_JournalEntryLineDetail_AccountRef FROM JournalEntryLineItems#TEMP

Columns

Name Type ReadOnly References Filterable Sortable Description
LineId [KEY] String True False False

The Id of the line item of the journal entry.

JournalEntryId [KEY] String False

JournalEntries.Id

True True

The Id of the journal entry.

SyncToken String True False False

Version number of the object. It is used to lock an object for use by one app at a time. As soon as an application modifies an object, its SyncToken is incremented. Attempts to modify an object specifying an older SyncToken fails. Only the latest version of the object is maintained by QuickBooks Online.

MetaData_CreateTime Datetime True True True

The time the record was created.

MetaData_LastUpdatedTime Datetime True True True

The time the record was last updated.

DocNumber String False True True

Reference number for the transaction.

TxnDate Date False True True

The date entered by the user when this transaction occurred.

PrivateNote String False False False

A private note about the transaction. This note will not appear on the transaction records by default.

Adjustment Boolean False False False

The total amount of the transaction. This includes the total of all the charges, allowances, and taxes.

Line_Id String False False False

The Id of the line item.

Line_Description String False False False

A description of the line item that appears in the printed record.

Line_Amount Decimal False False False

The amount of the line item.

Line_DetailType String False False False

The detail type of the line item. Different detail types indicate different types of line items.

Line_JournalEntryLineDetail_PostingType String False False False

This field indicates the posting type of the line item of the journal entry detail.

使用できる値は次のとおりです。Credit, Debit

Line_JournalEntryLineDetail_Entity_Type String False False False

The type of the entity to be referenced.

Line_JournalEntryLineDetail_Entity_EntityRef String False False False

The Id of the entity to be referenced.

Line_JournalEntryLineDetail_Entity_EntityRef_Name String True False False

The name of the entity to be referenced.

Line_JournalEntryLineDetail_AccountRef String False

Accounts.Id

False False

The Id of the account associated with the journal entry line item.

Line_JournalEntryLineDetail_AccountRef_Name String True

Accounts.Name

False False

The name of the account associated with the journal entry line item.

Line_JournalEntryLineDetail_ClassRef String False

Class.Id

False False

The Id of the class associated with the journal entry line item.

Line_JournalEntryLineDetail_ClassRef_Name String True

Class.FullyQualifiedName

False False

The name of the class associated with the journal entry line.

Line_JournalEntryLineDetail_DepartmentRef String False

Departments.Id

False False

The Id of the department associated with the journal entry line.

Line_JournalEntryLineDetail_DepartmentRef_Name String True

Departments.Name

False False

The name of the department associated with the journal entry line.

Line_JournalEntryLineDetail_TaxCodeRef String False

TaxCodes.Id

False False

The sales or purchase tax code associated with the journal entry line. This field is used for non-U.S., non-Canadian companies. This field is valid for the UK edition.

Line_JournalEntryLineDetail_TaxApplicableOn String False False False

This field indicates whether the tax applicable to the line item is sales or purchase tax. This field is valid for the UK edition.

Line_JournalEntryLineDetail_TaxAmount Decimal False False False

The tax applicable for this line item. This field is valid for the UK, and AU editions.

Line_JournalEntryLineDetail_BillableStatus String False False False

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 the Entity Reference specifies a Customer or a Job.

使用できる値は次のとおりです。Billable, NotBillable, HasBeenBilled

TxnTaxDetail_TxnTaxCodeRef String False

TaxCodes.Id

False False

The transaction tax code.

TxnTaxDetail_TotalTax String False False False

Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list.

TxnTaxDetail_TaxLineAggregate String False False False

An XML aggregate of tax line items.

TotalAmt Decimal True True True

The total amount of the transaction. Calculated by QuickBooks business logic; any value you supply is over-written by QuickBooks.

CurrencyRef String False False False

The Id of the currency used in the transaction.

CurrencyRef_Name String True False False

The name of the currency used in the transaction.

ExchangeRate Decimal False False False

The currency exchange rate. This field is only valid if the company file uses the multicurrency feature. In QuickBooks, exchange rates are always recorded as the number of home currency units it takes to equal one foreign currency unit. This field is available in only the UK, AU, and CA editions.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062