CData Sync App は、QuickBooks Online データをデータベース、データレイク、またはデータウェアハウスに継続的にパイプライン化する簡単な方法を提供し、分析、レポート、AI、および機械学習で簡単に利用できるようにします。
QuickBooks Online コネクタはCData Sync アプリケーションから使用可能で、QuickBooks Online からデータを取得して、サポートされている任意の同期先に移動できます。
Sync App アプリケーションの接続 ページに移動し、接続の追加 パネルで対応するアイコンを選択して、QuickBooks Online への接続を作成します。QuickBooks Online アイコンが利用できない場合は、Add More アイコンをクリックしてCData サイトからQuickBooks Online コネクタをダウンロードおよびインストールします。
必須プロパティは[設定]タブにリストされています。[Advanced]タブには、通常は必要ない接続プロパティが表示されます。
QuickBooks Online はOAuth 認証標準を利用しています。Embedded Credentials を使用すると、接続プロパティを設定せずに接続できます。接続すると、Sync App はデフォルトブラウザでOAuth エンドポイントを開きます。ログインして、アプリケーションにアクセス許可を与えるだけです。Sync App がOAuth プロセスを完了します。
あるいは、アプリを作成してOAuthClientId、OAuthClientSecret、およびCallbackURL 接続プロパティを取得することもできます。認証方法については、OAuth 認証の使用 を参照してください。
このセクションでは、QuickBooks Online Sync App の高度な機能を厳選して説明します。
Sync App を使用すると、事前設定されたクエリによって内容が決定されるユーザー定義ビューと呼ばれる仮想テーブルを定義できます。 このビューは、ドライバーに発行されるクエリを直接制御できない場合に有効です。 カスタムビューの作成と設定の概要については、ユーザー定義ビュー を参照してください。
SSL の設定 を使用して、Sync App が証明書のネゴシエーションをどのように扱うかを調整します。さまざまな証明書形式を選択できます。 詳しくは、接続文字列オプションにあるSSLServerCert プロパティを参照してください。
Windows プロキシとHTTP プロキシを含むファイアウォールとプロキシ に合致するようSync App を設定します。トンネル接続を設定することもできます。
Sync App は、QuickBooks Online にできるだけ多くのSELECT ステートメント処理をオフロードし、残りのクエリをクライアント側のインメモリで処理します。
詳しくはクエリ処理 を参照してください。
CData ログを調整するために使用可能な設定の概要については、ログ を参照してください。基本的なロギングでは、 次の2つの接続プロパティを設定するだけです。LogModules 接続プロパティを使用してログに記録する情報のサブセットを選択できる、 より洗練されたロギングをサポートする多数の機能があります。
デフォルトでは、Sync App はサーバーの証明書をシステムの信頼できる証明書ストアと照合してSSL / TLS のネゴシエーションを試みます。
別の証明書を指定するには、利用可能なフォーマットについてSSLServerCert プロパティを参照してください。
Windows のシステムプロキシ経由の接続では、接続プロパティを追加で設定する必要はありません。他のプロキシに接続するには、ProxyAutoDetect をfalse に設定します。
さらにHTTP プロキシへの認証には、ProxyServer とProxyPort に加えてProxyAuthScheme、ProxyUser、およびProxyPassword を設定します。
次のプロパティを設定します。
The CData Sync App models entities in the QuickBooks Online API as tables, views, and stored procedures. These are defined in schema files, which are simple, text-based configuration files.
API limitations and requirements are documented in the following sections; you can use the SupportEnhancedSQL feature, set by default, to circumvent most of these limitations.
テーブル describes the available tables.
ビュー are tables that cannot be modified. Typically, read-only data are shown as views.
ストアドプロシージャ are function-like interfaces to the data source. They can be used to search, update, and modify information in the data source.
Sync App はQuickBooks Online のデータを、標準のSQL ステートメントを使用してクエリできるテーブルのリストにモデル化します。
一般的には、QuickBooks Online テーブルのクエリは、リレーショナルデータベースのテーブルのクエリと同じです。時には特別なケースもあります。例えば、テーブルの特定のカラムデータを取得するために特定のカラムをWHERE 句に含める必要がある場合などです。これは通常、特定のカラムを取得するために行ごとに個別のリクエストを行う必要がある場合に必要です。これらの特別な状況は、以下にリンクされているテーブルページの上部に明確に文書化されています。
Name | Description |
Accounts | Create, update, delete, and query QuickBooks Accounts. |
AttachableRefs | Attachables |
Attachables | Attachables |
BillLineItems | Create, update, delete, and query QuickBooks Bill Line Items. |
BillLinkedTransactions | Create, update, delete, and query QuickBooks Invoice Line Items. |
BillPaymentLineItems | Create, update, delete, and query QuickBooks Bill Payment Line Items. |
BillPayments | Create, update, delete, and query QuickBooks Bill Payments. |
Bills | Create, update, delete, and query QuickBooks Bills. |
BudgetDetails | Query QuickBooks BudgetDetails. |
Budgets | Query QuickBooks Budgets. |
Class | Create, update, delete, and query QuickBooks Classes. |
CompanyCurrency | Create, update, delete, and query QuickBooks CompanyCurrency. Applicable only for those companies that enable multicurrency, a companycurrency object defines a currency that is active in the QuickBooks Online company. One or more companycurrency objects are active based on the company's multicurrency business requirements and correspond to the list displayed by the Currency Center in the QuickBooks Online UI. |
CompanyInfo | Retrieve information about the QuickBooks company. |
CreditMemoLineItems | Create, update, delete, and query QuickBooks Credit Memo Line Items. |
CreditMemos | Create, update, delete, and query QuickBooks Credit Memos. |
Customers | Create, update, delete, and query QuickBooks Customers. |
Departments | Create, update, delete, and query QuickBooks Departments. |
DepositLineItems | Create, update, delete, and query QuickBooks Deposit Line Items. |
Deposits | Create, update, delete, and query QuickBooks Deposits. |
Employees | Create, update, delete, and query QuickBooks Employees. |
EstimateLineItems | Create, update, delete, and query QuickBooks Estimate Line Items. |
EstimateLinkedTransactions | Create, update, delete, and query QuickBooks Estimate Line Items. |
Estimates | Create, update, delete, and query QuickBooks Estimates. |
ExchangeRates | Retrieves QuickBooks exchange rates. |
InvoiceLineItems | Create, update, delete, and query QuickBooks Invoice Line Items. |
InvoiceLinkedTransactions | Create, update, delete, and query QuickBooks Invoice Line Items. |
Invoices | Create, update, delete, and query QuickBooks Invoices. |
Items | Create, update, delete, and query QuickBooks Items. |
JournalCode | Create, update, delete, and query QuickBooks Journal Codes. |
JournalEntries | Create, update, delete, and query QuickBooks Journal Entries. |
JournalEntryLineItems | Create, update, delete, and query QuickBooks Journal Entry Line Items. |
PaymentLineItems | Create, update, delete, and query QuickBooks Payment Line Items. |
PaymentMethods | Create, update, delete, and query QuickBooks Payment Methods. |
Payments | Create, update, delete, and query QuickBooks Payments. |
Preferences | Query QuickBooks Preferences. The Preferences table contains settings for company-wide preferences, which affect all users. |
PurchaseLineItems | Create, update, delete, and query QuickBooks Purchase Line Items. |
PurchaseOrderLineItems | Create, update, delete, and query QuickBooks Purchase Order Line Items. |
PurchaseOrderLinkedTransactions | Create, update, delete, and query QuickBooks Invoice Line Items. |
PurchaseOrders | Create, update, delete, and query QuickBooks Purchase Orders. |
Purchases | Create, update, delete, and query QuickBooks Purchases. |
RecurringCreditMemoTransactions | Create and query QuickBooks Recurring Transactions for Credit Memos. |
RecurringCreditMemoTransactionsLineItems | Create and query QuickBooks Recurring Transactions for Credit Memo Line Items. |
RecurringDepositTransactions | Create and query QuickBooks Deposits. |
RecurringDepositTransactionsLineItems | Create and query QuickBooks Recurring Transactions for Deposit Line Items. |
RecurringEstimateTransactions | Create and query QuickBooks Recurring Transaction for Estimates. |
RecurringEstimateTransactionsLineItems | Create and query QuickBooks Recurring Transaction Line Items for Estimate. |
RecurringInvoiceTransactions | Create and query QuickBooks Recurring Transaction for Invoice. |
RecurringInvoiceTransactionsLineItems | Create and query QuickBooks Recurring Transaction Line Items for Invoice. |
RecurringJournalEntryTransactions | Create and query QuickBooks Recurring Transaction for Journal Entry. |
RecurringJournalEntryTransactionsLineItems | Create and query the QuickBooks RecurringTransactions Journal Entry Line Items. |
RecurringPurchaseTransactions | Create and query QuickBooks Recurring Transaction for Purchases. |
RecurringPurchaseTransactionsLineItems | Create and query QuickBooks Recurring Transaction for Purchase Line Items. |
RecurringRefundReceiptTransactions | Create and query QuickBooks Recurring Transaction for RefundReceipts. |
RecurringRefundReceiptTransactionsLineItems | Create and query QuickBooks Recurring Transactions for RefundReceiptLineItems. |
RecurringSalesReceiptTransactions | Create and query QuickBooks Recurring Transaction for Sales Receipt. |
RecurringSalesReceiptTransactionsLineItems | Create and query QuickBooks Recurring Transaction for Sales Receipt Line Items. |
RecurringTransferTransactions | Create and query QuickBooks Recurring Transactions for Transfers |
RecurringVendorCreditTransactions | Create and query QuickBooks Recurring Transactions for Vendor Credits. |
RecurringVendorCreditTransactionsLineItems | Create and query QuickBooks Recurring Transactions for Vendor Credit Line Items. |
RefundReceiptLineItems | Create, update, delete, and query QuickBooks RefundReceiptLineItems. |
RefundReceipts | Create, update, delete, and query QuickBooks RefundReceipts. |
SalesReceiptLineItems | Create, update, delete, and query QuickBooks Sales Receipt Line Items. |
SalesReceipts | Create, update, delete, and query QuickBooks Sales Receipts. |
TaxAgency | Create and Query QuickBooks Tax Agency. |
TaxCodes | Create and query QuickBooks Sales Tax Codes. |
TaxRates | Create and query QuickBooks Tax Rates. |
Terms | Create, update, delete, and query QuickBooks Terms. |
TimeActivities | Create, update, delete, and query QuickBooks Time Activities. |
Transfers | Create, update, delete, and query QuickBooks Transfers |
VendorCreditLineItems | Create, update, delete, and query QuickBooks Vendor Credit Line Items. |
VendorCredits | Create, update, delete, and query QuickBooks Vendor Credits. |
Vendors | Create, update, delete, and query QuickBooks Vendors. |
Create, update, delete, and query QuickBooks Accounts.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the account. | |
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. | |
Name | String | False | True | True |
The name of the account. To create an account, you must provide a unique account name. Default accounts are created for new companies. | |
SubAccount | Boolean | False | True | True |
This value is true if the account is a subaccount, and false or null if it is a top-level account. | |
ParentRef | String | False |
Accounts.Id | True | True |
The Id of the parent account. |
ParentRef_Name | String | True |
Accounts.Name | False | False |
The name of the parent account. |
FullyQualifiedName | String | True | False | False |
The fully qualified name of the account. The fully qualified name consists the topmost parent element followed by each subelement and separated by colons. For example: Parent:Account1:SubAccount1:SubAccount2. | |
Description | String | False | True | True |
The description for the account. This may contain notes on the types of journal entries that should be posted to this account. | |
Active | Boolean | False | True | False |
This field sets whether or not the account is active. Inactive accounts cannot be posted to and are excluded from search results, although references to them are preserved. | |
Classification | String | False | True | False |
The account classification. 使用できる値は次のとおりです。Asset, Equity, Expense, Liability, Revenue | |
AccountType | String | False | True | False |
The account type or subclassification that determines how the account is used. This field is indexed by the account classification. 使用できる値は次のとおりです。Bank, Other Current Asset, Fixed Asset, Other Asset, Accounts Receivable, Equity, Expense, Other Expense, Cost of Goods Sold, Accounts Payable, Credit Card, Long Term Liability, Other Current Liability, Income, Other Income | |
AccountSubType | String | False | False | False |
The account subtype. This field is indexed by the AccountType field. 使用できる値は次のとおりです。CashOnHand, Checking, MoneyMarket, RentsHeldInTrust, Savings, TrustAccounts, AllowanceForBadDebts, DevelopmentCosts, EmployeeCashAdvances, OtherCurrentAssets, Inventory, Investment_MortgageRealEstateLoans, Investment_Other, Investment_TaxExemptSecurities, Investment_USGovernmentObligations, LoansToOfficers, LoansToOthers, LoansToStockholders, PrepaidExpenses, Retainage, UndepositedFunds, AccumulatedDepletion, AccumulatedDepreciation, DepletableAssets, FixedAssetComputers, FixedAssetCopiers, FixedAssetFurniture, FixedAssetPhone, FixedAssetPhotoVideo, FixedAssetSoftware, FixedAssetOtherToolsEquipment, FurnitureAndFixtures, Land, LeaseholdImprovements, OtherFixedAssets, AccumulatedAmortization, Buildings, IntangibleAssets, MachineryAndEquipment, Vehicles, LeaseBuyout, OtherLongTermAssets, SecurityDeposits, AccumulatedAmortizationOfOtherAssets, Goodwill, Licenses, OrganizationalCosts, AccountsReceivable, OpeningBalanceEquity, PartnersEquity, RetainedEarnings, AccumulatedAdjustment, OwnersEquity, PaidInCapitalOrSurplus, PartnerContributions, PartnerDistributions, PreferredStock, CommonStock, TreasuryStock, EstimatedTaxes, Healthcare, PersonalIncome, PersonalExpense, AdvertisingPromotional, BadDebts, BankCharges, CharitableContributions, CommissionsAndFees, Entertainment, EntertainmentMeals, EquipmentRental, FinanceCosts, GlobalTaxExpense, Insurance, InterestPaid, LegalProfessionalFees, OfficeExpenses, OfficeGeneralAdministrativeExpenses, OtherBusinessExpenses, OtherMiscellaneousServiceCost, PromotionalMeals, RentOrLeaseOfBuildings, RepairMaintenance, ShippingFreightDelivery, SuppliesMaterials, Travel, TravelMeals, Utilities, Auto, CostOfLabor, DuesSubscriptions, PayrollExpenses, TaxesPaid, UnappliedCashBillPaymentExpense, Depreciation, ExchangeGainOrLoss, OtherMiscellaneousExpense, PenaltiesSettlements, Amortization, GasAndFuel, HomeOffice, HomeOwnerRentalInsurance, OtherHomeOfficeExpenses, MortgageInterest, RentAndLease, RepairsAndMaintenance, ParkingAndTolls, Vehicle, VehicleInsurance, VehicleLease, VehicleLoanInterest, VehicleLoan, VehicleRegistration, VehicleRepairs, OtherVehicleExpenses, Utilities, WashAndRoadServices, EquipmentRentalCos, OtherCostsOfServiceCos, ShippingFreightDeliveryCos, SuppliesMaterialsCogs, CostOfLaborCos, Accounts Payable, Credit Card, NotesPayable, OtherLongTermLiabilities, ShareholderNotesPayable, DirectDepositPayable, LineOfCredit, LoanPayable, GlobalTaxPayable, GlobalTaxSuspense, OtherCurrentLiabilities, PayrollClearing, PayrollTaxPayable, PrepaidExpensesPayable, RentsInTrustLiability, TrustAccountsLiabilities, FederalIncomeTaxPayable, InsurancePayable, SalesTaxPayable, StateLocalIncomeTaxPayable, NonProfitIncome, OtherPrimaryIncome, SalesOfProductIncome, ServiceFeeIncome, DiscountsRefundsGiven, UnappliedCashPaymentIncome, DividendIncome, InterestEarned, OtherInvestmentIncome, OtherMiscellaneousIncome, TaxExemptInterest, PayrollWageExpenses, PayrollTaxExpenses, CashAndCashEquivalents, OtherEarMarkedBankAccounts, AssetsAvailableForSale, BalWithGovtAuthorities, CalledUpShareCapitalNotPaid, ExpenditureAuthorisationsAndLettersOfCredit, GlobalTaxDeferred, GlobalTaxRefund, InternalTransfers, OtherConsumables, ProvisionsCurrentAssets, ShortTermInvestmentsInRelatedParties, ShortTermLoansAndAdvancesToRelatedParties, TradeAndOtherReceivables, AssetsInCourseOfConstruction, CapitalWip, CumulativeDepreciationOnIntangibleAssets, IntangibleAssetsUnderDevelopment, LandAsset, NonCurrentAssets, ParticipatingInterests, ProvisionsFixedAssets, AssetsHeldForSale, AvailableForSaleFinancialAssets, DeferredTax, Investments, LongTermInvestments, LongTermLoansAndAdvancesToRelatedParties, OtherIntangibleAssets, OtherLongTermInvestments, OtherLongTermLoansAndAdvances, PrepaymentsAndAccruedIncome, ProvisionsNonCurrentAssets, AccumulatedOtherComprehensiveIncome, CalledUpShareCapital, CapitalReserves, DividendDisbursed, EquityInEarningsOfSubsiduaries, InvestmentGrants, MoneyReceivedAgainstShareWarrants, OtherFreeReserves, ShareApplicationMoneyPendingAllotment, ShareCapital, Funds, AmortizationExpense, AppropriationsToDepreciation, BorrowingCost, CommissionsAndFees, DistributionCosts, ExternalServices, ExtraordinaryCharges, IncomeTaxExpense, LossOnDiscontinuedOperationsNetOfTax, ManagementCompensation, OtherCurrentOperatingCharges, OtherExternalServices, OtherRentalCosts, OtherSellingExpenses, ProjectStudiesSurveysAssessments, PurchasesRebates, ShippingAndDeliveryExpense, StaffCosts, Sundry, TravelExpensesGeneralAndAdminExpenses, TravelExpensesSellingExpense, DeferredTaxExpense, Depletion, ExceptionalItems, ExtraordinaryItems, IncomeTaxOtherExpense, MatCredit, PriorPeriodItems, TaxRoundoffGainOrLoss, CostOfSales, FreightAndDeliveryCost, OutstandingDuesMicroSmallEnterprise, OutstandingDuesOtherThanMicroSmallEnterprise, AccrualsAndDeferredIncome, AccruedLongLermLiabilities, AccruedVacationPayable, BankLoans, DebtsRelatedToParticipatingInterests, DeferredTaxLiabilities, GovernmentAndOtherPublicAuthorities, GroupAndAssociates, LiabilitiesRelatedToAssetsHeldForSale, LongTermBorrowings, LongTermDebit, LongTermEmployeeBenefitObligations, ObligationsUnderFinanceLeases, OtherLongTermProvisions, ProvisionForLiabilities, ProvisionsNonCurrentLiabilities, StaffAndRelatedLongTermLiabilityAccounts, AccruedLiabilities, CurrentLiabilities, CurrentPortionEmployeeBenefitsObligations, CurrentPortionOfObligationsUnderFinanceLeases, CurrentTaxLiability, DividendsPayable, DutiesAndTaxes, InterestPayables, ProvisionForWarrantyObligations, ProvisionsCurrentLiabilities, ShortTermBorrowings, SocialSecurityAgencies, StaffAndRelatedLiabilityAccounts, SundryDebtorsAndCreditors, TradeAndOtherPayables, CashReceiptIncome, OperatingGrants, OtherCurrentOperatingIncome, OwnWorkCapitalized, RevenueGeneral, SalesRetail, SalesWholesale, SavingsByTaxScheme, GainLossOnSaleOfFixedAssets, GainLossOnSaleOfInvestments, LossOnDisposalOfAssets, OtherOperatingIncome, UnrealisedLossOnSecuritiesNetOfTax | |
AcctNum | String | False | False | False |
A user-defined account number that identifies the account within the chart of accounts and notes the information that should be posted to the account. | |
CurrentBalance | Decimal | True | True | True |
The current balance. This field is available for only balance sheet accounts. | |
CurrentBalanceWithSubAccounts | Decimal | True | False | False |
The cumulative current balance amount for the account and all its subaccounts. | |
CurrencyRef | String | False | False | False |
The Id of the currency used by the account. | |
CurrencyRef_Name | String | True | False | False |
A name that identifies the currency used by the account. | |
TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The ID of the associated Tax Code. This ID can be used with the TaxCodes view to find more information about the associated tax. Only available in International versions of QuickBooks Online. |
Attachables
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
EntityRefId [KEY] | String | True | True | True |
The ID of the Entity Ref of the attachable. | |
AttachableId [KEY] | String | True |
Attachables.ID | True | True |
The Id of the attachable. |
SyncToken | String | True | False | False |
The version number of the entity. This must be specified when executing an update or delete. | |
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. | |
FileName | String | False | True | True |
FileName of the attachment. | |
Size | Integer | False | True | True |
Size of the attachment. | |
ContentType | String | False | True | True |
ContentType of the attachment. | |
Category | String | False | True | True |
Category of the attachment. | |
Latitude | Double | False | True | True |
Latitude from where the attachment was requested. | |
Longitude | Double | False | True | True |
Longitude from where the attachment was requested. | |
Note | String | False | True | True |
Note either related to the attachment or as a standalone note. | |
PlaceName | String | False | True | True |
PlaceName from where the attachment was requested. | |
Tag | String | False | True | True |
Tag name for the requested attachment. | |
AttachableRef_EntityRef | String | False | True | False |
Value | |
AttachableRef_EntityRef_type | String | False | True | False |
Type | |
AttachableRef_EntityRef_name | String | False | False | False |
Type name | |
AttachableRef_IncludeOnSend | Boolean | False | True | False |
On sending email to customer (most likely for txns), this field indicates whether or not the attachment is to be sent together with the email. | |
AttachableRef_LineInfo | String | False | True | True |
If the entity is a transaction, user can also specify a transaction detail line to reference. | |
FileAccessUri | String | False | True | True |
FullPath FileAccess URI of the attachment. | |
TempDownloadUri | String | False | True | True |
TempDownload URI which can be directly downloaded by clients. |
Attachables
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the attachable. | |
SyncToken | String | True | False | False |
The version number of the entity. This must be specified when executing an update or delete. | |
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. | |
FileName | String | False | True | True |
FileName of the attachment. | |
Size | Integer | False | True | True |
Size of the attachment. | |
ContentType | String | False | True | True |
ContentType of the attachment. | |
Category | String | False | True | True |
Category of the attachment. | |
Latitude | Double | False | True | True |
Latitude from where the attachment was requested. | |
Longitude | Double | False | True | True |
Longitude from where the attachment was requested. | |
Note | String | False | True | True |
Note either related to the attachment or as a standalone note. | |
PlaceName | String | False | True | True |
PlaceName from where the attachment was requested. | |
Tag | String | False | True | True |
Tag name for the requested attachment. | |
AttachableRefAggregate | String | False | False | False |
Aggregate that specifies the transaction object to which this attachable file is to be linked | |
FileAccessUri | String | False | True | True |
FullPath FileAccess URI of the attachment. | |
TempDownloadUri | String | False | True | True |
TempDownload URI which can be directly downloaded by clients. |
Create, update, delete, and query QuickBooks Bill Line Items.
Bills may be inserted, updated, or queried via the Bills or BillLineItems tables. Bills may be deleted by using the Bills table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a Bill, specify the Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_AccountRef,VendorRef.For example, the following will insert a new Bill with two Line Items:
INSERT INTO BillLineItems(Line_Amount,Line_DetailType,Line_AccountBasedExpenseLineDetail_AccountRef,VendorRef) VALUES ('4.04','AccountBasedExpenseLineDetail','7','36')
INSERT INTO BillLineItems#TEMP(Line_Amount,Line_DetailType,Line_AccountBasedExpenseLineDetail_AccountRef,VendorRef) VALUES ('4.04','AccountBasedExpenseLineDetail','7','36') INSERT INTO Bills ( VendorRef,Id,DocNumber, TxnDate, PrivateNote,LineAggregate) VALUES ('36','6704','66', '1/1/2040', 'AccountBasedExpenseLineDetail',BillLineItems#TEMP)
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | False |
The Id of the line item of the bill. | |
BillId [KEY] | String | False |
Bills.ID | True | True |
The Id of the bill. |
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 |
The reference number for the transaction. | |
TxnDate | Date | False | True | True |
The date of the transaction. This field is often the date when the transaction was entered into the system, but it is not required to be. If the date is not supplied, the current date on the server is used. For posting transactions, this is the posting date that affects financial statements. | |
PrivateNote | String | False | False | False |
A private note about the transaction. By default, this note will not appear on the transaction records. | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
Line_Id | String | False | False | False |
The Id of the line item. | |
Line_Amount | Decimal | False | False | False |
The total amount of the charges and discounts for the line item. This includes charges and allowances but excludes the tax amount. | |
Line_Description | String | False | False | False |
The line description. | |
Line_DetailType | String | False | False | False |
The detail type of the line item. | |
Line_AccountBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class entity of the expense. |
Line_AccountBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class entity of the expense. |
Line_AccountBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The customer Id for the expense. |
Line_AccountBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The customer name for the expense. |
Line_AccountBasedExpenseLineDetail_AccountRef | String | False |
Accounts.Id | False | False |
The Id of the expense account of the expense. |
Line_AccountBasedExpenseLineDetail_AccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the expense account of the expense. |
Line_AccountBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The sales tax code for the expense. |
Line_AccountBasedExpenseLineDetail_TaxAmount | Decimal | False | False | False |
Sales tax paid as part of the expense. | |
Line_AccountBasedExpenseLineDetail_TaxInclusiveAmt | Decimal | False | False | False |
The total amount of the line item including tax. | |
Line_AccountBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of the expense. 使用できる値は次のとおりです。Billable, NotBillable, HasBeenBilled | |
Line_AccountBasedExpenseLineDetail_MarkupInfo_Value | Decimal | True | False | False |
Markup value. | |
Line_AccountBasedExpenseLineDetail_MarkupInfo_Percent | Double | False | False | False |
Markup amount expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01. | |
Line_AccountBasedExpenseLineDetail_MarkupInfo_PriceLevelRef | String | False | False | False |
The Id of the entity for the price level for the markup. | |
Line_ItemBasedExpenseLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item associated with the expense. |
Line_ItemBasedExpenseLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item associated with the expense. |
Line_ItemBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class for the line item. |
Line_ItemBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class for the line item. |
Line_ItemBasedExpenseLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the subject item as referenced. | |
Line_ItemBasedExpenseLineDetail_Qty | Double | False | False | False |
Number of items for the line. | |
Line_ItemBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The customer Id for the expense. |
Line_ItemBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The customer name for the expense. |
Line_ItemBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The sales tax code for the expense. |
Line_ItemBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of the expense. 使用できる値は次のとおりです。Billable, NotBillable, HasBeenBill | |
Line_ItemBasedExpenseLineDetail_MarkupInfo_Value | Double | True | False | False |
Markup value. | |
Line_ItemBasedExpenseLineDetail_MarkupInfo_Percent | Double | False | False | False |
Markup amount expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01. | |
Line_ItemBasedExpenseLineDetail_MarkupInfo_PriceLevelRef | String | False | False | False |
The Id of the entity for the price level for the markup. | |
Line_ItemBasedExpenseLineDetail_MarkupInfo_PriceLevelRef_Name | String | True | False | False |
A name that identifies the price level for the markup. | |
VendorRef | String | False |
Vendors.Id | True | True |
The Id of the vendor. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor. |
APAccountRef | String | False |
Accounts.Id | True | True |
The Id of the accounts-payable account. |
APAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the accounts-payable account. |
TotalAmt | Decimal | False | True | True |
The total amount of the bill, determined by taking the sum of all the line items of the bill. | |
SalesTermRef | String | False |
Terms.Id | True | True |
The Id of the sales term. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
A name that identifies the sales term. |
DueDate | Date | False | True | True |
The due date of the bill. This date excludes early payment discount incentives and late payment penalties. | |
Balance | Decimal | True | True | False |
The unpaid amount of the bill. When paid in full this value is 0. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
A name that identifies the department. |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code of the transaction. |
TxnTaxDetail_TotalTax | String | False | False | False |
The tax calculated for the transaction. This value excludes any tax line items that have been manually inserted into the transaction. | |
TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of the tax line items. | |
CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
CurrencyRef_Name | String | True | False | False |
A name that identifies the currency of the transaction. | |
ExchangeRate | Decimal | False | False | False |
The number of home currency units required to equal one foreign currency unit. This column is available only if the company file is using the multicurrency feature and is available in only the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method used to apply taxes. This column is available in only the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create, update, delete, and query QuickBooks Invoice Line Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LinkedTxnId [KEY] | String | True | False | False |
The Id of the line item of the bill. | |
BillId [KEY] | String | False |
Bills.Id | True | True |
The Id of the bill. |
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 |
The 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 for the transaction, which does not appear on the transaction records. | |
LinkedTxn_TxnId | String | False | False | False |
The Id of the line item. | |
LinkedTxn_TxnType | String | False | False | False |
The line number of the line item. | |
LinkedTxn_TxnLineId | String | False | False | False |
The description of the line item. | |
LineAggregate | String | False | False | False |
An XML aggregate of line items associated with the transaction. | |
VendorRef | String | False |
Vendors.Id | True | True |
The Id of the vendor. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor associated with the transaction. |
APAccountRef | String | False |
Accounts.Id | True | True |
The Id of the accounts-payable account. |
APAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the accounts-payable account. |
SalesTermRef | String | False |
Terms.Id | True | True |
The Id of the sales terms entity of the bill. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
A name that identifies the sales terms entity of the bill. |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
TxnTaxDetail_TotalTax | String | False | False | False |
The 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. | |
DueDate | Date | False | True | False |
The date when the invoice is to be paid, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
TotalAmt | Decimal | True | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
Balance | Decimal | False | False | False |
This field indicates whether the transaction is a finance charge. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
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. Valid only if the company file is set up to use 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 for only the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create, update, delete, and query QuickBooks Bill Payment Line Items.
BillPayments may be inserted or queried via the BillPayments or BillPaymentLineItems tables. BillPayments may be deleted by using the BillPayments table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a BillPayment, specify the Vendor, PayType, TxnDate (transaction date), and TotalAmt columns and at least one Line Item, as well as either CreditCardPayment or CheckPayment. You must enter an amount for each Line Item up to but not exceeding the total amount remaining to be paid for each Bill.
The following shows an example of inserting multiple Bills, each with a single line. To insert a BillPayment with multiple lines, see the example on the BillPayments table.
INSERT INTO BillPaymentLineItems#TEMP (VendorRef, PayType, TxnDate, CheckPayment_BankAccountRef, CheckPayment_PrintStatus, Line_Amount, Line_LinkedTxn_TxnId, Line_LinkedTxn_TxnType, TotalAmt) VALUES ('21', 'Check', '1/1/2011', '41', 'NotSet', 0.01, '313', 'Bill', 0.03) INSERT INTO BillPaymentLineItems#TEMP (VendorRef, PayType, TxnDate, CheckPayment_BankAccountRef, CheckPayment_PrintStatus, Line_Amount, Line_LinkedTxn_TxnId, Line_LinkedTxn_TxnType, TotalAmt) VALUES ('21', 'Check', '1/1/2011', '41', 'NotSet', 0.02, '312', 'Bill', 0.03) INSERT INTO BillPaymentLineItems (VendorRef, PayType, TxnDate, CheckPayment_BankAccountRef, CheckPayment_PrintStatus, Line_Amount, Line_LinkedTxn_TxnId, Line_LinkedTxn_TxnType, TotalAmt) SELECT VendorRef, PayType, TxnDate, CheckPayment_BankAccountRef, CheckPayment_PrintStatus, Line_Amount, Line_LinkedTxn_TxnId, Line_LinkedTxn_TxnType, TotalAmt FROM BillPaymentLineItems#TEMP
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | False |
The Id of the line item of the bill payment. | |
BillPaymentId [KEY] | String | False |
BillPayments.Id | True | True |
The Id of the bill payment. |
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 |
The document number for this transaction. When creating a line item, if this field is not provided QuickBooks business logic will assign the document number using the next-in-sequence algorithm. | |
TxnDate | Date | False | True | True |
The date of the transaction. This field is often the date when the transaction was entered into the system, but it is not required to be. For posting transactions, this is the posting date that affects financial statements | |
PrivateNote | String | False | False | False |
A private note about the transaction. By default, this field does not appear on the transaction records. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department. |
Line_LinkedTxn_TxnId | String | False |
Bills.Id | False | False |
The Id of the transaction linked to the line item. |
Line_Amount | Decimal | False | False | False |
The amount of the line item. | |
Line_LinkedTxn_TxnType | String | False | False | False |
The type of the transaction linked to the line item. | |
VendorRef | String | False |
Vendors.Id | True | True |
The Id of the vendor for this transaction. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor for this transaction. |
APAccountRef | String | False |
Accounts.Id | True | True |
The Id of the accounts-payable account that the vendor credit is credited to. If the company has a single accounts-payable account, this account is implied. This must be a Liability account and the subtype must be of type Payables. |
APAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the accounts-payable account the vendor credit is credited to. If the company has a single accounts-payable account, this account is implied. This must be a Liability-type account and the subtype must be of type Payables. |
PayType | String | False | False | False |
The payment type. 使用できる値は次のとおりです。Check, CreditCard | |
CheckPayment_BankAccountRef | String | False |
Accounts.Id | True | True |
The Id of the bank account, which issued the check. |
CheckPayment_BankAccountRef_Name | String | True |
Accounts.Name | False | False |
A name that identifies the bank account. |
CheckPayment_PrintStatus | String | False | False | False |
The print status of the check payment. This field is only applicable for checks and ignored for credit card charges and refunds. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNeedToPrintです。 | |
CreditCardPayment_CCAccountRef | String | False |
Accounts.Id | True | True |
The Id of the credit card account. |
CreditCardPayment_CCAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the credit card account. |
TotalAmt | Decimal | False | True | True |
The total amount of the bill, determined by the sum of all line items in the bill payment. | |
ProcessBillPayment | Boolean | False | False | False |
This field indicates that the payment should be processed by the merchant account service. This field is available for companies with credit card processing enabled in QuickBooks Online. | |
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 exchange rate for the currency. This field is available only 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, IN, and CA editions. |
Create, update, delete, and query QuickBooks Bill Payments.
BillPayments may be inserted or queried via the BillPayments or BillPaymentLineItems tables. They may be deleted by using the BillPayments table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a BillPayment, specify the Vendor, PayType, TxnDate, and TotalAmt columns, as well as at least one Line Item and either CreditCardPayment or CheckPayment. You must enter an amount for each Line Item up to but not exceeding the total amount remaining to be paid for each Bill. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz).The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which BillPayments. For example:
INSERT INTO BillPayments (VendorRef, PayType, TxnDate, CheckPayment_BankAccountRef, CheckPayment_PrintStatus, TotalAmt, LineAggregate) VALUES ('21', 'Check', '1/1/2011', '41', 'NotSet', 0.03 ' <Line><Amount>Repairs</Amount><LinkedTxn><TxnId>312</TxnId><TxnType>Bill</TxnType></LinkedTxn></Line> <Line><Amount>Removal</Amount><LinkedTxn><TxnId>313</TxnId><TxnType>Bill</TxnType></LinkedTxn></LinkedTxn></Line> ')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the bill payment. | |
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 |
The document number for the transaction. If it is not provided in a create operation, QuickBooks business logic will assign the document number using the next-in-sequence algorithm. | |
TxnDate | Date | False | True | True |
The date of the transaction. This field is often the date when the transaction was entered into the system, but it is not required to be. This field is used in the financial statements for posting transactions. | |
PrivateNote | String | False | False | False |
A private note about the transaction. This note will not appear on the transaction records by default. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department entity, which stores the location of the transaction. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department. |
LineAggregate | String | False | False | False |
An XML aggregate containing the line items associated with the bill payment. | |
VendorRef | String | False |
Vendors.Id | True | True |
The Id of the vendor. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor. |
APAccountRef | String | False |
Accounts.Id | True | True |
The Id of the accounts-payable account the vendor credit is credited to. If a single accounts-payable account is used, this account is implied. This account must be a Liability account and the subtype must be of type Payables. |
APAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the accounts-payable account the vendor credit is credited to. If the company uses a single accounts-payable account, this account is implied. This account must be a Liability account and the subtype must be of type Payables. |
PayType | String | False | False | False |
The payment type. 使用できる値は次のとおりです。Check, CreditCard | |
CheckPayment_BankAccountRef | String | False |
Accounts.Id | False | False |
The Id of the bank account. |
CheckPayment_BankAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the bank account. |
CheckPayment_PrintStatus | String | False | False | False |
The print status of the check payment. This field is only applicable for checks. It is ignored for credit card charges or refunds. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNeedToPrintです。 | |
CreditCardPayment_CCAccountRef | String | False |
Accounts.Id | True | True |
The Id of the credit card account. |
CreditCardPayment_CCAccountRef_Name | String | True |
Accounts.Name | False | False |
A name that identifies the credit card account. |
TotalAmt | Decimal | False | True | True |
This field sets the total amount of the bill. This includes the total of all the payments from the line items of the bill payment. | |
ProcessBillPayment | Boolean | False | False | False |
This field sets whether the payment is processed by the merchant account service. This field is valid for QuickBooks Online companies with credit card processing. | |
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, IN, and CA editions. | |
TransactionLocationType | String | False | False | False |
The account location. This field is valid in only the FR editions. 使用できる値は次のとおりです。WithinFrance, FranceOverseas, OutsideFranceWithEU, OutsideEU |
Create, update, delete, and query QuickBooks Bills.
Bills may be inserted, deleted, updated, or queried via the Bills or BillLineItems tables. Bills may be deleted by using the Bills table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a Bill, specify the Vendor, APAccountRef, and TxnDate columns and at least one Line Item. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz). The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which Bills. For example:
INSERT INTO Bills (VendorRef, APAccountRef, TxnDate, LineAggregate) VALUES ('21', '66', '1/1/2011', ' <Line><Amount>4.04</Amount><DetailType>AccountBasedExpenseLineDetail</DetailType><AccountBasedExpenseLineDetail><AccountRef>7</AccountRef></AccountBasedExpenseLineDetail></Line> <Line><Amount>6.06</Amount><DetailType>AccountBasedExpenseLineDetail</DetailType><AccountBasedExpenseLineDetail><AccountRef>8</AccountRef></AccountBasedExpenseLineDetail></Line> ')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the bill. | |
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 |
The reference number for the transaction. | |
TxnDate | Date | False | True | True |
The date of the transaction. This field is often the date when the transaction was entered into the system, but it is not required to be. For posting transactions, this is the posting date that affects financial statements. | |
PrivateNote | String | False | False | False |
A private note about the transaction. This note will not appear on the transaction records by default. | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
LineAggregate | String | False | False | False |
An XML aggregate of the line items of the bill. | |
VendorRef | String | False |
Vendors.Id | True | True |
The Id of the vendor. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor associated with the transaction. |
APAccountRef | String | False |
Accounts.Id | True | True |
The Id of the accounts-payable account. |
APAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the accounts-payable account. |
TotalAmt | Decimal | False | True | True |
The total amount due, determined by taking the sum of the line items. | |
SalesTermRef | String | False |
Terms.Id | True | True |
The Id of the sales terms entity of the bill. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
A name that identifies the sales terms entity of the bill. |
DueDate | Date | False | True | True |
The due date for the bill, excluding early payment discount incentives and late payment penalties. | |
Balance | Decimal | True | True | False |
The unpaid amount of the bill. When paid in full this value is 0. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department. |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code of the transaction. |
TxnTaxDetail_TotalTax | String | False | False | False |
The 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. | |
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 available only if the multicurrency feature has been set for the company file. 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 for only the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method used to apply the tax. This field is valid in only the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
TransactionLocationType | String | False | False | False |
The account location. This field is valid in only the FR editions. 使用できる値は次のとおりです。WithinFrance, FranceOverseas, OutsideFranceWithEU, OutsideEU |
Query QuickBooks BudgetDetails.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
BudgetId [KEY] | String | True | True | True |
The Id of the customer. | |
DetailId [KEY] | String | True | True | True |
The Id of the customer. | |
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. | |
Name | String | True | True | True |
A user recogniyable name for the Account. | |
StartDate | Datetime | True | False | False |
The begin date for the Budget. | |
EndDate | Datetime | True | False | False |
The end date for the Budget. | |
BudgetType | String | True | True | True |
The type of budget. 使用できる値は次のとおりです。ProfitAndLoss, Balance Sheet | |
BudgetEntryType | String | True | False | False |
Period that the budget covers. 使用できる値は次のとおりです。Monthly, Quarterly, Annually | |
Active | Boolean | True | True | False |
A boolean indicating if the budget is active. | |
BudgetDetail_BudgetDate | Datetime | True | False | False |
Date of the individual BudgetDetail. | |
BudgetDetail_Amount | Decimal | True | False | False |
Amount assigned to a BudgetDetail. | |
BudgetDetail_AccountRef | String | True |
Accounts.Id | False | False |
The id of the account associated with the BudgetDetail. |
BudgetDetail_AccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the account associated with the BudgetDetail. |
BudgetDetail_CustomerRef | String | True |
Customers.Id | False | False |
The id of the customer associated with the BudgetDetail. |
BudgetDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer associated with the BudgetDetail. |
BudgetDetail_ClassRef | String | True |
Class.Id | False | False |
The id of the class associated with the BudgetDetail. |
BudgetDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the BudgetDetail. |
BudgetDetail_DepartmentRef | String | True |
Departments.Id | False | False |
The id of the department associated with the BudgetDetail. |
BudgetDetail_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department associated with the BudgetDetail. |
Query QuickBooks Budgets.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the customer. | |
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. | |
Name | String | True | True | True |
A user recogniyable name for the Account. | |
StartDate | Datetime | True | False | False |
The begin date for the Budget. | |
EndDate | Datetime | True | False | False |
The end date for the Budget. | |
BudgetType | String | True | True | True |
The type of budget. 使用できる値は次のとおりです。ProfitAndLoss, Balance Sheet | |
BudgetEntryType | String | True | False | False |
Period that the budget covers. 使用できる値は次のとおりです。Monthly, Quarterly, Annually | |
Active | Boolean | True | True | False |
A boolean indicating if the budget is active. |
Create, update, delete, and query QuickBooks Classes.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the class. | |
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. | |
Name | String | False | True | True |
The name of the class. | |
SubClass | Boolean | True | True | True |
This field indicates whether the class is a subclass or not. | |
ParentRef | String | False |
Class.Id | False | False |
The Id of the parent record. |
ParentRef_Name | String | True |
Class.Name | False | False |
The Id of the parent record. |
Active | Boolean | False | True | True |
This field sets whether or not the class is active. Inactive classes may be hidden from display and excluded from financial transactions. | |
FullyQualifiedName | String | True | True | True |
The fully qualified name of the class. The fully qualified name consists the topmost parent element followed by each subelement and separated by colons. For example: Parent:Account1:SubAccount1:SubAccount. |
Create, update, delete, and query QuickBooks CompanyCurrency. Applicable only for those companies that enable multicurrency, a companycurrency object defines a currency that is active in the QuickBooks Online company. One or more companycurrency objects are active based on the company's multicurrency business requirements and correspond to the list displayed by the Currency Center in the QuickBooks Online UI.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the currency object. | |
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. | |
Code | String | False | True | True |
A three letter string representing the ISO 4217 code for the currency. | |
Name | String | False | False | True |
The fullName of the Currrency object. | |
Active | Boolean | False | True | False |
This field sets whether or not the currency is active. Inactive accounts cannot be posted to and are excluded from search results, although references to them are preserved. |
Retrieve information about the QuickBooks company.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | False | False |
The Id of the company. | |
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 | False | False |
The time the record was created. | |
MetaData_LastUpdatedTime | Datetime | True | False | False |
The time the record was last updated. | |
CompanyName | String | True | False | False |
The name of the company. | |
LegalName | String | True | False | False |
The legal name of the company. | |
CompanyAddr_Id | String | False | False | False |
The Id of the Intuit entity for the company address, mainly used for modifying the address. This field is assigned by the data service. | |
CompanyAddr_Line1 | String | False | False | False |
The first line of the address. | |
CompanyAddr_Line2 | String | False | False | False |
The second line of the address. | |
CompanyAddr_Line3 | String | False | False | False |
The third line of the address. | |
CompanyAddr_Line4 | String | False | False | False |
The fourth line of the address. | |
CompanyAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
CompanyAddr_City | String | False | False | False |
The city name. | |
CompanyAddr_Country | String | False | False | False |
The country name. | |
CompanyAddr_CountrySubDivisionCode | String | False | False | False |
The country region. The state name for the USA or the province name for Canada. | |
CompanyAddr_PostalCode | String | False | False | False |
The postal code. The zip code for the USA and Canada. | |
CompanyAddr_Note | String | False | False | False |
A note for the customer. | |
CompanyAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded address. | |
CompanyAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded address. | |
CustomerCommunicationAddr_Id | String | False | False | False |
The Id of the customer communication address. This field is assigned by the data service. The customer will use this address to contact the company. This field is also used to modify the address. | |
CustomerCommunicationAddr_Line1 | String | False | False | False |
The first line of the address. | |
CustomerCommunicationAddr_Line2 | String | False | False | False |
The second line of the address. | |
CustomerCommunicationAddr_Line3 | String | False | False | False |
The third line of the address. | |
CustomerCommunicationAddr_Line4 | String | False | False | False |
The fourth line of the address. | |
CustomerCommunicationAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
CustomerCommunicationAddr_City | String | False | False | False |
The city name. | |
CustomerCommunicationAddr_Country | String | False | False | False |
The country name. | |
CustomerCommunicationAddr_CountrySubDivisionCode | String | False | False | False |
The country region. The state name for the USA or the province name for Canada. | |
CustomerCommunicationAddr_PostalCode | String | False | False | False |
The postal code. The zip code for the USA and Canada. | |
CustomerCommunicationAddr_Note | String | False | False | False |
The note for the customer. | |
CustomerCommunicationAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded address. | |
CustomerCommunicationAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded address. | |
LegalAddr_Id | String | False | False | False |
The Id of the company address used in government communications. This field is assigned by the data service and mainly used for modifying the address. | |
LegalAddr_Line1 | String | False | False | False |
The first line of the address. | |
LegalAddr_Line2 | String | False | False | False |
The second line of the address. | |
LegalAddr_Line3 | String | False | False | False |
The third line of the address. | |
LegalAddr_Line4 | String | False | False | False |
The fourth line of the address. | |
LegalAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
LegalAddr_City | String | False | False | False |
The city name. | |
LegalAddr_Country | String | False | False | False |
The country name. | |
LegalAddr_CountrySubDivisionCode | String | False | False | False |
The region within a country. For example, the state name for the USA or the province name for Canada. | |
LegalAddr_PostalCode | String | False | False | False |
The postal code. The zip code for the USA and Canada. | |
LegalAddr_Note | String | False | False | False |
The note for the customer. | |
LegalAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded address. | |
LegalAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded address. | |
Email_Address | String | True | False | False |
The default email address. | |
PrimaryPhone_FreeFormNumber | String | True | False | False |
The primary phone number. | |
EmployerId | String | True | False | False |
The employer identifier (EIN). | |
Country | String | True | False | False |
The country that the company belongs to. This field is used for financial calculations. | |
SupportedLanguages | String | True | False | False |
A comma-separated list of languages supported by the company. | |
WebAddr_URI | String | True | False | False |
The default company website. | |
CompanyStartDate | Date | True | False | False |
The date when the company file was created. This field and Metadata_CreateTime contain the same value. | |
FiscalYearStartMonth | String | True | False | False |
The start month of fiscal year. | |
NameValue | String | False | False | False |
The name/value pairs of the element. |
Create, update, delete, and query QuickBooks Credit Memo Line Items.
CreditMemos may be inserted, updated, or queried via the CreditMemos or CreditMemoLineItems tables. CreditMemos may be deleted by using the CreditMemos table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a CreditMemo, specify a Customer and at least one Line Item. The following shows an example of inserting multiple CreditMemos, each with a single line. To insert a CreditMemo with multiple lines, see the example on the CreditMemos table.
INSERT INTO CreditMemoLineItems#TEMP (CustomerRef,Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount) VALUES ('4','SalesItemLineDetail', '2', 0.01) INSERT INTO CreditMemoLineItems#TEMP (CustomerRef,Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount) VALUES ('4','SalesItemLineDetail', '3', 0.02) INSERT INTO CreditMemoLineItems (CustomerRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount) SELECT CustomerRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount FROM CreditMemoLineItems#TEMP
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | False |
The Id of the line item of the credit memo. | |
CreditMemoId [KEY] | String | False |
CreditMemos.Id | True | True |
The Id of the credit memo. |
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 |
The reference number for the transaction. | |
TxnDate | Date | False | True | True |
The date when the transaction occurred. | |
PrivateNote | String | False | False | False |
A private note about the transaction. By default, this field will not appear on transaction records. | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of linked transactions on the credit memo. | |
Line_Id | String | False | False | False |
The Id of the line item. | |
Line_Description | String | False | False | False |
The description of the line item that appears in the printed record. | |
Line_Amount | Decimal | False | False | False |
The total amount of the charges or discounts for the given line. This includes the charges and allowances but excludes the tax amount. | |
Line_DetailType | String | False | False | False |
The detail type of the line item. Different detail types indicate different types of line items. | |
Line_SalesItemLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item. When a line item lacks an ItemRef it is treated as documentation and the Line_Amount attribute is ignored. |
Line_SalesItemLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item. When a line item lacks an ItemRef it is treated as documentation and the Line_Amount attribute is ignored. |
Line_SalesItemLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class entity of the line item. |
Line_SalesItemLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class entity of the line item. |
Line_SalesItemLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item. | |
Line_SalesItemLineDetail_Qty | Double | False | False | False |
The number of items in the line item. | |
Line_SalesItemLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for this item. |
Line_SalesItemLineDetail_ServiceDate | Date | False | False | False |
The date when the service was performed. | |
Line_GroupLineDetail_GroupItemRef | String | True | False | False |
The Id of the group item object. | |
Line_GroupLineDetail_GroupItemRef_Name | String | True | False | False |
The name of the group item object. | |
Line_GroupLineDetail_Quantity | Integer | True | False | False |
The amount of the group item. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
TxnTaxDetail_TotalTax | String | False | False | False |
The 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. | |
CustomerRef | String | False |
Customers.Id | True | True |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
A name that identifies the customer. |
CustomerMemo | String | False | False | False |
A message to the customer, visible on the transaction. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
The first line of the address. | |
BillAddr_Line2 | String | False | False | False |
The second line of the address. | |
BillAddr_Line3 | String | False | False | False |
The third line of the address. | |
BillAddr_Line4 | String | False | False | False |
The fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
BillAddr_City | String | False | False | False |
The city name. | |
BillAddr_Country | String | False | False | False |
The country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
The country region. The state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
The postal code. The zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
The note for the customer. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded address. | |
ShipAddr_Line1 | String | False | False | False |
The first line of the shipping address. | |
ShipAddr_Line2 | String | False | False | False |
The second line of the shipping address. | |
ShipAddr_Line3 | String | False | False | False |
The third line of the shipping address. | |
ShipAddr_Line4 | String | False | False | False |
The fourth line of the shipping address. | |
ShipAddr_Line5 | String | False | False | False |
The fifth line of the shipping address. | |
ShipAddr_City | String | False | False | False |
The city name | |
ShipAddr_Country | String | False | False | False |
The country name | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
The region within a country. | |
ShipAddr_PostalCode | String | False | False | False |
The postal code. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ClassRef | String | False |
Class.Id | True | False |
The Id of the class. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class. |
SalesTermRef | String | False |
Terms.Id | True | False |
The Id of the sales term associated with the transaction. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
A name that identifies the sales term associated with the transaction. |
TotalAmt | Decimal | False | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
PrintStatus | String | False | False | False |
The print status of the credit memo. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSent, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
The asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
RemainingCredit | Decimal | False | False | False |
The total credit amount still available to apply towards the payment. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores location of the transaction. |
BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, this field is a required input. | |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether the discount is applied before or after taxes are calculated. | |
CurrencyRef | String | False | False | False |
The Id of the currency used for all amounts of the transaction. This field is available in only the UK, AU, IN, and CA editions. | |
CurrencyRef_Name | String | True | False | False |
The name of the currency used for all amounts of the transaction. This field is available in only the UK, AU, IN, and CA editions. | |
ExchangeRate | Decimal | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for only the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in only the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction in the home currency. This field includes the total of all the charges, allowances, and taxes. This field is valid in only the UK, AU, IN, and CA editions. |
Create, update, delete, and query QuickBooks Credit Memos.
CreditMemos may be inserted, queried, or updated via the CreditMemos or CreditMemoLineItems tables. CreditMemos may be deleted by using the CreditMemos table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a CreditMemo, specify a Customer and at least one Line Item. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz). The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which CreditMemos. For example:
INSERT INTO CreditMemos (CustomerRef, LineAggregate) VALUES ('4', ' <Line><Amount>0.01</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>2</ItemRef></SalesItemLineDetail></Line> <Line><Amount>0.02</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>3</ItemRef></SalesItemLineDetail></Line> ')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | False | False |
The Id of the credit memo. | |
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 |
The reference number for the transaction. | |
TxnDate | Date | False | True | True |
The date when this transaction occurred. | |
PrivateNote | String | False | False | False |
The private note about the transaction. | |
LineAggregate | String | False | False | False |
An XML aggregate of line items on the credit memo. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
TxnTaxDetail_TotalTax | String | False | False | False |
The 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. | |
CustomerRef | String | False |
Customers.Id | True | True |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer or job. |
CustomerMemo | String | False | False | False |
The message to the customer, visible on the transaction. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the address, mainly used for modifying the address. This value is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
The first line of the address. | |
BillAddr_Line2 | String | False | False | False |
The second line of the address. | |
BillAddr_Line3 | String | False | False | False |
The third line of the address. | |
BillAddr_Line4 | String | False | False | False |
The fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
BillAddr_City | String | False | False | False |
The city name. | |
BillAddr_Country | String | False | False | False |
The country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
The country region. The state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
The postal code. The zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
The note for the customer. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for hte address. | |
ShipAddr_Line1 | String | False | False | False |
The first line of the shipping address. | |
ShipAddr_Line2 | String | False | False | False |
The second line of the shipping address. | |
ShipAddr_Line3 | String | False | False | False |
The third line of the shipping address. | |
ShipAddr_Line4 | String | False | False | False |
The fourth line of the shipping address. | |
ShipAddr_Line5 | String | False | False | False |
The fifth line of the shipping address. | |
ShipAddr_City | String | False | False | False |
The city name | |
ShipAddr_Country | String | False | False | False |
The country name | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
The region within a country. | |
ShipAddr_PostalCode | String | False | False | False |
The postal code. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
SalesTermRef | String | False |
Terms.Id | True | False |
The Id of the sales term associated with the transaction. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the transaction. |
TotalAmt | Decimal | False | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
PrintStatus | String | False | False | False |
The print status of the credit memo. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSent, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
The asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
Name of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
RemainingCredit | Decimal | False | False | False |
The total credit amount still available to be applied towards the payment. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the location of the transaction. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the location of the transaction. |
BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before taxes are calculated. | |
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 valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method used to apply the tax. This field is valid in only the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction, expressed in the home currency. This includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create, update, delete, and query QuickBooks Customers.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the customer. | |
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. | |
Title | String | False | False | False |
The title of the person. This field supports all i18n locales. At least one of the following name elements is required: Title, GivenName, MiddleName, or FamilyName. | |
GivenName | String | False | True | True |
The given name or first name of the customer. At least one of the following elements is required: Title, GivenName, MiddleName, or FamilyName. | |
MiddleName | String | False | True | True |
The middle name of the customer. The customer can have zero or more middle names. At least one of the elements is required: Title, GivenName, MiddleName, or FamilyName. | |
FamilyName | String | False | True | True |
The family name or the last name of the customer. At least one of the following name elements is required: Title, GivenName, MiddleName, or FamilyName. | |
Suffix | String | False | True | True |
The suffix of the name. | |
FullyQualifiedName | String | True | True | True |
The fully qualified name of the customer. The fully qualified name consists the topmost parent element followed by each subelement and separated by colons. For example: Parent:Account1:SubAccount1:SubAccount2. | |
CompanyName | String | False | True | True |
The name of the company associated with the customer. | |
DisplayName | String | False | True | True |
The name of the customer to be displayed. This value must be unique. | |
PrintOnCheckName | String | False | True | True |
The name of the customer as printed on a check. If this is not provided, it is populated from DisplayName. | |
Active | Boolean | False | True | True |
This field indicates whether the customer is currently enabled for use by QuickBooks. | |
IsProject | Boolean | False | True | True |
If true, indicates this is a Project. | |
PrimaryPhone_FreeFormNumber | String | False | False | False |
The primary phone number. | |
AlternatePhone_FreeFormNumber | String | False | False | False |
The alternate phone number. | |
Mobile_FreeFormNumber | String | False | False | False |
The mobile phone number. | |
Fax_FreeFormNumber | String | False | False | False |
The fax number. | |
PrimaryEmailAddr_Address | String | False | False | False |
The first line of the address. | |
WebAddr_URI | String | False | False | False |
The website address. | |
DefaultTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the customer. |
Taxable | Boolean | False | False | False |
This field indicates whether this customer is taxable. | |
CustomerTypeRef | String | False | False | False |
The Id of the type of this customer. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This value is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
The first line of the address. | |
BillAddr_Line2 | String | False | False | False |
The second line of the address. | |
BillAddr_Line3 | String | False | False | False |
The third line of the address. | |
BillAddr_Line4 | String | False | False | False |
The fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
BillAddr_City | String | False | False | False |
The city name. | |
BillAddr_Country | String | False | False | False |
The country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
The country region. The state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
The postal code. The zip code for the USA and Canada. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, state name for the USA or the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
Notes | String | False | False | False |
Notes on the customer. | |
Job | Boolean | False | True | False |
This field indicates whether the customer is a job or subcustomer. If false or null, this is a top-level customer. | |
BillWithParent | Boolean | False | False | False |
This field sets whether the customer is to be billed together with its parent entity. This field is valid only if this entity is a job or subcustomer. | |
ParentRef | String | False |
Customers.Id | False | False |
The immediate parent of the subcustomer or job in the hierarchical 'Customer:Job' list. This field is required for the create operation if the customer is a subcustomer or a job. |
ParentRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the immediate parent of the subcustomer or job in the hierarchical 'Customer:Job' list. |
Level | Integer | False | False | False |
This field shows the level of the hierarchy the customer record is located in. A value of 0 specifies the top level of the hierarchy. The hierarchy is implicit when the parent is specified in an insert command. | |
SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales term associated with the customer. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the customer. |
PaymentMethodRef | String | False | False | False |
The Id of the payment method associated with the customer. | |
PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method associated with the customer. |
Balance | Decimal | False | True | True |
The open balance amount or the amount unpaid by the customer. For the create operation, this represents the opening balance for the customer. When returned in response to the query request it represents the current open balance for that customer. | |
OpenBalanceDate | Date | False | False | False |
The date of the open balance. This field is used in the create operation. | |
BalanceWithJobs | Decimal | True | False | False |
The cumulative open balance amount for the customer and all its subcustomers. | |
PreferredDeliveryMethod | String | False | False | False |
The preferred delivery method. 使用できる値は次のとおりです。Print, Email, None | |
ResaleNum | String | False | False | False |
The resale number or additional info about the customer. | |
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. | |
TaxExemptionReasonId | Integer | False | True | False |
The tax exemption reason associated with this customer object. |
Create, update, delete, and query QuickBooks Departments.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the department. | |
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. | |
Name | String | False | True | True |
The name of the department. | |
SubDepartment | Boolean | True | False | False |
This field specifies whether the department is a subdepartment. | |
ParentRef | String | False |
Departments.Id | False | False |
The Id of the parent class entity. |
ParentRef_Name | String | True |
Departments.Name | False | False |
The name of the parent class entity. |
FullyQualifiedName | String | True | False | False |
The fully qualified name of the department. The fully qualified name consists the topmost parent element followed by each subelement and separated by colons. For example: Parent:Account1:SubAccount1:SubAccount2. | |
Active | Boolean | False | False | False |
This field indicates whether or not the department is active. Inactive records are hidden from most display purposes and financial transactions. |
Create, update, delete, and query QuickBooks Deposit Line Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | False |
The Id of the line item of the invoice. | |
DepositId [KEY] | String | False |
Deposits.Id | True | True |
The Id of the invoice. |
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. | |
TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
PrivateNote | String | False | False | False |
A private note that does not appear on the transaction records. | |
Line_Id | String | False | False | False |
The Id of the line item. | |
Line_Description | String | False | False | False |
The description of the line item. | |
Line_Amount | Decimal | False | False | False |
The amount of the line item. | |
Line_DetailType | String | False | False | False |
The detailType of the line item. | |
Line_DepositLineDetail_PaymentMethodRef | String | False | False | False |
The payment method id of the line item. | |
Line_DepositLineDetail_PaymentMethodRef_Name | String | False |
PaymentMethods.Name | False | False |
The payment method id of the line item. |
Line_DepositLineDetail_AccountRef | String | False |
Accounts.Id | False | False |
Account where the funds are deposited to. |
Line_DepositLineDetail_AccountRef_Name | String | False |
Accounts.Name | False | False |
Account where the funds are deposited to. |
Line_DepositLineDetail_Entity | String | False |
Customers.Id | False | False |
Reference to a customer from which the deposit was recieved |
Line_DepositLineDetail_Entity_Name | String | False |
Customers.DisplayName | False | False |
Reference to a customer from which the deposit was recieved |
Line_DepositLineDetail_ClassRef | String | False |
Class.Id | False | False |
Reference to the Class associated with the transaction |
Line_DepositLineDetail_ClassRef_Name | String | False |
Class.FullyQualifiedName | False | False |
Reference to the Class associated with the transaction |
Line_DepositLineDetail_CheckNum | String | False | False | False |
The check number for the deposit | |
Line_DepositLineDetail_TxnType | String | False | False | False |
The type of the payment transaction. Different types indicate different types of line items. | |
Line_DepositLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The Sales/Purchase tax code associated with the Line. This field is valid in the UK, AU, IN, and CA editions. |
Line_DepositLineDetail_TaxApplicableOn | String | False | False | False |
Indicates whether the tax applicable on the line is sales or purchase. This field is valid in the UK, AU, IN, and CA editions. | |
Line_LinkedTxn_TxnId | String | True | False | False |
The id of the linked transaction | |
Line_LinkedTxn_TxnType | String | True | False | False |
The type of the linked transaction. Different types indicate different types of line items. | |
Line_LinkedTxn_TxnLineId | String | True | False | False |
The lineitem id of the linked transaction line item. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. This field is valid in the UK, AU, IN, and CA editions. |
TxnTaxDetail_TotalTax | String | False | False | False |
The total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. This field is valid in the UK, AU, IN, and CA editions. | |
TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. This field is valid in the UK, AU, IN, and CA editions. | |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
The Id of the asset account to be used for this deposit. |
DepositToAccountRef_Name | String | False |
Accounts.Name | False | False |
The name of the asset account to be used for this deposit. |
ClassRef | String | False |
Class.Id | False | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
CashBack_AccountRef | String | True | True | False |
The asset account (bank account) Id to be used for this cash back transaction | |
CashBack_AccountRef_Name | String | False | False | False |
The asset account (bank account) Name to be used for this cash back transaction | |
CashBack_Amount | Decimal | False | False | False |
The amount of the cash back transaction. | |
CashBack_Memo | String | True | True | False |
The memo associated with this cash back transaction. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which store the location of the transaction as defined using location tracking in QuickBooks Online. |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
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. | |
GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create, update, delete, and query QuickBooks Deposits.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the invoice. | |
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. | |
TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
PrivateNote | String | False | False | False |
A private note that does not appear on the transaction records. | |
LineAggregate | String | False | False | False |
An XML aggregate of line items associated with the transaction. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. This field is valid in the UK, AU, IN, and CA editions. |
TxnTaxDetail_TotalTax | String | False | False | False |
The total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. This field is valid in the UK, AU, IN, and CA editions. | |
TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. This field is valid in the UK, AU, IN, and CA editions. | |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
The Id of the asset account to be used for this deposit. |
DepositToAccountRef_Name | String | False |
Accounts.Name | False | False |
The name of the asset account to be used for this deposit. |
ClassRef | String | False |
Class.Id | False | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
CashBack_AccountRef | String | True |
Accounts.Id | True | False |
The asset account (bank account) Id to be used for this cash back transaction |
CashBack_AccountRef_Name | String | False |
Accounts.Name | False | False |
The asset account (bank account) Name to be used for this cash back transaction |
CashBack_Amount | Decimal | False | False | False |
The amount of the cash back transaction. | |
CashBack_Memo | String | True | True | False |
The memo associated with this cash back transaction. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which store the location of the transaction as defined using location tracking in QuickBooks Online. |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
ExchangeRate | Decimal | False | False | False |
The number of home currency units it takes to equal one unit of currency specified by CurrencyRef. Applicable if multicurrency is enabled for the company. | |
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. | |
GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
TransactionLocationType | String | False | False | False |
The account location. This field is valid in only the FR editions. 使用できる値は次のとおりです。WithinFrance, FranceOverseas, OutsideFranceWithEU, OutsideEU |
Create, update, delete, and query QuickBooks Employees.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the employee. | |
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. | |
Organization | Boolean | False | False | False |
This field indicates whether the entity represents an organization or a person. | |
Title | String | False | False | False |
The title of the employee. The employee can have zero or more titles. This field supports all i18n locales. | |
EmployeeNumber | String | False | True | True |
The employee number in the directory of the employer. | |
GivenName | String | False | True | True |
The given name or first name of the employee. | |
MiddleName | String | False | True | True |
The middle name of the employee. The person can have zero or more middle names. | |
FamilyName | String | False | True | True |
The family name or last name of the employee. | |
Suffix | String | False | False | False |
The suffix of the name of the employee. | |
DisplayName | String | False | True | False |
The name of the person or organization as displayed. This field is required. | |
PrintOnCheckName | String | False | False | False |
The name of the employee as it should appear on a check. | |
Active | Boolean | False | True | False |
This field sets whether this entity is currently enabled for use. | |
Mobile_FreeFormNumber | String | False | False | False |
The mobile phone number. | |
PrimaryEmailAddr_Address | String | False | False | False |
The primary email address. | |
PrimaryAddr_Id | String | False | False | False |
The Id of the entity for the address, mainly used for modifying the address. This value is assigned by the data service. | |
PrimaryAddr_Line1 | String | False | False | False |
First line of the address. | |
PrimaryAddr_Line2 | String | False | False | False |
Second line of the address. | |
PrimaryAddr_Line3 | String | False | False | False |
Third line of the address. | |
PrimaryAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
PrimaryAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
PrimaryAddr_City | String | False | False | False |
City name. | |
PrimaryAddr_Country | String | False | False | False |
Country name. | |
PrimaryAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. The state name for the USA or the province name for Canada. | |
PrimaryAddr_PostalCode | String | False | False | False |
Postal code. The zip code for the USA and Canada. | |
PrimaryAddr_Note | String | False | False | False |
Note for the customer. | |
PrimaryAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded address. | |
PrimaryAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded address. | |
SSN | String | False | False | False |
The social security number (SSN) of the employee. If SSN is set, it is masked in the response with XXX-XX-XXXX. If XXX-XX-XXXX is sent in the create or update request, XXX-XX-XXXX is ignored and the old value is preserved. | |
BillableTime | Boolean | False | False | False |
This field indicates whether the employee is eligible for billable time. | |
BillRate | Double | False | False | False |
This field is available only if BillableTime is true. This field is not required, even if BillableTime is true. | |
HiredDate | Date | False | False | False |
The hire date of the employee. | |
ReleasedDate | Date | False | False | False |
The release date of the employee. | |
BirthDate | Date | False | False | False |
The birth date of the employee. | |
Gender | String | False | False | False |
The gender of the employee. To clear the gender value, set this field to Null in a full update request. 使用できる値は次のとおりです。Male, Female |
Create, update, delete, and query QuickBooks Estimate Line Items.
Estimates may be inserted, queried, or updated via the Estimates or EstimateLineItems tables. Estimates may be deleted by using the Estimates table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add an Estimate, specify a Customer and at least one Line Item. The following shows an example of inserting multiple Estimates, each with a single line. To insert an Estimate with multiple lines, see the example on the Estimates table.
INSERT INTO EstimateLineItems#TEMP (CustomerRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount) VALUES ('4','SalesItemLineDetail', '2', 0.01) INSERT INTO EstimateLineItems#TEMP (CustomerRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount) VALUES ('4','SalesItemLineDetail', '3', 0.02) INSERT INTO EstimateLineItems (CustomerRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount) SELECT CustomerRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount FROM EstimateLineItems#TEMP
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | False |
The Id of the line item of the estimate. | |
EstimateId [KEY] | String | False |
Estimates.Id | True | True |
The Id of the estimate. |
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 |
The reference number for the transaction. | |
TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
PrivateNote | String | False | False | False |
A private note, which will not appear on the transaction records. | |
TxnStatus | String | False | False | False |
The status of the transaction. 使用できる値は次のとおりです。Accepted, Closed, Pending, Rejected | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
Line_Id | String | False | False | False |
The Id of the line item. | |
Line_LineNum | String | False | False | False |
The line number. | |
Line_Description | String | False | False | False |
The line description. | |
Line_Amount | Decimal | False | False | False |
The line amount. | |
Line_DetailType | String | False | False | False |
The line detail type. Different detail types indicate different types of line items. | |
Line_SalesItemLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item in the line item. |
Line_SalesItemLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item in the line item. |
Line_SalesItemLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class in the line item. |
Line_SalesItemLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class in the line item. |
Line_SalesItemLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item. | |
Line_SalesItemLineDetail_Qty | Double | False | False | False |
The number of items for the line item. | |
Line_SalesItemLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the item. |
Line_SalesItemLineDetail_ServiceDate | Date | False | False | False |
The service date for the item. | |
Line_SalesItemLineDetail_DiscountAmt | Decimal | False | False | False |
The discount amount applied to this line. | |
Line_SalesItemLineDetail_DiscountRate | Decimal | False | False | False |
TThe discount rate applied to this line. | |
Line_GroupLineDetail_GroupItemRef | String | True | False | False |
The Id of the group item object. | |
Line_GroupLineDetail_GroupItemRef_Name | String | True | False | False |
The name of the group item object. | |
Line_GroupLineDetail_Quantity | Integer | True | False | False |
The amount of the group item. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
TxnTaxDetail_TotalTax | String | False | False | False |
The 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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
CustomerMemo | String | False | False | False |
The message to the customer, which appears in the invoice and the printed invoice. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
The first line of the billing address. | |
BillAddr_Line2 | String | False | False | False |
The second line of the billing address. | |
BillAddr_Line3 | String | False | False | False |
The third line of the billing address. | |
BillAddr_Line4 | String | False | False | False |
The fourth line of the billing address. | |
BillAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. The zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
Note for the customer. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the shipping address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the shipping address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the shipping address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the shipping address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the shipping address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales term associated with the transaction. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the transaction. |
DueDate | Date | False | True | False |
The due date for the invoice, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all charges, allowances, and taxes. | |
PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Balance | Decimal | False | True | True |
This field indicates whether the transaction is a finance charge. | |
ExpirationDate | Date | False | False | False |
The date when an estimate becomes invalid. | |
AcceptedBy | String | False | False | False |
The name of the customer who accepted the estimate. | |
AcceptedDate | Date | False | False | False |
The date the estimate was accepted. | |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether any discounts are applied before taxes are calculated. | |
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 valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method used to apply taxes. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction, expressed in the home currency. This includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create, update, delete, and query QuickBooks Estimate Line Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LinkedTxnId [KEY] | String | True | False | False |
The Id of the line item of the estimate. | |
EstimateId [KEY] | String | False |
Estimates.Id | True | True |
The Id of the estimate. |
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 |
The reference number for the transaction. | |
TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
PrivateNote | String | False | False | False |
A private note, which will not appear on the transaction records. | |
TxnStatus | String | False | False | False |
The status of the transaction. 使用できる値は次のとおりです。Accepted, Closed, Pending, Rejected | |
LinkedTxn_TxnId | String | False | False | False |
The Id of the line item. | |
LinkedTxn_TxnType | String | False | False | False |
The line number of the line item. | |
LinkedTxn_TxnLineId | String | False | False | False |
The description of the line item. | |
LineAggregate | String | False | False | False |
An XML aggregate of line items associated with the transaction. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
TxnTaxDetail_TotalTax | String | False | False | False |
The 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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
CustomerMemo | String | False | False | False |
The message to the customer, which appears in the invoice and the printed invoice. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
The first line of the billing address. | |
BillAddr_Line2 | String | False | False | False |
The second line of the billing address. | |
BillAddr_Line3 | String | False | False | False |
The third line of the billing address. | |
BillAddr_Line4 | String | False | False | False |
The fourth line of the billing address. | |
BillAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. The zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
Note for the customer. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the shipping address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the shipping address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the shipping address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the shipping address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the shipping address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales term associated with the transaction. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the transaction. |
DueDate | Date | False | True | False |
The due date for the invoice, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all charges, allowances, and taxes. | |
PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Balance | Decimal | False | True | True |
This field indicates whether the transaction is a finance charge. | |
ExpirationDate | Date | False | False | False |
The date when an estimate becomes invalid. | |
AcceptedBy | String | False | False | False |
The name of the customer who accepted the estimate. | |
AcceptedDate | Date | False | False | False |
The date the estimate was accepted. | |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether any discounts are applied before taxes are calculated. | |
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 valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method used to apply taxes. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction, expressed in the home currency. This includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create, update, delete, and query QuickBooks Estimates.
Estimates may be inserted, queried, or updated via the Estimates or EstimateLineItems tables. Estimates may be deleted by using the Estimates table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add an Estimate, specify a Customer and at least one Line Item. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz). The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which Estimates. For example:
INSERT INTO Estimates (CustomerRef, LineAggregate) VALUES ('4', ' <Line><Amount>0.01</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>2</ItemRef></SalesItemLineDetail></Line> <Line><Amount>0.02</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>3</ItemRef></SalesItemLineDetail></Line> ')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the Estimate. | |
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 |
The reference number for the transaction. | |
TxnDate | Date | False | True | True |
The date when this transaction occurred. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
PrivateNote | String | False | False | False |
A private note, which will not appear on the transaction records. | |
TxnStatus | String | False | False | False |
The status of the transaction. 使用できる値は次のとおりです。Accepted, Closed, Pending, Rejected | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
LineAggregate | String | False | False | False |
An XML aggregate of line items associated with the transaction. other:childtable= | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
TxnTaxDetail_TotalTax | String | False | False | False |
The 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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
CustomerMemo | String | False | False | False |
A message to the customer, which appears in the invoice and in the printed invoice. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
First line of the billing address. | |
BillAddr_Line2 | String | False | False | False |
Second line of the billing address. | |
BillAddr_Line3 | String | False | False | False |
Third line of the billing address. | |
BillAddr_Line4 | String | False | False | False |
Fourth line of the billing address. | |
BillAddr_Line5 | String | False | False | False |
Fifth line of the billing address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Country region. For example, the state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. The zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
Note for the customer. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the shipping address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the shipping address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the shipping address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the shipping address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the shipping address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Country region. For example, the state name for the USA or the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales terms associated with the transaction. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales terms associated with the transaction. |
DueDate | Date | False | True | False |
The due date for the invoice, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
TotalAmt | Decimal | True | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Balance | Decimal | False | True | True |
This column sets whether the transaction is a finance charge. | |
ExpirationDate | Date | False | False | False |
The date when the estimate becomes invalid. | |
AcceptedBy | String | False | False | False |
The name of the customer who accepted the estimate. | |
AcceptedDate | Date | False | False | False |
The date the estimate was accepted. | |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
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 valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method used to apply taxes. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Retrieves QuickBooks exchange rates.
By default this view will only list rates about today's exchange rates. You can change the date by specifying a valid date for the column AsOfDate.
SELECT * FROM ExchangeRates SELECT * FROM ExchangeRates WHERE AsOfDate='2018/01/01' SELECT * FROM ExchangeRates WHERE SourceCurrencyCode='USD'
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
SourceCurrencyCode | String | False | True | False |
The source currency from which the exchange rate is specified. Specify as a three letter string representing the ISO 4217 code for the currency. | |
TargetCurrencyCode | String | False | False | False |
The target currency against which the exchange rate is specified. Specify as a three letter string representing the ISO 4217 code for the currency. | |
Rate | Double | False | False | False |
The exchange rate between SourceCurrencyCode and TargetCurrencyCode on the AsOfDate date. | |
AsOfDate | Date | False | True | False |
Date on which this exchange rate was set. | |
MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. |
Create, update, delete, and query QuickBooks Invoice Line Items.
Invoices may be inserted, queried, or updated via the Invoices or InvoiceLineItems tables. Invoices may be deleted by using the Invoices table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add an Invoice, specify a Customer and at least one Line Item. For example, the following will insert a new Invoice with two Line Items:
INSERT INTO InvoiceLineItems#TEMP (CustomerRef,Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount) VALUES ('4','SalesItemLineDetail', '2', 0.01) INSERT INTO InvoiceLineItems#TEMP (CustomerRef,Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount) VALUES ('4','SalesItemLineDetail', '3', 0.02) INSERT INTO InvoiceLineItems (CustomerRef,Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount) SELECT CustomerRef,Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount FROM InvoiceLineItems#TEMP
To add lines to an existing Invoice, You'll need to specify the InvoiceId in the WHERE clause for the INSERT command. For example:
INSERT INTO InvoiceLineItems#TEMP (InvoiceId,Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount) VALUES ('1234','SalesItemLineDetail', '2', 0.01) INSERT INTO InvoiceLineItems#TEMP (InvoiceId,Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount) VALUES ('1234','SalesItemLineDetail', '3', 0.02) INSERT INTO InvoiceLineItems (InvoiceId,Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount) SELECT InvoiceId,Line_DetailType, Line_SalesItemLineDetail_ItemRef,Line_Amount FROM InvoiceLineItems#TEMP
To update an existing Line Item, you'll need to specify the LineId. You can only update Line Items which have a Detail Type of SalesItemLineDetail.
UPDATE InvoiceLineItems SET Line_SalesItemLineDetail_Qty=20 WHERE LineId='5656'
To delete existing Line Items, you'll need to set the LineId and InvoiceId:
DELETE From InvoiceLineItems WHERE LineId='5656' AND InvoiceId='1'
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | False |
The Id of the line item of the invoice. | |
InvoiceId [KEY] | String | False |
Invoices.Id | True | True |
The Id of the invoice. |
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 |
The 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 for the transaction, which does not appear on the transaction records. | |
TxnStatus | String | False | False | False |
The status of the transaction. 使用できる値は次のとおりです。Accepted, Closed, Pending, Rejected | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
Line_Id | String | False | False | False |
The Id of the line item. | |
Line_LineNum | String | False | False | False |
The line number of the line item. | |
Line_Description | String | False | False | False |
The description of the line item. | |
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_SalesItemLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item in the line item. |
Line_SalesItemLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item in the line item. |
Line_SalesItemLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class in the line item. |
Line_SalesItemLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class in the line item. |
Line_SalesItemLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item. | |
Line_SalesItemLineDetail_Qty | Double | False | False | False |
The number of items for the line item. | |
Line_SalesItemLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the item. |
Line_SalesItemLineDetail_DiscountAmt | Decimal | False | False | False |
The discount rate applied to an individual line item. If both DiscountAmt and DiscountRate are supplied, DiscountRate takes precedence and DiscountAmt is recalculated by QuickBooks services based on amount of DiscountRate. | |
Line_SalesItemLineDetail_ServiceDate | Date | False | False | False |
The service date for the item. | |
Line_GroupLineDetail_GroupItemRef | String | True | False | False |
The Id of the group item object. | |
Line_GroupLineDetail_GroupItemRef_Name | String | True | False | False |
The name of the group item object. | |
Line_GroupLineDetail_Quantity | Integer | True | False | False |
The amount of the group item. | |
Line_DiscountLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class in the line item. |
Line_DiscountLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class in the line item. |
Line_DiscountLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the item. |
Line_DiscountLineDetail_TaxCodeRef_Name | String | True |
TaxCodes.Name | False | False |
The name for the tax sales code. |
Line_DiscountLineDetail_PercentBased | Boolean | False | False | False |
True if the discount is a percentage; null or false if discount based on amount. | |
Line_DiscountLineDetail_DiscountAccountRef | String | False | False | False |
The discount code for the item. | |
Line_DiscountLineDetail_DiscountAccountRef_Name | String | True | False | False |
The name for the discount account. | |
Line_DiscountLineDetail_DiscountPercent | Decimal | False | False | False |
Percentage by which the amount due is reduced, from 0% to 100%. To enter a discount of 8.5% use 8.5, not 0.085. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
TxnTaxDetail_TotalTax | String | False | False | False |
The 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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
CustomerMemo | String | False | False | False |
The message to the customer, which appears in the invoice and the printed invoice. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
First line of the address. | |
BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
Note for the customer. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales terms associated with the transaction. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales terms associated with the transaction. |
DueDate | Date | False | True | False |
The date when the invoice is to be paid, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
TotalAmt | Decimal | True | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Balance | Decimal | True | True | True |
This field indicates whether the transaction is a finance charge. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
AllowOnlineCreditCardPayment | Boolean | False | False | False |
It specifies if online credit card payments are allowed for this invoice and corresponds to the Cards online payment check box on the QuickBooks UI. | |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
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. Valid only if the company file is set up to use 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 for only the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create, update, delete, and query QuickBooks Invoice Line Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LinkedTxnId [KEY] | String | True | False | False |
The Id of the line item of the invoice. | |
InvoiceId [KEY] | String | False |
Invoices.Id | True | True |
The Id of the invoice. |
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 |
The 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 for the transaction, which does not appear on the transaction records. | |
TxnStatus | String | False | False | False |
The status of the transaction. 使用できる値は次のとおりです。Accepted, Closed, Pending, Rejected | |
LinkedTxn_TxnId | String | False | False | False |
The Id of the line item. | |
LinkedTxn_TxnType | String | False | False | False |
The line number of the line item. | |
LinkedTxn_TxnLineId | String | False | False | False |
The description of the line item. | |
LineAggregate | String | False | False | False |
An XML aggregate of line items associated with the transaction. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
TxnTaxDetail_TotalTax | String | False | False | False |
The 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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
CustomerMemo | String | False | False | False |
The message to the customer, which appears in the invoice and the printed invoice. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
First line of the address. | |
BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
Note for the customer. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales terms associated with the transaction. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales terms associated with the transaction. |
DueDate | Date | False | True | False |
The date when the invoice is to be paid, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
TotalAmt | Decimal | True | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Balance | Decimal | False | False | False |
This field indicates whether the transaction is a finance charge. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
AllowOnlineCreditCardPayment | Boolean | False | False | False |
It specifies if online credit card payments are allowed for this invoice and corresponds to the Cards online payment check box on the QuickBooks UI. | |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
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. Valid only if the company file is set up to use 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 for only the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create, update, delete, and query QuickBooks Invoices.
Invoices may be inserted, queried, or updated via the Invoices or InvoiceLineItems tables. Invoices may be deleted by using the Invoices table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add an Invoice, specify a Customer and at least one Line Item. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz). The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which Invoices. For example:
INSERT INTO Invoices (CustomerRef, LineAggregate) VALUES ('4', ' <Line><Amount>0.01</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>2</ItemRef></SalesItemLineDetail></Line> <Line><Amount>0.02</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>3</ItemRef></SalesItemLineDetail></Line> ')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the invoice. | |
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 |
The 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 that does not appear on the transaction records. | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
LineAggregate | String | False | False | False |
An XML aggregate of line items associated with the transaction. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code of the transaction. |
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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
CustomerMemo | String | False | False | False |
The message to the customer that appears in the invoice and in the printed invoice. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
First line of the address. | |
BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
Note for the customer. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales term associated with the transaction. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the transaction. |
DueDate | Date | False | True | False |
The date when the invoice is to be paid, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
BillEmailCc_Address | String | False | False | False |
The email address where the invoice is sent as CC. | |
BillEmailBcc_Address | String | False | False | False |
The email address where the invoice is sent as BCC. | |
Balance | Decimal | True | True | True |
This field indicates whether the transaction is a finance charge. | |
PaymentRefNum | String | False | False | False |
The reference number for the payment. | |
PaymentMethodRef | String | False | False | False |
The Id of the payment method. | |
PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method. |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
The asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
Name of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
DeliveryInfo_DeliveryType | String | False | False | False |
Type of the delivery. Used to confirm that email has been sent via the send operation. | |
DeliveryInfo_DeliveryTime | Datetime | False | False | False |
Delivery date and time. | |
Deposit | Decimal | False | False | False |
The deposit made towards this invoice. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which store the location of the transaction as defined using location tracking in QuickBooks Online. |
AllowOnlineCreditCardPayment | Boolean | False | False | False |
It specifies if online credit card payments are allowed for this invoice and corresponds to the Cards online payment check box on the QuickBooks UI. | |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
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 valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | True | False | False |
Total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. | |
AllowOnlineACHPayment | Boolean | False | False | False |
Specifies if this invoice can be paid with online bank transfers and corresponds to the Free bank transfer online payment check box on the QuickBooks UI. | |
InvoiceLink | String | True | False | False |
Sharable link for the invoice sent to external customers. |
Create, update, delete, and query QuickBooks Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the item. | |
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. | |
Name | String | False | True | True |
The name of the item. | |
FullyQualifiedName | String | False | False | False |
The fully qualified name of the item. The fully qualified name consists the topmost parent element followed by each subelement and separated by colons. For example: Parent:Account1:SubAccount1:SubAccount2. | |
Description | String | False | False | False |
The description for the item that describes the details of the service or product. | |
Active | Boolean | False | True | False |
This column sets whether the item active. Inactive items may be hidden from display and are not used in financial transactions. | |
ParentRef | String | False |
Items.Id | False | True |
The Id of the parent entity of the item. If SubItem is true, then ParenRef is required. |
ParentRef_Name | String | True |
Items.Name | False | False |
A name that identifies the parent entity of the item. If SubItem is true, then ParenRef is required. |
PrefVendorRef | String | False |
Vendors.Id | False | True |
The Id of the vendor entity of the item. |
PrefVendorRef_Name | String | False |
Vendors.Name | False | False |
A name that identifies the vendor entity of the item. |
SubItem | Boolean | False | False | False |
This field indicates whether the item is a subitem. A value of false or null indicates a top-level item. | |
UnitPrice | Decimal | False | False | True |
Monetary value of the service or product, expressed in the home currency. | |
Type | String | False | True | True |
Classification that specifies the use of this item. 使用できる値は次のとおりです。Inventory, NonInventory, Service, Category, Group | |
Taxable | Boolean | False | False | False |
This field indicates whether the item is subject to tax. | |
AssetAccountRef | String | False |
Accounts.Id | False | False |
The Id of the inventory asset account. If the same inventory asset account is assigned for individual items, the current balance of that account will show the current total value of the inventory. However, individual items may have different account. |
AssetAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the inventory asset account. If the same inventory asset account is assigned for individual items, the current balance of that account will show the current total value of the inventory. However, individual items may have different accounts. |
IncomeAccountRef | String | False |
Accounts.Id | False | False |
The Id of the account that records the proceeds from the sale of this item. |
IncomeAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the account that records the proceeds from the sale of this item. |
PurchaseDesc | String | False | False | False |
The purchase description for the item. | |
PurchaseCost | Decimal | False | False | False |
The amount paid when buying or ordering the item, as expressed in the home currency. | |
ExpenseAccountRef | String | False |
Accounts.Id | False | False |
The Id of the expense account associated with the purchase item. |
ExpenseAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the expense account reference associated with the purchase item. |
QtyOnHand | Double | False | False | True |
The current quantity of the inventory items available for sale. | |
ReorderPoint | Double | False | False | False |
The minimum quantity of a product to have on hand. | |
InvStartDate | Date | False | False | False |
The date to start tracking inventory. Required if TrackQtyOnHand is set. | |
SalesTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The sales tax code for the item. |
PurchaseTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The purchase tax code for the item. |
TrackQtyOnHand | Boolean | False | False | False |
This field indicates whether there is quantity on hand to be tracked. | |
Level | Integer | True | False | False |
The level of the item. The value 0 indicates the top-level parent. Otherwise, this field specifies the depth from the top parent. | |
Sku | String | False | True | False |
The stock keeping unit (SKU) for this Item. This is a company-defined identifier for an item or product used in tracking inventory. | |
SalesTaxIncluded | Boolean | False | False | False |
This field indicates whether the sales tax is included in the item amount, and therefore not calculated for the transaction. | |
PurchaseTaxIncluded | Boolean | False | False | False |
This field indicates whether the purchase tax is included in the item amount, and therefore not calculated for the transaction. | |
ItemGroupDetail_ItemGroupLineAggregate | String | True | False | False |
One or more Item objects that comprise a bundle. | |
ClassRef | String | False |
Class.Id | False | False |
The ID for the referenced object as found in the Id field of the object payload. |
ClassRef_Name | String | False |
Class.Name | False | False |
An identifying name for the object being referenced by value. |
Create, update, delete, and query QuickBooks Journal Codes.
Applicable only for France-locale companies (FR locale). JournalCodes may be inserted, queried, or updated via the JournalCode table.
You can retrieve all JournalCode items from the table or a specific one specifying ID. Other filters processed server side are Name, MetaData_CreateTime, MetaData_LastUpdatedTime. You can also order the results by the same fields.
SELECT * FROM JournalCode WHERE Id=4 SELECT * FROM JournalCode WHERE MetaData_LastUpdatedTime='2018-07-26 08:29:22' SELECT * FROM JournalCode ORDER BY Name ASC SELECT * FROM JournalCode ORDER BY Id ASC SELECT * FROM JournalCode ORDER BY MetaData_CreateTime DESC
To add a JournalCode, there must be at least Name field specified, which must be unique. All the fields of JournalCode which are not readonly can be inserted as well.
INSERT INTO JournalCode (Name) VALUES ('New inserted')
All the fields of JournalCode which are not readonly can be updated.
UPDATE JournalCode SET Description='New Desc' WHERE Id=4
Delete is not supported for the table.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
Unique Identifier for a journal code entity. | |
Name | String | False | True | True |
A name representing the journal code. | |
Type | String | False | False | False |
The type of this journal code. The value cannot be changed once the object is created. 使用できる値は次のとおりです。Expenses, Sales, Bank, Nouveaux, Wages, Cash, Others | |
Description | String | False | True | False |
A free-form description of the journal code. | |
Active | Boolean | True | False | False |
Wether journal code object is active | |
Domain | String | True | False | False | ||
Sparse | Boolean | True | False | False | ||
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 |
Time the entity was created in the source domain. | |
MetaData_LastUpdatedTime | Datetime | True | True | True |
Time the entity was last updated in the source domain. | |
Time | Datetime | True | False | False |
Create, update, delete, and query QuickBooks Journal Entries.
JournalEntries may be inserted, queried, or updated via the JournalEntries or JournalEntryLineItems tables. JournalEntries may be deleted by using the JournalEntries table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
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 LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz).The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which JournalEntries. For example:
INSERT INTO JournalEntries (LineAggregate) VALUES (' <Line><Amount>0.02</Amount><DetailType>JournalEntryLineDetail</DetailType><JournalEntryLineDetail><PostingType>Debit</PostingType><Entity><Type>Customer</Type><EntityRef>24</EntityRef></Entity><AccountRef>33</AccountRef></JournalEntryLineDetail></Line> <Line><Amount>0.02</Amount><DetailType>JournalEntryLineDetail</DetailType><JournalEntryLineDetail><PostingType>Credit</PostingType><AccountRef>14</AccountRef></JournalEntryLineDetail></Line> ')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | 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 |
The 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. | |
LineAggregate | String | False | False | False |
An XML aggregate of the line items of a transaction. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The transaction tax code. |
TxnTaxDetail_TotalTax | String | False | False | False |
The 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 | False | 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, IN, and CA editions. | |
TransactionLocationType | String | False | False | False |
The account location. This field is valid in only the FR editions. 使用できる値は次のとおりです。WithinFrance, FranceOverseas, OutsideFranceWithEU, OutsideEU |
Create, update, delete, and query QuickBooks Journal Entry Line Items.
JournalEntries may be inserted, queried, or updated via the JournalEntries or JournalEntryLineItems tables. JournalEntries may be deleted by using the JournalEntries table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
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
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 | 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 and IN editions. |
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 and IN editions. | |
Line_JournalEntryLineDetail_TaxAmount | Decimal | False | False | False |
The tax applicable for this line item. This field is valid for the UK, AU, and IN 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, IN, and CA editions. |
Create, update, delete, and query QuickBooks Payment Line Items.
Payments may be inserted, queried, or updated via the Payments or PaymentLineItems tables. Payments may be deleted by using the Payments table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a Payment, specify a Customer, TotalAmt, and optionally Line Items. The following shows an example of inserting multiple Payments, each with a single line. To insert a Payment with multiple lines, see the example on the Payments table.
INSERT INTO PaymentLineItems#TEMP (CustomerRef, Line_Amount, Line_LinkedTxn_TxnType, Line_LinkedTxn_TxnId, TotalAmt) VALUES ('4', 0.01, 'Invoice', '116', 0.03) INSERT INTO PaymentLineItems#TEMP (CustomerRef, Line_Amount, Line_LinkedTxn_TxnType, Line_LinkedTxn_TxnId, TotalAmt) VALUES ('4', 0.02, 'Invoice', '117', 0.03) INSERT INTO PaymentLineItems (CustomerRef, Line_Amount, Line_LinkedTxn_TxnType, Line_LinkedTxn_TxnId, TotalAmt) SELECT CustomerRef, Line_Amount, Line_LinkedTxn_TxnType, Line_LinkedTxn_TxnId, TotalAmt FROM PaymentLineItems#TEMP
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | False |
The Id of the line item on the payment. | |
PaymentId [KEY] | String | False |
Payments.Id | True | True |
The Id of the payment. |
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. | |
TxnDate | Date | False | True | False |
The date entered by the user when this transaction occurred. | |
PrivateNote | String | False | False | False |
The private note about the transaction. This note will not appear on the transaction records by default. | |
TxnStatus | String | False | False | False |
The status of the transaction. For Payment entities, this status is always set to PAID. | |
Line_LinkedTxn_TxnId | String | False | False | False |
The Id of a linked transaction in the line item. | |
Line_Amount | Decimal | False | False | False |
Amount of the line item. | |
Line_LinkedTxn_TxnType | String | False | False | False |
The type of the transaction linked to the line item. | |
Line_LinkedTxn_TxnLineId | String | False | False | False |
The description of the line item. | |
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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
RemitToRef | String | True | False | False |
This field contains the Id of the entity for the party or location that the payment is to be remitted to or sent to. | |
RemitToRef_Name | String | True | False | False |
A name that identifies the party or location that the payment is to be remitted to or sent to. | |
ARAccountRef | String | False |
Accounts.Id | False | False |
Reference to the Accounts Receivable (Accounts Receivable account) account associated with the transaction. It is strongly recommended to always supply this field, even though it is ignored by QuickBooks Online, because QuickBooks Online has only one accounts receivable account. |
ARAccountRef_Name | String | True |
Accounts.Name | False | False |
Reference to the ARAccount (Accounts Receivable account) associated with the transaction. It is strongly recommended to always supply an ARAccountRef even though it is ignored by QBO, because QBO has only one accounts receivable account. |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
An optional asset account specification to designate the account the payment money needs to be deposited to. |
DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
The optional asset account specification to designate the account the payment money needs to be deposited to. |
PaymentMethodRef | String | False | False | False |
The Id of the payment method. | |
PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method. 使用できる値は次のとおりです。Cash, Check, CreditCard, Other |
PaymentRefNum | String | False | True | True |
The reference number for the payment received. | |
CreditCardPayment_CreditChargeInfo | String | False | False | False |
Holds credit card information to request a credit card payment from a merchant account service, but not any response or authorization information from the merchant account service provider. | |
CreditCardPayment_Number | String | False | False | False |
The credit card account number, as printed on the card. This field must not have white space or formatting characters. | |
CreditCardPayment_Type | String | False | False | False |
The type of credit card. | |
CreditCardPayment_NameOnAcct | String | False | False | False |
The name of the account holder, as printed on the card. | |
CreditCardPayment_CcExpiryMonth | Integer | False | False | False |
The expiration month on the card. | |
CreditCardPayment_CcExpiryYear | Integer | False | False | False |
4-digit expiration year on the card. | |
CreditCardPayment_BillAddrStreet | String | False | False | False |
The billing address. | |
CreditCardPayment_PostalCode | String | False | False | False |
The postal code. | |
CreditCardPayment_CommercialCardCode | String | False | False | False |
The code associated with commercial cards such as purchase, corporate, or business cards. Lower transaction fee rates apply for these cards when this field is defined. | |
CreditCardPayment_CCTxnMode | String | False | False | False |
Credit card transaction mode used in credit card payment transactions. 使用できる値は次のとおりです。CardNotPresent, CardPresent | |
CreditCardPayment_CCTxnType | String | False | False | False |
The type of credit card transaction. 使用できる値は次のとおりです。Authorization, Capture, Charge, Refund, VoiceAuthorization | |
CreditCardPayment_PrevCCTransId | String | False | False | False |
Id of the previous payment transaction. | |
TotalAmt | Decimal | False | True | True |
This field indicates the total amount of the entity associated. This includes the total of all the payments from the payment details. | |
UnappliedAmt | Decimal | False | False | False |
This field indicates the amount that has not been applied to pay amounts owed for sales transactions. | |
ProcessPayment | Boolean | False | False | False |
This field indicates that the payment should be processed by merchant account service. This field is valid for QuickBooks Online companies with credit card processing. | |
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 |
Currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. |
Create, update, delete, and query QuickBooks Payment Methods.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the payment method. | |
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. | |
Name | String | False | True | True |
The name of the payment method item. | |
Active | Boolean | False | False | False |
This field sets whether or not the payment method is active. Inactive payment methods may be hidden from display and may not be used on financial transactions. | |
Type | String | False | False | False |
Defines the type, or the way the payment was made. |
Create, update, delete, and query QuickBooks Payments.
Payments may be inserted, queried, or updated via the Payments or PaymentLineItems tables. Payments may be deleted by using the Payments table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a Payment, specify a Customer and at least one item Line Item. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz). The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which Payments. For example
INSERT INTO Payments (CustomerRef, TotalAmt, LineAggregate) VALUES ('4', '0.03', ' <Line><Amount>0.01</Amount><LinkedTxn><TxnId>116</TxnId><TxnType>Invoice</TxnType></LinkedTxn></Line> <Line><Amount>0.02</Amount><LinkedTxn><TxnId>117</TxnId><TxnType>Invoice</TxnType></LinkedTxn></Line> ')
To automatically add payments for invoices up to a specific total amount, set AutoInvoice to true. You must also supply a Customer and a positive TotalAmt. Your unpaid invoices will be paid from the soonest due to the oldest one.
INSERT INTO Payments (CustomerRef, TotalAmt, AutoInvoice) VALUES ('4', 27.5, true)
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the payment. | |
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. | |
TxnDate | Date | False | True | False |
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. | |
TxnStatus | String | False | False | False |
The status of the transaction. For payment entities, this status is always set to PAID. | |
LineAggregate | String | False | False | False |
A line item of a transaction. | |
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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
RemitToRef | String | True | False | False |
The Id of the entity for the party or location that the payment is to be remitted to or sent to. | |
RemitToRef_Name | String | True | False | False |
The name of the party or location that the payment is to be remitted to or sent to. | |
ARAccountRef | String | False |
Accounts.Id | False | False |
The Id of the Accounts Receivable account (ARAccount) associated with the transaction. It is strongly recommended to always supply this field, even though it is ignored by QuickBooks Online, because QuickBooks Online has only one accounts recievable account. |
ARAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the Accounts Receivable account (ARAccount) associated with the transaction. It is strongly recommended to always supply this field, even though it is ignored by QuickBooks Online, because QuickBooks Online has only one accounts recievable account. |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
An optional asset account specification. The Id of the asset account that designates the account the payment money needs to be deposited to. |
DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
An optional asset account specification. The name of the account the payment money needs to be deposited to. |
PaymentMethodRef | String | False | False | False |
The Id of the payment method. | |
PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method. 使用できる値は次のとおりです。Cash, Check, CreditCard, Other |
PaymentRefNum | String | False | True | True |
The reference number for the payment received. | |
CreditCardPayment_CreditChargeInfo | String | False | False | False |
This field holds credit card information to request a credit card payment from a merchant account service, but not any response or authorization information from the merchant account service provider. | |
CreditCardPayment_Number | String | False | False | False |
The credit card account number, as printed on the card. This field must not have white space or formatting characters. | |
CreditCardPayment_Type | String | False | False | False |
The type of credit card. | |
CreditCardPayment_NameOnAcct | String | False | False | False |
The account holder name as printed on the card. | |
CreditCardPayment_CcExpiryMonth | Integer | False | False | False |
The expiration month on the card. | |
CreditCardPayment_CcExpiryYear | Integer | False | False | False |
The 4-digit expiration year on the card. | |
CreditCardPayment_BillAddrStreet | String | False | False | False |
The street of the billing address. | |
CreditCardPayment_PostalCode | String | False | False | False |
The postal code. | |
CreditCardPayment_CommercialCardCode | String | False | False | False |
The code associated with commercial cards such as purchase, corporate, or business cards. Lower transaction fee rates apply for these cards when this field is defined. | |
CreditCardPayment_CCTxnMode | String | False | False | False |
The credit card transaction mode used in credit card payment transactions. 使用できる値は次のとおりです。CardNotPresent, CardPresent | |
CreditCardPayment_CCTxnType | String | False | False | False |
The type of credit card transaction. 使用できる値は次のとおりです。Authorization, Capture, Charge, Refund, VoiceAuthorization | |
CreditCardPayment_PrevCCTransId | String | False | False | False |
The Id of the previous payment transaction. | |
TotalAmt | Decimal | False | True | True |
The total amount of the entity associated. This includes the total of all the payments from the payment details. | |
UnappliedAmt | Decimal | False | False | False |
The amount that has not been applied to pay amounts owed for sales transactions. | |
ProcessPayment | Boolean | False | False | False |
This field indicates that the payment should be processed by merchant account service. This field is valid for companies with credit card processing enabled in QuickBooks Online. | |
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 valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
TransactionLocationType | String | False | False | False |
The account location. This field is valid in only the FR editions. 使用できる値は次のとおりです。WithinFrance, FranceOverseas, OutsideFranceWithEU, OutsideEU |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
AutoInvoice | Boolean |
Set to true to apply payments to invoices automatically (starting from oldest to newest). |
Query QuickBooks Preferences. The Preferences table contains settings for company-wide preferences, which affect all users.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | False | False |
The Id of the preference record. | |
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 | False | False |
The time the record was created. | |
MetaData_LastUpdatedTime | Datetime | True | False | False |
The time the record was last updated. | |
AccountingInfoPrefs_TrackDepartments | Boolean | False | False | False |
This setting corresponds to the Track locations preference in QuickBooks Online Company Settings under Categories. | |
AccountingInfoPrefs_DepartmentTerminology | String | False | False | False |
Specifies the term used by the company for department. This string is used as a label on transaction forms. | |
AccountingInfoPrefs_ClassTrackingPerTxnLine | Boolean | False | False | False |
These settings correspond to how classes are assigned when Track classes in QuickBooks Online Company Settings under Categories is set to On. | |
AccountingInfoPrefs_ClassTrackingPerTxn | Boolean | False | False | False |
These settings correspond to how classes are assigned when Track classes in QuickBooks Online Company Settings under Categories is set to On. | |
AccountingInfoPrefs_CustomerTerminology | String | True | False | False |
A value used for describing customers in the UI. | |
AccountingInfoPrefs_BookCloseDate | Date | True | False | False |
This setting corresponds to the Closing date preference in the QuickBooks Online Company Settings and specifies the date the books are closed: income and expense accounts are closed and net profit or loss is rolled up into the retained earnings account. Transactions before this date are protected from changes. | |
AccountingInfoPrefs_UseAccountNumbers | Boolean | True | False | False |
This setting corresponds to Enable account numbers in QuickBooks Online Company Settings. | |
AccountingInfoPrefs_FirstMonthOfFiscalYear | String | True | False | False |
This setting corresponds to the First month of fiscal year preference in the QuickBooks Online Company Settings to specify the beginning of the company's fiscal year. | |
AccountingInfoPrefs_TaxYearMonth | String | True | False | False |
This setting corresponds to the First month of income tax year preference in the QuickBooks Online Company Settings to specify the beginning of the company's fiscal year. | |
TaxPrefs_UsingSalesTax | Boolean | False | False | False |
This field sets whether sales tax is enabled. | |
TaxPrefs_TaxGroupCodeRef | String | False | False | False |
The first-used tax code on a sales form after a new sales tax center has been enabled. | |
CurrencyPrefs_MultiCurrencyEnabled | String | False | False | False |
This field sets whether multicurrency is enabled for this company. | |
CurrencyPrefs_HomeCurrency | String | False | False | False |
The currency code of the country where the business is located. | |
ProductAndServicesPrefs_ForSales | Boolean | False | False | False |
This field indicates whether the Product and Services for Sales preference is enabled. | |
ProductAndServicesPrefs_ForPurchase | Boolean | False | False | False |
This field indicates whether the Product and Services for Purchase preference is enabled. | |
ProductAndServicesPrefs_QuantityWithPriceAndRate | Boolean | False | False | False |
This field indicates whether quantity with price and rate is enabled. | |
ProductAndServicesPrefs_QuantityOnHand | Boolean | True | False | False |
This field indicates whether QuantityOnHand is enabled. | |
SalesFormsPrefs_AllowDiscount | Boolean | False | False | False |
This field allows discounts to be specified. | |
SalesFormsPrefs_AllowDeposit | Boolean | False | False | False |
Allows deposits to be specified. | |
SalesFormsPrefs_AllowShipping | Boolean | False | False | False |
Allows the use of Shipping Info fields. | |
SalesFormsPrefs_AllowServiceDate | Boolean | False | False | False |
Allows the use of Service Date fields. | |
SalesFormsPrefs_AllowEstimates | Boolean | False | False | False |
Allows the use of Estimate entities. | |
SalesFormsPrefs_CustomTxnNumbers | Boolean | False | False | False |
Sets whether custom transaction numbers can be specified. | |
SalesFormsPrefs_DefaultTerms | Integer | False | False | False |
Default sales terms. | |
SalesFormsPrefs_EstimateMessage | String | False | False | False |
Message to the customers on estimates. | |
SalesFormsPrefs_DefaultDiscountAccount | String | False | False | False |
Default discount account. | |
SalesFormsPrefs_DefaultShippingAccount | String | False | False | False |
Default shipping account. | |
SalesFormsPrefs_DefaultCustomerMessage | String | False | False | False |
Default customer message. | |
SalesFormsPrefs_IPNSupportEnabled | Boolean | False | False | False |
Enables support for IPN. | |
SalesFormsPrefs_ETransactionEnabledStatus | String | False | False | False |
This field enables ETransaction status. | |
SalesFormsPrefs_ETransactionAttachPDF | Boolean | False | False | False |
This field indicates whether PDFs may be attached to ETransactions. | |
SalesFormsPrefs_ETransactionPaymentEnabled | Boolean | False | False | False |
This field indicates whether payment entities can be used with ETransactions. | |
VendorAndPurchasesPrefs_TrackingByPreferences | Boolean | False | False | False |
Enables tracking by using settings in preferences. | |
VendorAndPurchasesPrefs_TrackingByCustomer | Boolean | False | False | False |
Enables tracking using customer information. | |
VendorAndPurchasesPrefs_BillableExpenseTracking | Boolean | False | False | False |
Enables tracking using billable expense fields. | |
VendorAndPurchasesPrefs_WorkWeekStartDate | Date | False | False | False |
Sets the starting day of the work week. | |
TimeTrackingPrefs_UseServices | Boolean | False | False | False |
Enables time tracking services. | |
TimeTrackingPrefs_BillPreferences | Boolean | False | False | False |
Enables billing for time tracking entries. | |
TimeTrackingPrefs_BillCustomers | Boolean | False | False | False |
Enables time tracking services for the customer in a bill. | |
TimeTrackingPrefs_ShowBillRateToAll | Boolean | False | False | False |
Billing rate to all employees enabled. | |
TimeTrackingPrefs_WorkWeekStartDate | String | False | False | False |
The starting day of the work week. | |
TimeTrackingPrefs_MarkTimeEntiresBillable | Boolean | False | False | False |
This field sets whether to mark time entries as billable. | |
EmailMessagesPrefs_InvoiceMessage_Subject | String | False | False | False |
The subject portion of the default invoice message. | |
EmailMessagesPrefs_InvoiceMessage_Message | String | False | False | False |
The message portion of the default invoice message. | |
EmailMessagesPrefs_EstimateMessage_Subject | String | False | False | False |
The subject portion of the default estimate message. | |
EmailMessagesPrefs_EstimateMessage_Message | String | False | False | False |
The message portion of the default estimate message. | |
EmailMessagesPrefs_SalesReceiptMessage_Subject | String | False | False | False |
The subject portion of the default sales receipt message. | |
EmailMessagesPrefs_SalesReceiptMessage_Message | String | False | False | False |
The message portion of the default sales receipt message. | |
EmailMessagesPrefs_StatementMessage_Subject | String | False | False | False |
The subject portion of the default statement message. | |
EmailMessagesPrefs_StatementMessage_Message | String | False | False | False |
The message portion of the default statement message. | |
OtherPrefs_NameValueAggregate | String | False | False | False |
This field specifies an extension of the preference entity to allow name-value pairs in the custom fields at the top level. |
Create, update, delete, and query QuickBooks Purchase Line Items.
Purchases may be inserted, queried, or updated via the Purchases or PurchaseLineItems tables. Purchases may be deleted by using the Purchases table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a Purchase, specify the AccountRef, PaymentType, and at least one Line Item. The following shows an example of inserting multiple Purchases, each with a single line. To insert a Purchase with multiple lines, see the example on the Purchases table.
INSERT INTO PurchaseLineItems#TEMP (AccountRef, PaymentType, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_AccountRef) VALUES ('41', 'Cash', 0.01, 'ItemBasedExpenseLineDetail', '8') INSERT INTO PurchaseLineItems#TEMP (AccountRef, PaymentType, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_AccountRef) VALUES ('41', 'Cash', 0.02, 'ItemBasedExpenseLineDetail', '8') INSERT INTO PurchaseLineItems (AccountRef, PaymentType, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_AccountRef) SELECT AccountRef, PaymentType, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_AccountRef FROM PurchaseLineItems#TEMP
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | False |
The Id of the line item of the purchase. | |
PurchaseId [KEY] | String | False |
Purchases.Id | True | True |
The Id of the purchase. |
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 |
The reference number for the transaction. | |
TxnDate | Date | False | True | True |
The date 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. This field maps to the Memo field on the Check and CreditCard form. | |
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 total amount of the charges or discounts for the given line. This field includes the charges and allowances, but it excludes the tax amount. | |
Line_DetailType | String | False | False | False |
The type of line in the transaction. | |
Line_ItemBasedExpenseLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item in the line item. When a line item lacks an ItemRef it is treated as documentation and the Line.Amount attribute is ignored. |
Line_ItemBasedExpenseLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item. When a line item lacks an ItemRef it is treated as documentation and the Line_Amount field is ignored. |
Line_ItemBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class for the line item. |
Line_ItemBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.Name | False | False |
The name of the class for the line item. |
Line_ItemBasedExpenseLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the subject item as referenced by ItemRef. | |
Line_ItemBasedExpenseLineDetail_Qty | Double | False | False | False |
Number of items for the line. | |
Line_ItemBasedExpenseLineDetail_RatePercent | Double | False | False | False |
The amount is expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01. | |
Line_ItemBasedExpenseLineDetail_MarkupInfo_Value | Double | False | False | False |
Markup value. | |
Line_ItemBasedExpenseLineDetail_MarkupInfo_Percent | Double | False | False | False |
Markup amount expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01. | |
Line_ItemBasedExpenseLineDetail_MarkupInfo_PriceLevelRef | String | False | False | False |
The Id of the entity for the price level for the markup. | |
Line_ItemBasedExpenseLineDetail_MarkupInfo_PriceLevelRef_Name | String | True | False | False |
A name that identifies the price level for the markup. | |
Line_ItemBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The sales tax code for this item. |
Line_ItemBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The Id of the customer associated with the expense. |
Line_ItemBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer associated with the expense. |
Line_ItemBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of the expense. 使用できる値は次のとおりです。Billable, NotBillable, HasBeenBilled | |
Line_AccountBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class entity of the expense. |
Line_AccountBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.Name | False | False |
The name of the class entity of the expense. |
Line_AccountBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The customer id for the expense. |
Line_AccountBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The customer name for the expense. |
Line_AccountBasedExpenseLineDetail_AccountRef | String | False |
Accounts.Id | False | False |
The Id of the expense account of the expense. |
Line_AccountBasedExpenseLineDetail_AccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the expense account of the expense. |
Line_AccountBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of the expense. 使用できる値は次のとおりです。Billable, NotBillable, HasBeenBilled | |
Line_AccountBasedExpenseLineDetail_MarkupInfo_Value | Double | False | False | False |
Markup value. | |
Line_AccountBasedExpenseLineDetail_MarkupInfo_Percent | Double | False | False | False |
Markup amount expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01. | |
Line_AccountBasedExpenseLineDetail_MarkupInfo_PriceLevelRef | String | False | False | False |
The Id of price level for the markup. | |
Line_AccountBasedExpenseLineDetail_MarkupInfo_PriceLevelRef_Name | String | True | False | False |
The name of the price level for the markup. | |
Line_AccountBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The type of line in the transaction. |
AccountRef | String | False |
Accounts.Id | False | False |
The Id of the account associated with the transaction. |
AccountRef_Name | String | True |
Accounts.Name | False | False |
A name that identifies the account associated with the transaction. Checks should reference a bank account and CreditCard should reference a credit card account. |
PaymentType | String | False | True | True |
The expense type. 使用できる値は次のとおりです。Cash, Check, CreditCard | |
EntityRef | String | False | False | False |
Specifies the party with whom an expense is associated. | |
EntityRef_Name | String | True | False | False |
Specifies the party with whom an expense is associated. | |
Credit | Boolean | False | False | False |
This field is valid only for the CreditCard payment type. | |
TotalAmt | Decimal | True | True | True |
The total amount due, determined the sum of the line items. This includes all charges, allowances, taxes, discounts, etc. | |
PrintStatus | String | False | False | False |
The print status of the payment. This field is applicable only for checks. It is ignored for credit card charges or refunds. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction. |
Status | String | True | False | False |
The status of the purchase. | |
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. | |
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 | Double | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create, update, delete, and query QuickBooks Purchase Order Line Items.
PurchaseOrders may be inserted, queried, or updated via the PurchaseOrders or PurchaseOrderLineItems tables. PurchaseOrders may be deleted by using the PurchaseOrders table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a PurchaseOrder, specify the Vendor, TotalAmt, and at least one Line Item. The following shows an example of inserting multiple PurchaseOrders, each with a single line. To insert a PurchaseOrder with multiple lines, see the example on the PurchaseOrders table.
INSERT INTO PurchaseOrderLineItems#TEMP (VendorRef, Line_Amount, Line_DetailType, Line_ItemBasedExpenseLineDetail_ItemRef, TotalAmt) VALUES ('21', 0.01, 'ItemBasedExpenseLineDetail', '2', 0.03) INSERT INTO PurchaseOrderLineItems#TEMP (VendorRef, Line_Amount, Line_DetailType, Line_ItemBasedExpenseLineDetail_ItemRef, TotalAmt) VALUES ('21', 0.02, 'ItemBasedExpenseLineDetail', '3', 0.03) INSERT INTO PurchaseOrderLineItems (VendorRef, Line_Amount, Line_DetailType, Line_ItemBasedExpenseLineDetail_ItemRef, TotalAmt) SELECT VendorRef, Line_Amount, Line_DetailType, Line_ItemBasedExpenseLineDetail_ItemRef, TotalAmt FROM PurchaseOrderLineItems#TEMP
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | True |
The Id of the line item of the purchase order. | |
PurchaseOrderId [KEY] | String | False | True | False |
The Id of the purchase order. | |
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 |
The reference number for the transaction. | |
TxnDate | Date | False | True | True |
The date 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. | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
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. It represents the discount amount, charge amount, tax amount, or subtotal amount based on the value of the DetailType field. | |
Line_DetailType | String | False | False | False |
The type of line in the transaction. | |
Line_ItemBasedExpenseLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item of the line item. When a line lacks an ItemRef it is treated as documentation and the Line_Amount field is ignored. |
Line_ItemBasedExpenseLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item of the line item. When a line lacks an ItemRef it is treated as documentation and the Line_Amount field is ignored. |
Line_ItemBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class for the line item. |
Line_ItemBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class for the line item. |
Line_ItemBasedExpenseLineDetail_UnitPrice | Decimal | False | False | False |
The price of the referenced item. | |
Line_ItemBasedExpenseLineDetail_Qty | Double | False | False | False |
The number of items for the line. | |
Line_ItemBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The sales tax code for this item. |
Line_ItemBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The Id of the customer associated with the expense. |
Line_ItemBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer associated with the expense. |
Line_ItemBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of the expense. 使用できる値は次のとおりです。Billable, NotBillable, HasBeenBilled | |
Line_AccountBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class entity of the expense. |
Line_AccountBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class entity of the expense. |
Line_AccountBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The customer Id for the expense. |
Line_AccountBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The customer name for the expense. |
Line_AccountBasedExpenseLineDetail_AccountRef | String | False |
Accounts.Id | False | False |
The Id of the expense account of the expense. |
Line_AccountBasedExpenseLineDetail_AccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the expense account of the expense. |
Line_AccountBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The sales tax code for the expense. |
Line_AccountBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of the expense. 使用できる値は次のとおりです。Billable, NotBillable, HasBeenBilled | |
Line_AccountBasedExpenseLineDetail_MarkupInfo_Value | Double | False | False | False |
Markup value. | |
Line_AccountBasedExpenseLineDetail_MarkupInfo_Percent | Double | False | False | False |
Markup amount expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01. | |
VendorRef | String | False |
Vendors.Id | False | False |
The Id of the vendor for this transaction. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor for this transaction. |
APAccountRef | String | False |
Accounts.Id | True | True |
The accounts-payable account the bill is credited to. Many/most small businesses have a single accounts-payable account, so the account can be implied. When specified, the account must be a Liability account, and further, the subtype must be of type Payables. |
APAccountRef_Name | String | True |
Accounts.Name | False | False |
The accounts-payable account to which the bill is credited. Many/most small businesses have a single accounts-payable account, so the account can be implied. When specified, the account must be a Liability account, and further, the subtype must be of type Payables. |
TotalAmt | Decimal | True | True | True |
The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, and discounts. | |
VendorAddr_Id | String | True | False | False |
The Id of the entity for the vendor address, mainly used for modifying the address. This field is assigned by the data service. | |
VendorAddr_Line1 | String | True | False | False |
First line of the vendor address. | |
VendorAddr_Line2 | String | True | False | False |
Second line of the vendor address. | |
VendorAddr_Line3 | String | True | False | False |
Third line of the vendor address. | |
VendorAddr_Line4 | String | True | False | False |
Fourth line of the vendor address. | |
VendorAddr_Line5 | String | True | False | False |
Fifth line of the vendor address. | |
VendorAddr_City | String | True | False | False |
City name. | |
VendorAddr_Country | String | True | False | False |
Country name. | |
VendorAddr_CountrySubDivisionCode | String | True | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
VendorAddr_PostalCode | String | True | False | False |
Postal code. For example the zip code for the USA and Canada. | |
VendorAddr_Note | String | True | False | False |
Note for the customer. | |
VendorAddr_Lat | String | True | False | False |
The latitude coordinate of the geocoded vendor address. | |
VendorAddr_Long | String | True | False | False |
The longitude coordinate of the geocoded vendor address. | |
ShipAddr_Id | String | False | False | False |
The Id of the Intuit entity for the address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the shipping address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the shipping address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the shipping address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the shipping address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the shipping address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, state name for the USA, province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ShipMethodRef | String | False | False | False |
The Id of the entity for the shipping method. This entity is a reference type of all Ids that are taken as input or output. | |
ShipMethodRef_Name | String | True | False | False |
The name of the entity for the shipping method. This entity is a reference type of all Ids that are taken as input or output. | |
POStatus | String | False | False | False |
Enumeration of status for purchase order. 使用できる値は次のとおりです。Open, Closed | |
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. | |
TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the purchase. This field is valid in only the UK, AU, IN, and CA editions. |
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 valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create, update, delete, and query QuickBooks Invoice Line Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LinkedTxnId [KEY] | String | True | False | False |
The Id of the line item of the invoice. | |
PurchaseOrderId [KEY] | String | False | True | True |
The Id of the invoice. | |
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 |
The 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 for the transaction, which does not appear on the transaction records. | |
LinkedTxn_TxnId | String | False | False | False |
The Id of the line item. | |
LinkedTxn_TxnType | String | False | False | False |
The line number of the line item. | |
LinkedTxn_TxnLineId | String | False | False | False |
The description of the line item. | |
LineAggregate | String | False | False | False |
An XML aggregate of line items associated with the transaction. | |
TotalAmt | Decimal | True | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
VendorRef | String | False |
Vendors.Id | False | False |
The Id of the vendor. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor. |
APAccountRef | String | False |
Accounts.Id | True | True |
The Id of the accounts-payable account to which the bill is credited. This account is implied when a company has a single accounts-payable account. When specified, the account must be a Liability account and the subtype must be of type Payables. |
APAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the accounts-payable account to which the bill is credited. This account is implied when a company has a single accounts-payable account. When specified, the account must be a Liability account and the subtype must be of type Payables. |
Create, update, delete, and query QuickBooks Purchase Orders.
PurchaseOrders may be inserted, queried, or updated via the PurchaseOrders or PurchaseOrderLineItems tables. PurchaseOrders may be deleted by using the PurchaseOrders table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
The driver processes other filters client-side within the driver.
To add a PurchaseOrder, specify the Vendor, TotalAmt, and at least one Line Item. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz). The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which PurchaseOrders. For example:
INSERT INTO PurchaseOrders (VendorRef, TotalAmt, LineAggregate) VALUES ('21', '0.03', ' <Line><Amount>0.01</Amount><DetailType>ItemBasedExpenseLineDetail</DetailType><ItemBasedExpenseLineDetail><ItemRef>2</ItemRef></ItemBasedExpenseLineDetail></Line> <Line><Amount>0.02</Amount><DetailType>ItemBasedExpenseLineDetail</DetailType><ItemBasedExpenseLineDetail><ItemRef>3</ItemRef></ItemBasedExpenseLineDetail></Line> ')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the purchase order. | |
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 |
The 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. | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
LineAggregate | String | False | False | False |
An XML aggregate of line items in the transaction. | |
VendorRef | String | False |
Vendors.Id | False | False |
The Id of the vendor. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor. |
APAccountRef | String | False |
Accounts.Id | True | True |
The Id of the accounts-payable account to which the bill is credited. This account is implied when a company has a single accounts-payable account. When specified, the account must be a Liability account and the subtype must be of type Payables. |
APAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the accounts-payable account to which the bill is credited. This account is implied when a company has a single accounts-payable account. When specified, the account must be a Liability account and the subtype must be of type Payables. |
TotalAmt | Decimal | True | True | True |
The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, and discounts. | |
VendorAddr_Id | String | True | False | False |
Id of the Intuit entity for the vendor address, mainly used for modifying the address. This field is assigned by the data service. | |
VendorAddr_Line1 | String | True | False | False |
First line of the address. | |
VendorAddr_Line2 | String | True | False | False |
Second line of the address. | |
VendorAddr_Line3 | String | True | False | False |
Third line of the address. | |
VendorAddr_Line4 | String | True | False | False |
Fourth line of the address. | |
VendorAddr_Line5 | String | True | False | False |
Fifth line of the address. | |
VendorAddr_City | String | True | False | False |
City name. | |
VendorAddr_Country | String | True | False | False |
Country name. | |
VendorAddr_CountrySubDivisionCode | String | True | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
VendorAddr_PostalCode | String | True | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
VendorAddr_Note | String | True | False | False |
Note for the customer. | |
VendorAddr_Lat | String | True | False | False |
Latitude coordinate of the geocoded vendor address. | |
VendorAddr_Long | String | True | False | False |
Longitude coordinate of the geocoded vendor address. | |
ShipAddr_Id | String | False | False | False |
Id of the Intuit entity for the shipping address, mainly used for modifying the address. Read-only; assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, state name for USA, province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, zip code for USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
Latitude coordinate of the Geocode (Geospacial Entity Object Code). | |
ShipAddr_Long | String | False | False | False |
Longitude coordinate of the Geocode (Geospacial Entity Object Code). | |
ShipMethodRef | String | False | False | False |
Reference type of all Ids that are taken as input or output. | |
ShipMethodRef_Name | String | True | False | False |
Reference type of all Ids that are taken as input or output. | |
POStatus | String | False | False | False |
Enumeration of the purchase order status. 使用できる値は次のとおりです。Open, Closed | |
POEmail_Address | String | False | False | False |
Enumeration of the purchase order status. 使用できる値は次のとおりです。Open, Closed | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code of the transaction. |
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. | |
TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the purchase. This field is valid in the UK, AU, IN, and CA editions. |
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 |
Currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method used to apply the tax. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create, update, delete, and query QuickBooks Purchases.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the purchase. | |
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 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. This field maps to the Memo field on the Check and CreditCard form. | |
LineAggregate | String | False | False | False |
A line item of a transaction. | |
AccountRef | String | False |
Accounts.Id | False | False |
The Id of the account associated with the purchase. Check payments should reference a bank account and credit card purchases should refer to a credit card account. |
AccountRef_Name | String | True |
Accounts.Name | False | False |
A name that identifies the account associated with the purchase. Checks should reference a bank account and credit card purchases should refer to a credit card account. |
PaymentType | String | False | True | True |
The payment type. 使用できる値は次のとおりです。Cash, Check, CreditCard | |
EntityRef | String | False | False | False |
The Id of the entity for the party the expense is associated with. | |
EntityRef_Name | String | True | False | False |
A name that identifies the party the expense is associated with. | |
Credit | Boolean | False | False | False |
This field is valid only for the credit card payment type. | |
TotalAmt | Decimal | True | True | True |
The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, discounts, etc. | |
PrintStatus | String | False | False | False |
The print status of the purchase. This field is applicable only for checks and ignored for credit card charges or refunds. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction. |
Status | String | True | False | False |
The status of the purchase. | |
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. | |
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 valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
TransactionLocationType | String | False | False | False |
The account location. This field is valid in only the FR editions. 使用できる値は次のとおりです。WithinFrance, FranceOverseas, OutsideFranceWithEU, OutsideEU |
Create and query QuickBooks Recurring Transactions for Credit Memos.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
CreditMemo_Id [KEY] | String | True | False | False |
The Id of the credit memo. | |
CreditMemo_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. | |
CreditMemo_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
CreditMemo_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
CreditMemo_CustomFieldAggregate | String | False | False | False |
An XML aggregate of custom fields for the credit memo. | |
CreditMemo_DocNumber | String | False | True | True |
The reference number for the transaction. | |
CreditMemo_TxnDate | Date | False | True | True |
The date when this transaction occurred. | |
CreditMemo_PrivateNote | String | False | False | False |
The private note about the transaction. This note will not appear on the transaction records by default. | |
CreditMemo_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
CreditMemo_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
CreditMemo_TxnStatus | String | False | False | False |
The status of the transaction. Depending on the transaction type it may have different values. For sales transactions, the acceptable values are defined in PaymentStatusEnum. For estimates, the values accepted are defined in QboEstimateStatusEnum. | |
CreditMemo_LinkedTxnAggregate | String | False | False | False |
Zero or more linked transactions. | |
CreditMemo_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
CreditMemo_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
CreditMemo_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
CreditMemo_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
CreditMemo_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
CreditMemo_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
CreditMemo_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
CreditMemo_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
CreditMemo_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
CreditMemo_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
CreditMemo_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
CreditMemo_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
CreditMemo_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
CreditMemo_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
CreditMemo_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
CreditMemo_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
CreditMemo_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
CreditMemo_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
CreditMemo_LineAggregate | String | False | False | False |
An XML aggregate of line items on the credit memo. | |
CreditMemo_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
CreditMemo_TxnTaxDetail_TotalTax | String | False | False | False |
The total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
CreditMemo_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
CreditMemo_CustomerRef | String | False |
Customers.Id | True | True |
The Id of the customer. |
CreditMemo_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer or job. |
CreditMemo_CustomerMemo | String | False | False | False |
The message to the customer, visible on the transaction. | |
CreditMemo_BillAddr_Id | String | False | False | False |
The Id of the entity for the address, mainly used for modifying the address. This value is assigned by the data service. | |
CreditMemo_BillAddr_Line1 | String | False | False | False |
The first line of the address. | |
CreditMemo_BillAddr_Line2 | String | False | False | False |
The second line of the address. | |
CreditMemo_BillAddr_Line3 | String | False | False | False |
The third line of the address. | |
CreditMemo_BillAddr_Line4 | String | False | False | False |
The fourth line of the address. | |
CreditMemo_BillAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
CreditMemo_BillAddr_City | String | False | False | False |
The city name. | |
CreditMemo_BillAddr_Country | String | False | False | False |
The country name. | |
CreditMemo_BillAddr_CountrySubDivisionCode | String | False | False | False |
The country region. The state name for the USA or the province name for Canada. | |
CreditMemo_BillAddr_PostalCode | String | False | False | False |
The postal code. The zip code for the USA and Canada. | |
CreditMemo_BillAddr_Note | String | False | False | False |
The note for the customer. | |
CreditMemo_BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
CreditMemo_BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
CreditMemo_ShipAddr_Id | String | False | False | False |
The Id of the entity for hte address. | |
CreditMemo_ShipAddr_Line1 | String | False | False | False |
The first line of the shipping address. | |
CreditMemo_ShipAddr_Line2 | String | False | False | False |
The second line of the shipping address. | |
CreditMemo_ShipAddr_Line3 | String | False | False | False |
The third line of the shipping address. | |
CreditMemo_ShipAddr_Line4 | String | False | False | False |
The fourth line of the shipping address. | |
CreditMemo_ShipAddr_Line5 | String | False | False | False |
The fifth line of the shipping address. | |
CreditMemo_ShipAddr_City | String | False | False | False |
The city name | |
CreditMemo_ShipAddr_Country | String | False | False | False |
The country name | |
CreditMemo_ShipAddr_CountrySubDivisionCode | String | False | False | False |
The region within a country. | |
CreditMemo_ShipAddr_PostalCode | String | False | False | False |
The postal code. | |
CreditMemo_ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
CreditMemo_ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
CreditMemo_ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
CreditMemo_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
CreditMemo_SalesTermRef | String | False |
Terms.Id | True | False |
The Id of the sales term associated with the transaction. |
CreditMemo_SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the transaction. |
CreditMemo_TotalAmt | Decimal | False | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
CreditMemo_PrintStatus | String | False | False | False |
The print status of the credit memo. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
CreditMemo_EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSent, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
CreditMemo_DepositToAccountRef | String | False |
Accounts.Id | False | False |
The asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
CreditMemo_DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
Name of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
CreditMemo_RemainingCredit | Decimal | False | False | False |
The total credit amount still available to be applied towards the payment. | |
CreditMemo_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the location of the transaction. |
CreditMemo_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the location of the transaction. |
CreditMemo_BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
CreditMemo_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before taxes are calculated. | |
CreditMemo_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
CreditMemo_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
CreditMemo_ExchangeRate | Decimal | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
CreditMemo_GlobalTaxCalculation | String | False | False | False |
The method used to apply the tax. This field is valid in only the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
CreditMemo_HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction, expressed in the home currency. This includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create and query QuickBooks Recurring Transactions for Credit Memo Line Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
CreditMemo_LineId [KEY] | String | True | False | False |
The Id of the line item of the credit memo. | |
CreditMemo_CreditMemoId [KEY] | String | False |
CreditMemos.Id | True | True |
The Id of the credit memo. |
CreditMemo_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. | |
CreditMemo_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
CreditMemo_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
CreditMemo_CustomFieldAggregate | String | False | False | False |
An XML aggregate of custom fields for the credit memo. | |
CreditMemo_DocNumber | String | False | True | True |
The reference number for the transaction. | |
CreditMemo_TxnDate | Date | False | True | True |
The date when the transaction occurred. | |
CreditMemo_PrivateNote | String | False | False | False |
A private note about the transaction. By default, this field will not appear on transaction records. | |
CreditMemo_LinkedTxnAggregate | String | False | False | False |
An XML aggregate of linked transactions on the credit memo. | |
CreditMemo_Line_Id | String | False | False | False |
The Id of the line item. | |
CreditMemo_Line_Description | String | False | False | False |
The description of the line item that appears in the printed record. | |
CreditMemo_Line_Amount | Decimal | False | False | False |
The total amount of the charges or discounts for the given line. This includes the charges and allowances but excludes the tax amount. | |
CreditMemo_Line_DetailType | String | False | False | False |
The detail type of the line item. Different detail types indicate different types of line items. | |
CreditMemo_Line_SalesItemLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item. When a line item lacks an ItemRef it is treated as documentation and the Line_Amount attribute is ignored. |
CreditMemo_Line_SalesItemLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item. When a line item lacks an ItemRef it is treated as documentation and the Line_Amount attribute is ignored. |
CreditMemo_Line_SalesItemLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class entity of the line item. |
CreditMemo_Line_SalesItemLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class entity of the line item. |
CreditMemo_Line_SalesItemLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item. | |
CreditMemo_Line_SalesItemLineDetail_Qty | Double | False | False | False |
The number of items in the line item. | |
CreditMemo_Line_SalesItemLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for this item. |
CreditMemo_Line_SalesItemLineDetail_ServiceDate | Date | False | False | False |
The date when the service was performed. | |
CreditMemo_Line_GroupLineDetail_GroupItemRef | String | True | False | False |
The Id of the group item object. | |
CreditMemo_Line_GroupLineDetail_GroupItemRef_Name | String | True | False | False |
The name of the group item object. | |
CreditMemo_Line_GroupLineDetail_Quantity | Integer | True | False | False |
The amount of the group item. | |
CreditMemo_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
CreditMemo_TxnTaxDetail_TotalTax | String | False | False | False |
The total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
CreditMemo_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
CreditMemo_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
CreditMemo_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
CreditMemo_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
CreditMemo_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
CreditMemo_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
CreditMemo_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
CreditMemo_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
CreditMemo_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
CreditMemo_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
CreditMemo_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
CreditMemo_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
CreditMemo_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
CreditMemo_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
CreditMemo_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
CreditMemo_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
CreditMemo_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
CreditMemo_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
CreditMemo_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
CreditMemo_CustomerRef | String | False |
Customers.Id | True | True |
The Id of the customer. |
CreditMemo_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
A name that identifies the customer. |
CreditMemo_CustomerMemo | String | False | False | False |
A message to the customer, visible on the transaction. | |
CreditMemo_BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
CreditMemo_BillAddr_Line1 | String | False | False | False |
The first line of the address. | |
CreditMemo_BillAddr_Line2 | String | False | False | False |
The second line of the address. | |
CreditMemo_BillAddr_Line3 | String | False | False | False |
The third line of the address. | |
CreditMemo_BillAddr_Line4 | String | False | False | False |
The fourth line of the address. | |
CreditMemo_BillAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
CreditMemo_BillAddr_City | String | False | False | False |
The city name. | |
CreditMemo_BillAddr_Country | String | False | False | False |
The country name. | |
CreditMemo_BillAddr_CountrySubDivisionCode | String | False | False | False |
The country region. The state name for the USA or the province name for Canada. | |
CreditMemo_BillAddr_PostalCode | String | False | False | False |
The postal code. The zip code for the USA and Canada. | |
CreditMemo_BillAddr_Note | String | False | False | False |
The note for the customer. | |
CreditMemo_BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded address. | |
CreditMemo_BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded address. | |
CreditMemo_ShipAddr_Line1 | String | False | False | False |
The first line of the shipping address. | |
CreditMemo_ShipAddr_Line2 | String | False | False | False |
The second line of the shipping address. | |
CreditMemo_ShipAddr_Line3 | String | False | False | False |
The third line of the shipping address. | |
CreditMemo_ShipAddr_Line4 | String | False | False | False |
The fourth line of the shipping address. | |
CreditMemo_ShipAddr_Line5 | String | False | False | False |
The fifth line of the shipping address. | |
CreditMemo_ShipAddr_City | String | False | False | False |
The city name | |
CreditMemo_ShipAddr_Country | String | False | False | False |
The country name | |
CreditMemo_ShipAddr_CountrySubDivisionCode | String | False | False | False |
The region within a country. | |
CreditMemo_ShipAddr_PostalCode | String | False | False | False |
The postal code. | |
CreditMemo_ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
CreditMemo_ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
CreditMemo_ClassRef | String | False |
Class.Id | True | False |
The Id of the class. |
CreditMemo_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class. |
CreditMemo_SalesTermRef | String | False |
Terms.Id | True | False |
The Id of the sales term associated with the transaction. |
CreditMemo_SalesTermRef_Name | String | True |
Terms.Name | False | False |
A name that identifies the sales term associated with the transaction. |
CreditMemo_TotalAmt | Decimal | False | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
CreditMemo_PrintStatus | String | False | False | False |
The print status of the credit memo. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
CreditMemo_EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSent, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
CreditMemo_DepositToAccountRef | String | False |
Accounts.Id | False | False |
The asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
CreditMemo_DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
CreditMemo_RemainingCredit | Decimal | False | False | False |
The total credit amount still available to apply towards the payment. | |
CreditMemo_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction. |
CreditMemo_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores location of the transaction. |
CreditMemo_BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, this field is a required input. | |
CreditMemo_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether the discount is applied before or after taxes are calculated. | |
CreditMemo_CurrencyRef | String | False | False | False |
The Id of the currency used for all amounts of the transaction. This field is available in only the UK, AU, IN, and CA editions. | |
CreditMemo_CurrencyRef_Name | String | True | False | False |
The name of the currency used for all amounts of the transaction. This field is available in only the UK, AU, IN, and CA editions. | |
CreditMemo_ExchangeRate | Decimal | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for only the UK, AU, IN, and CA editions. | |
CreditMemo_GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in only the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
CreditMemo_HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction in the home currency. This field includes the total of all the charges, allowances, and taxes. This field is valid in only the UK, AU, IN, and CA editions. |
Create and query QuickBooks Deposits.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Deposit_Id [KEY] | String | True | True | True |
The Id of the invoice. | |
Deposit_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. | |
Deposit_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
Deposit_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
Deposit_TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
Deposit_PrivateNote | String | False | False | False |
A private note that does not appear on the transaction records. | |
Deposit_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
Deposit_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
Deposit_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
Deposit_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
Deposit_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
Deposit_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
Deposit_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
Deposit_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
Deposit_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
Deposit_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
Deposit_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
Deposit_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
Deposit_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
Deposit_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
Deposit_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
Deposit_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
Deposit_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
Deposit_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
Deposit_LineAggregate | String | False | False | False |
An XML aggregate of line items associated with the transaction. | |
Deposit_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. This field is valid in the UK, AU, IN, and CA editions. |
Deposit_TxnTaxDetail_TotalTax | String | False | False | False |
The total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. This field is valid in the UK, AU, IN, and CA editions. | |
Deposit_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. This field is valid in the UK, AU, IN, and CA editions. | |
Deposit_DepositToAccountRef | String | False |
Accounts.Id | False | False |
The Id of the asset account to be used for this deposit. |
Deposit_DepositToAccountRef_Name | String | False |
Accounts.Name | False | False |
The name of the asset account to be used for this deposit. |
Deposit_ClassRef | String | False |
Class.Id | False | False |
The Id of the class associated with the transaction. |
Deposit_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
Deposit_TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
Deposit_CashBack_AccountRef | String | True |
Accounts.Id | True | False |
The asset account (bank account) Id to be used for this cash back transaction |
Deposit_CashBack_AccountRef_Name | String | False |
Accounts.Name | False | False |
The asset account (bank account) Name to be used for this cash back transaction |
Deposit_CashBack_Amount | Decimal | False | False | False |
The amount of the cash back transaction. | |
Deposit_CashBack_Memo | String | True | True | False |
The memo associated with this cash back transaction. | |
Deposit_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Deposit_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which store the location of the transaction as defined using location tracking in QuickBooks Online. |
Deposit_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
Deposit_ExchangeRate | Decimal | False | False | False |
The number of home currency units it takes to equal one unit of currency specified by CurrencyRef. Applicable if multicurrency is enabled for the company. | |
Deposit_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
Deposit_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
Deposit_GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create and query QuickBooks Recurring Transactions for Deposit Line Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Deposit_LineId [KEY] | String | True | False | False |
The Id of the line item of the invoice. | |
Deposit_DepositId [KEY] | String | False |
Deposits.Id | True | True |
The Id of the invoice. |
Deposit_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. | |
Deposit_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
Deposit_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
Deposit_TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
Deposit_PrivateNote | String | False | False | False |
A private note that does not appear on the transaction records. | |
Deposit_Line_Id | String | False | False | False |
The Id of the line item. | |
Deposit_Line_Description | String | False | False | False |
The description of the line item. | |
Deposit_Line_Amount | Decimal | False | False | False |
The amount of the line item. | |
Deposit_Line_DetailType | String | False | False | False |
The detailType of the line item. | |
Deposit_Line_DepositLineDetail_PaymentMethodRef | String | False | False | False |
The payment method id of the line item. | |
Deposit_Line_DepositLineDetail_PaymentMethodRef_Name | String | False |
PaymentMethods.Name | False | False |
The payment method id of the line item. |
Deposit_Line_DepositLineDetail_AccountRef | String | False |
Accounts.Id | False | False |
Account where the funds are deposited to. |
Deposit_Line_DepositLineDetail_AccountRef_Name | String | False |
Accounts.Name | False | False |
Account where the funds are deposited to. |
Deposit_Line_DepositLineDetail_Entity | String | False |
Customers.Id | False | False |
Reference to a customer from which the deposit was recieved |
Deposit_Line_DepositLineDetail_Entity_Name | String | False |
Customers.DisplayName | False | False |
Reference to a customer from which the deposit was recieved |
Deposit_Line_DepositLineDetail_ClassRef | String | False |
Class.Id | False | False |
Reference to the Class associated with the transaction |
Deposit_Line_DepositLineDetail_ClassRef_Name | String | False |
Class.FullyQualifiedName | False | False |
Reference to the Class associated with the transaction |
Deposit_Line_DepositLineDetail_CheckNum | String | False | False | False |
The check number for the deposit | |
Deposit_Line_DepositLineDetail_TxnType | String | False | False | False |
The type of the payment transaction. Different types indicate different types of line items. | |
Deposit_Line_DepositLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The Sales/Purchase tax code associated with the Line. This field is valid in the UK, AU, IN, and CA editions. |
Deposit_Line_DepositLineDetail_TaxApplicableOn | String | False | False | False |
Indicates whether the tax applicable on the line is sales or purchase. This field is valid in the UK, AU, IN, and CA editions. | |
Deposit_Line_LinkedTxn_TxnId | String | True | False | False |
The id of the linked transaction | |
Deposit_Line_LinkedTxn_TxnType | String | True | False | False |
The type of the linked transaction. Different types indicate different types of line items. | |
Deposit_Line_LinkedTxn_TxnLineId | String | True | False | False |
The lineitem id of the linked transaction line item. | |
Deposit_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. This field is valid in the UK, AU, IN, and CA editions. |
Deposit_TxnTaxDetail_TotalTax | String | False | False | False |
The total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. This field is valid in the UK, AU, IN, and CA editions. | |
Deposit_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. This field is valid in the UK, AU, IN, and CA editions. | |
Deposit_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
Deposit_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
Deposit_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
Deposit_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
Deposit_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
Deposit_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
Deposit_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
Deposit_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
Deposit_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
Deposit_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
Deposit_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
Deposit_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
Deposit_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
Deposit_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
Deposit_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
Deposit_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
Deposit_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
Deposit_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
Deposit_DepositToAccountRef | String | False |
Accounts.Id | False | False |
The Id of the asset account to be used for this deposit. |
Deposit_DepositToAccountRef_Name | String | False |
Accounts.Name | False | False |
The name of the asset account to be used for this deposit. |
Deposit_ClassRef | String | False |
Class.Id | False | False |
The Id of the class associated with the transaction. |
Deposit_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
Deposit_TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
Deposit_CashBack_AccountRef | String | True | True | False |
The asset account (bank account) Id to be used for this cash back transaction | |
Deposit_CashBack_AccountRef_Name | String | False | False | False |
The asset account (bank account) Name to be used for this cash back transaction | |
Deposit_CashBack_Amount | Decimal | False | False | False |
The amount of the cash back transaction. | |
Deposit_CashBack_Memo | String | True | True | False |
The memo associated with this cash back transaction. | |
Deposit_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Deposit_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which store the location of the transaction as defined using location tracking in QuickBooks Online. |
Deposit_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
Deposit_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
Deposit_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
Deposit_GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create and query QuickBooks Recurring Transaction for Estimates.
We can perform Select and Insert operations on RecurringEstimateTransactions table.
Estimate_Id, Estimate_MetaData_CreateTime, Estimate_MetaData_LastUpdatedTime can be used for server side filter. The driver processes other filters client-side within the driver.
SELECT * FROM RecurringEstimateTransactions WHERE Estimate_Id = 25529 SELECT * FROM RecurringEstimateTransactions WHERE Estimate_Id IN (25528,25531,25530) SELECT * FROM RecurringEstimateTransactions WHERE Estimate_MetaData_CreateTime = '2020-03-19 19:49:51.0' SELECT * FROM RecurringEstimateTransactions WHERE Estimate_MetaData_LastUpdatedTime = '2021-01-03 14:46:13'
To add a RecurringEstimateTransactions following fields needs to be added:
Insert into RecurringEstimateTransactions(Estimate_Id, Estimate_CustomerRef, Estimate_RecurringInfo_Name, Estimate_RecurringInfo_RecurType,Estimate_RecurringInfo_Active, Estimate_RecurringInfo_ScheduleInfo_IntervalType, Estimate_RecurringInfo_ScheduleInfo_NumInterval, Estimate_RecurringInfo_ScheduleInfo_DayOfWeek, Estimate_RecurringInfo_ScheduleInfo_WeekOfMonth, Estimate_RecurringInfo_ScheduleInfo_StartDate, Estimate_RecurringInfo_ScheduleInfo_NextDate, Estimate_RecurringInfo_ScheduleInfo_PreviousDate, Estimate_LineAggregate) values (49, 2, 'TestingA11', 'Reminded', false, 'Weekly', 2, 'Tuesday', 3, '2021-12-08', '2021-12-15', '2021-09-01', '<Line><Amount>0.01</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>2</ItemRef></SalesItemLineDetail></Line><Line><Amount>0.02</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>3</ItemRef></SalesItemLineDetail></Line>')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Estimate_Id [KEY] | String | True | True | True |
The Id of the Estimate. | |
Estimate_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. | |
Estimate_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
Estimate_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
Estimate_DocNumber | String | False | True | True |
The reference number for the transaction. | |
Estimate_TxnDate | Date | False | True | True |
The date when this transaction occurred. | |
Estimate_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Estimate_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Estimate_PrivateNote | String | False | False | False |
A private note, which will not appear on the transaction records. | |
Estimate_TxnStatus | String | False | False | False |
The status of the transaction. 使用できる値は次のとおりです。Accepted, Closed, Pending, Rejected | |
Estimate_LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
Estimate_LineAggregate | String | False | False | False |
An XML aggregate of the line items of a transaction. | |
Estimate_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
Estimate_TxnTaxDetail_TotalTax | String | False | False | False |
The total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
Estimate_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
Estimate_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
Estimate_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
Estimate_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
Estimate_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
Estimate_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
Estimate_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
Estimate_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
Estimate_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
Estimate_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
Estimate_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
Estimate_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
Estimate_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
Estimate_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
Estimate_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
Estimate_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
Estimate_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
Estimate_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
Estimate_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
Estimate_CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
Estimate_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
Estimate_CustomerMemo | String | False | False | False |
A message to the customer, which appears in the invoice and in the printed invoice. | |
Estimate_BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
Estimate_BillAddr_Line1 | String | False | False | False |
First line of the billing address. | |
Estimate_BillAddr_Line2 | String | False | False | False |
Second line of the billing address. | |
Estimate_BillAddr_Line3 | String | False | False | False |
Third line of the billing address. | |
Estimate_BillAddr_Line4 | String | False | False | False |
Fourth line of the billing address. | |
Estimate_BillAddr_Line5 | String | False | False | False |
Fifth line of the billing address. | |
Estimate_BillAddr_City | String | False | False | False |
City name. | |
Estimate_BillAddr_Country | String | False | False | False |
Country name. | |
Estimate_BillAddr_CountrySubDivisionCode | String | False | False | False |
Country region. For example, the state name for the USA or the province name for Canada. | |
Estimate_BillAddr_PostalCode | String | False | False | False |
Postal code. The zip code for the USA and Canada. | |
Estimate_BillAddr_Note | String | False | False | False |
Note for the customer. | |
Estimate_BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
Estimate_BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
Estimate_ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
Estimate_ShipAddr_Line1 | String | False | False | False |
First line of the shipping address. | |
Estimate_ShipAddr_Line2 | String | False | False | False |
Second line of the shipping address. | |
Estimate_ShipAddr_Line3 | String | False | False | False |
Third line of the shipping address. | |
Estimate_ShipAddr_Line4 | String | False | False | False |
Fourth line of the shipping address. | |
Estimate_ShipAddr_Line5 | String | False | False | False |
Fifth line of the shipping address. | |
Estimate_ShipAddr_City | String | False | False | False |
City name. | |
Estimate_ShipAddr_Country | String | False | False | False |
Country name. | |
Estimate_ShipAddr_CountrySubDivisionCode | String | False | False | False |
Country region. For example, the state name for the USA or the province name for Canada. | |
Estimate_ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
Estimate_ShipAddr_Note | String | False | False | False |
Note for the customer. | |
Estimate_ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
Estimate_ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
Estimate_ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
Estimate_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
Estimate_SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales terms associated with the transaction. |
Estimate_SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales terms associated with the transaction. |
Estimate_DueDate | Date | False | True | False |
The due date for the invoice, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
Estimate_ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
Estimate_ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
Estimate_ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
Estimate_TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
Estimate_TotalAmt | Decimal | True | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
Estimate_PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
Estimate_EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
Estimate_BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Estimate_Balance | Decimal | False | True | True |
This column sets whether the transaction is a finance charge. | |
Estimate_ExpirationDate | Date | False | False | False |
The date when the estimate becomes invalid. | |
Estimate_AcceptedBy | String | False | False | False |
The name of the customer who accepted the estimate. | |
Estimate_AcceptedDate | Date | False | False | False |
The date the estimate was accepted. | |
Estimate_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
Estimate_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
Estimate_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
Estimate_ExchangeRate | Decimal | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
Estimate_GlobalTaxCalculation | String | False | False | False |
The method used to apply taxes. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
Estimate_HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create and query QuickBooks Recurring Transaction Line Items for Estimate.
RecurringEstimateTransactions may be inserted or queried via the RecurringEstimateTransactions or RecurringEstimateTransactionsLineItems tables.
SELECT * FROM RecurringEstimateTransactionsLineItems
To add a RecurringEstimateTransactionsLineItems following fields needs to be added:
INSERT INTO RecurringEstimateTransactionsLineItems (Estimate_Id, Estimate_CustomerRef, Estimate_RecurringInfo_Name, Estimate_RecurringInfo_RecurType, Estimate_RecurringInfo_Active, Estimate_RecurringInfo_ScheduleInfo_IntervalType, Estimate_RecurringInfo_ScheduleInfo_NumInterval, Estimate_RecurringInfo_ScheduleInfo_DayOfWeek, Estimate_RecurringInfo_ScheduleInfo_WeekOfMonth, Estimate_RecurringInfo_ScheduleInfo_StartDate, Estimate_RecurringInfo_ScheduleInfo_NextDate, Estimate_RecurringInfo_ScheduleInfo_PreviousDate, Estimate_Line_DetailType, Estimate_Line_SalesItemLineDetail_ItemRef, Estimate_Line_Amount, Estimate_Line_SalesItemLineDetail_Qty, Estimate_Line_SalesItemLineDetail_DiscountAmt, Estimate_Line_SalesItemLineDetail_TaxCodeRef) VALUES (49,2, 'TESTING155BCD11', 'Reminded', false, 'Weekly', 2, 'Tuesday', 3, '2021-12-08', '2021-12-15', '2021-09-01', 'SalesItemLineDetail', '5', 100.01, 8, 22.3, 'TAX')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Estimate_LineId [KEY] | String | True | False | False |
The Id of the line item of the estimate. | |
Estimate_Id [KEY] | String | False |
Estimates.Id | True | True |
The Id of the estimate. |
Estimate_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. | |
Estimate_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
Estimate_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
Estimate_DocNumber | String | False | True | True |
The reference number for the transaction. | |
Estimate_TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
Estimate_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Estimate_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Estimate_PrivateNote | String | False | False | False |
A private note, which will not appear on the transaction records. | |
Estimate_TxnStatus | String | False | False | False |
The status of the transaction. 使用できる値は次のとおりです。Accepted, Closed, Pending, Rejected | |
Estimate_LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
Estimate_Line_Id | String | False | False | False |
The Id of the line item. | |
Estimate_Line_LineNum | String | False | False | False |
The line number. | |
Estimate_Line_Description | String | False | False | False |
The line description. | |
Estimate_Line_Amount | Decimal | False | False | False |
The line amount. | |
Estimate_Line_DetailType | String | False | False | False |
The line detail type. Different detail types indicate different types of line items. | |
Estimate_Line_SalesItemLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item in the line item. |
Estimate_Line_SalesItemLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item in the line item. |
Estimate_Line_SalesItemLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class in the line item. |
Estimate_Line_SalesItemLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class in the line item. |
Estimate_Line_SalesItemLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item. | |
Estimate_Line_SalesItemLineDetail_Qty | Double | False | False | False |
The number of items for the line item. | |
Estimate_Line_SalesItemLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the item. |
Estimate_Line_SalesItemLineDetail_ServiceDate | Date | False | False | False |
The service date for the item. | |
Estimate_Line_SalesItemLineDetail_DiscountAmt | Decimal | False | False | False |
The discount amount applied to this line. | |
Estimate_Line_SalesItemLineDetail_DiscountRate | Decimal | False | False | False |
TThe discount rate applied to this line. | |
Estimate_Line_GroupLineDetail_GroupItemRef | String | True | False | False |
The Id of the group item object. | |
Estimate_Line_GroupLineDetail_GroupItemRef_Name | String | True | False | False |
The name of the group item object. | |
Estimate_Line_GroupLineDetail_Quantity | Integer | True | False | False |
The amount of the group item. | |
Estimate_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
Estimate_TxnTaxDetail_TotalTax | String | False | False | False |
The total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
Estimate_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
Estimate_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
Estimate_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
Estimate_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
Estimate_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
Estimate_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
Estimate_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
Estimate_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
Estimate_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
Estimate_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
Estimate_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
Estimate_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
Estimate_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
Estimate_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
Estimate_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
Estimate_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
Estimate_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
Estimate_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
Estimate_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
Estimate_CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
Estimate_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
Estimate_CustomerMemo | String | False | False | False |
The message to the customer, which appears in the invoice and the printed invoice. | |
Estimate_BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
Estimate_BillAddr_Line1 | String | False | False | False |
The first line of the billing address. | |
Estimate_BillAddr_Line2 | String | False | False | False |
The second line of the billing address. | |
Estimate_BillAddr_Line3 | String | False | False | False |
The third line of the billing address. | |
Estimate_BillAddr_Line4 | String | False | False | False |
The fourth line of the billing address. | |
Estimate_BillAddr_Line5 | String | False | False | False |
The fifth line of the address. | |
Estimate_BillAddr_City | String | False | False | False |
City name. | |
Estimate_BillAddr_Country | String | False | False | False |
Country name. | |
Estimate_BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
Estimate_BillAddr_PostalCode | String | False | False | False |
Postal code. The zip code for the USA and Canada. | |
Estimate_BillAddr_Note | String | False | False | False |
Note for the customer. | |
Estimate_BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
Estimate_BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
Estimate_ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
Estimate_ShipAddr_Line1 | String | False | False | False |
First line of the shipping address. | |
Estimate_ShipAddr_Line2 | String | False | False | False |
Second line of the shipping address. | |
Estimate_ShipAddr_Line3 | String | False | False | False |
Third line of the shipping address. | |
Estimate_ShipAddr_Line4 | String | False | False | False |
Fourth line of the shipping address. | |
Estimate_ShipAddr_Line5 | String | False | False | False |
Fifth line of the shipping address. | |
Estimate_ShipAddr_City | String | False | False | False |
City name. | |
Estimate_ShipAddr_Country | String | False | False | False |
Country name. | |
Estimate_ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
Estimate_ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
Estimate_ShipAddr_Note | String | False | False | False |
Note for the customer. | |
Estimate_ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
Estimate_ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
Estimate_ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
Estimate_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
Estimate_SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales term associated with the transaction. |
Estimate_SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the transaction. |
Estimate_DueDate | Date | False | True | False |
The due date for the invoice, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
Estimate_ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
Estimate_ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
Estimate_ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
Estimate_TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
Estimate_TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all charges, allowances, and taxes. | |
Estimate_PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
Estimate_EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
Estimate_BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Estimate_Balance | Decimal | False | True | True |
This field indicates whether the transaction is a finance charge. | |
Estimate_ExpirationDate | Date | False | False | False |
The date when an estimate becomes invalid. | |
Estimate_AcceptedBy | String | False | False | False |
The name of the customer who accepted the estimate. | |
Estimate_AcceptedDate | Date | False | False | False |
The date the estimate was accepted. | |
Estimate_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether any discounts are applied before taxes are calculated. | |
Estimate_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
Estimate_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
Estimate_ExchangeRate | Decimal | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
Estimate_GlobalTaxCalculation | String | False | False | False |
The method used to apply taxes. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
Estimate_HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction, expressed in the home currency. This includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create and query QuickBooks Recurring Transaction for Invoice.
We can perform Select and Insert operations on RecurringInvoiceTransactions table.
Invoice_Id, Invoice_MetaData_CreateTime, Invoice_MetaData_LastUpdatedTime can be used for server side filter. The driver processes other filters client-side within the driver.
SELECT * FROM RecurringInvoiceTransactions WHERE Invoice_Id = 25529 SELECT * FROM RecurringInvoiceTransactions WHERE Invoice_Id IN (25528,25531,25530) SELECT * FROM RecurringInvoiceTransactions WHERE Invoice_MetaData_CreateTime = '2020-03-19 19:49:51.0' SELECT * FROM RecurringInvoiceTransactions WHERE Invoice_MetaData_LastUpdatedTime = '2021-01-03 14:46:13'
To add a RecurringInvoiceTransactions following fields needs to be added:
Insert into RecurringInvoiceTransactions(Invoice_Id, Invoice_CustomerRef, Invoice_RecurringInfo_Name, Invoice_RecurringInfo_RecurType,Invoice_RecurringInfo_Active, Invoice_RecurringInfo_ScheduleInfo_IntervalType, Invoice_RecurringInfo_ScheduleInfo_NumInterval, Invoice_RecurringInfo_ScheduleInfo_DayOfWeek, Invoice_RecurringInfo_ScheduleInfo_WeekOfMonth, Invoice_RecurringInfo_ScheduleInfo_StartDate, Invoice_RecurringInfo_ScheduleInfo_NextDate, Invoice_RecurringInfo_ScheduleInfo_PreviousDate, Invoice_LineAggregate) values (49, 2, 'TestingA11', 'Reminded', false, 'Weekly', 2, 'Tuesday', 3, '2021-12-08', '2021-12-15', '2021-09-01', '<Line><Amount>0.01</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>2</ItemRef></SalesItemLineDetail></Line><Line><Amount>0.02</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>3</ItemRef></SalesItemLineDetail></Line>')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Invoice_Id [KEY] | String | False |
RecurringInvoiceTransactions.Invoice_Id | True | True |
The Id of the Recurring Transaction. |
Invoice_SyncToken | String | True | False | False |
The Version number of the object. | |
Invoice_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
Invoice_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
Invoice_DocNumber | String | False | True | True |
The reference number for the transaction. | |
Invoice_TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
Invoice_PrivateNote | String | False | False | False |
A private note for the transaction, which does not appear on the transaction records. | |
Invoice_TxnStatus | String | False | False | False |
The status of the transaction. 使用できる値は次のとおりです。Accepted, Closed, Pending, Rejected | |
Invoice_LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
Invoice_LineAggregate | String | False | False | False |
An XML aggregate of the line items of a transaction. | |
Invoice_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
Invoice_TxnTaxDetail_TotalTax | String | False | False | False |
The total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
Invoice_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
Invoice_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
Invoice_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
Invoice_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
Invoice_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
Invoice_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
Invoice_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
Invoice_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
Invoice_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
Invoice_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
Invoice_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
Invoice_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
Invoice_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
Invoice_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
Invoice_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
Invoice_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
Invoice_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
Invoice_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
Invoice_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
Invoice_CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
Invoice_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
Invoice_CustomerMemo | String | False | False | False |
The message to the customer, which appears in the invoice and the printed invoice. | |
Invoice_BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
Invoice_BillAddr_Line1 | String | False | False | False |
First line of the address. | |
Invoice_BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
Invoice_BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
Invoice_BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
Invoice_BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
Invoice_BillAddr_City | String | False | False | False |
City name. | |
Invoice_BillAddr_Country | String | False | False | False |
Country name. | |
Invoice_BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
Invoice_BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
Invoice_BillAddr_Note | String | False | False | False |
Note for the customer. | |
Invoice_BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
Invoice_BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
Invoice_ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
Invoice_ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
Invoice_ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
Invoice_ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
Invoice_ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
Invoice_ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
Invoice_ShipAddr_City | String | False | False | False |
City name. | |
Invoice_ShipAddr_Country | String | False | False | False |
Country name. | |
Invoice_ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
Invoice_ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
Invoice_ShipAddr_Note | String | False | False | False |
Note for the customer. | |
Invoice_ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
Invoice_ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
Invoice_ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
Invoice_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
Invoice_SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales terms associated with the transaction. |
Invoice_SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales terms associated with the transaction. |
Invoice_DueDate | Date | False | True | False |
The date when the invoice is to be paid, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
Invoice_ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
Invoice_ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
Invoice_ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
Invoice_TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
Invoice_TotalAmt | Decimal | True | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
Invoice_PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
Invoice_EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
Invoice_BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Invoice_Balance | Decimal | True | True | True |
This field indicates whether the transaction is a finance charge. | |
Invoice_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Invoice_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Invoice_AllowOnlineCreditCardPayment | Boolean | False | False | False |
It specifies if online credit card payments are allowed for this invoice and corresponds to the Cards online payment check box on the QuickBooks UI. | |
Invoice_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
Invoice_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
Invoice_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
Invoice_ExchangeRate | Decimal | False | False | False |
The currency exchange rate. Valid only if the company file is set up to use 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 for only the UK, AU, IN, and CA editions. | |
Invoice_GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
Invoice_HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. | |
Invoice_AllowOnlineCreditCardPayment | Boolean | True | False | False |
To allow Online Credit Card Payment or not. | |
Invoice_AllowOnlineACHPayment | Boolean | True | False | False |
To allow Online ACH Payment or not. |
Create and query QuickBooks Recurring Transaction Line Items for Invoice.
RecurringInvoiceTransactions may be inserted or queried via the RecurringInvoiceTransactions or RecurringInvoiceTransactionsLineItems tables.
SELECT * FROM RecurringInvoiceTransactionsLineItems
To add a RecurringInvoiceTransactionsLineItems following fields needs to be added:
INSERT INTO RecurringInvoiceTransactionsLineItems (Invoice_Id, Invoice_CustomerRef, Invoice_RecurringInfo_Name, Invoice_RecurringInfo_RecurType, Invoice_RecurringInfo_Active, Invoice_RecurringInfo_ScheduleInfo_IntervalType, Invoice_RecurringInfo_ScheduleInfo_NumInterval, Invoice_RecurringInfo_ScheduleInfo_DayOfWeek, Invoice_RecurringInfo_ScheduleInfo_WeekOfMonth, Invoice_RecurringInfo_ScheduleInfo_StartDate, Invoice_RecurringInfo_ScheduleInfo_NextDate, Invoice_RecurringInfo_ScheduleInfo_PreviousDate, Invoice_Line_DetailType, Invoice_Line_SalesItemLineDetail_ItemRef, Invoice_Line_Amount, Invoice_Line_SalesItemLineDetail_Qty, Invoice_Line_SalesItemLineDetail_DiscountAmt, Invoice_Line_SalesItemLineDetail_TaxCodeRef) VALUES (49,2, 'TESTING155BCD11', 'Reminded', false, 'Weekly', 2, 'Tuesday', 3, '2021-12-08', '2021-12-15', '2021-09-01', 'SalesItemLineDetail', '5', 100.01, 8, 22.3, 'TAX')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Invoice_Line_Id [KEY] | String | False | False | False |
The Id of the line item of the invoice. | |
Invoice_Id [KEY] | String | False |
RecurringInvoiceTransactions.Invoice_Id | True | True |
The Id of the Recurring Transaction. |
Invoice_SyncToken | String | True | False | False |
The Version number of the object. | |
Invoice_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
Invoice_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
Invoice_DocNumber | String | False | True | True |
The reference number for the transaction. | |
Invoice_TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
Invoice_PrivateNote | String | False | False | False |
A private note for the transaction, which does not appear on the transaction records. | |
Invoice_TxnStatus | String | False | False | False |
The status of the transaction. 使用できる値は次のとおりです。Accepted, Closed, Pending, Rejected | |
Invoice_LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the estimate. | |
Invoice_Line_Id | String | False | False | False |
The Id of the line item. | |
Invoice_Line_LineNum | String | False | False | False |
The line number of the line item. | |
Invoice_Line_Description | String | False | False | False |
The description of the line item. | |
Invoice_Line_Amount | Decimal | False | False | False |
The amount of the line item. | |
Invoice_Line_DetailType | String | False | False | False |
The detail type of the line item. Different detail types indicate different types of line items. | |
Invoice_Line_SalesItemLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item in the line item. |
Invoice_Line_SalesItemLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item in the line item. |
Invoice_Line_SalesItemLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class in the line item. |
Invoice_Line_SalesItemLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class in the line item. |
Invoice_Line_SalesItemLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item. | |
Invoice_Line_SalesItemLineDetail_Qty | Double | False | False | False |
The number of items for the line item. | |
Invoice_Line_SalesItemLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the item. |
Invoice_Line_SalesItemLineDetail_DiscountAmt | Decimal | False | False | False |
The discount rate applied to an individual line item. If both DiscountAmt and DiscountRate are supplied, DiscountRate takes precedence and DiscountAmt is recalculated by QuickBooks services based on amount of DiscountRate. | |
Invoice_Line_SalesItemLineDetail_ServiceDate | Date | False | False | False |
The service date for the item. | |
Invoice_Line_GroupLineDetail_GroupItemRef | String | True | False | False |
The Id of the group item object. | |
Invoice_Line_GroupLineDetail_GroupItemRef_Name | String | True | False | False |
The name of the group item object. | |
Invoice_Line_GroupLineDetail_Quantity | Integer | True | False | False |
The amount of the group item. | |
Invoice_Line_DiscountLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class in the line item. |
Invoice_Line_DiscountLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class in the line item. |
Invoice_Line_DiscountLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the item. |
Invoice_Line_DiscountLineDetail_TaxCodeRef_Name | String | True |
TaxCodes.Name | False | False |
The name for the tax sales code. |
Invoice_Line_DiscountLineDetail_PercentBased | Boolean | False | False | False |
True if the discount is a percentage; null or false if discount based on amount. | |
Invoice_Line_DiscountLineDetail_DiscountAccountRef | String | False | False | False |
The discount code for the item. | |
Invoice_Line_DiscountLineDetail_DiscountAccountRef_Name | String | True | False | False |
The name for the discount account. | |
Invoice_Line_DiscountLineDetail_DiscountPercent | Decimal | False | False | False |
Percentage by which the amount due is reduced, from 0% to 100%. To enter a discount of 8.5% use 8.5, not 0.085. | |
Invoice_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the transaction. |
Invoice_TxnTaxDetail_TotalTax | String | False | False | False |
The total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
Invoice_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
Invoice_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
Invoice_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
Invoice_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
Invoice_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
Invoice_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
Invoice_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
Invoice_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
Invoice_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
Invoice_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
Invoice_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
Invoice_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
Invoice_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
Invoice_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
Invoice_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
Invoice_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
Invoice_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
Invoice_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
Invoice_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
Invoice_CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
Invoice_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
Invoice_CustomerMemo | String | False | False | False |
The message to the customer, which appears in the invoice and the printed invoice. | |
Invoice_BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
Invoice_BillAddr_Line1 | String | False | False | False |
First line of the address. | |
Invoice_BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
Invoice_BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
Invoice_BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
Invoice_BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
Invoice_BillAddr_City | String | False | False | False |
City name. | |
Invoice_BillAddr_Country | String | False | False | False |
Country name. | |
Invoice_BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
Invoice_BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
Invoice_BillAddr_Note | String | False | False | False |
Note for the customer. | |
Invoice_BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
Invoice_BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
Invoice_ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
Invoice_ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
Invoice_ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
Invoice_ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
Invoice_ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
Invoice_ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
Invoice_ShipAddr_City | String | False | False | False |
City name. | |
Invoice_ShipAddr_Country | String | False | False | False |
Country name. | |
Invoice_ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
Invoice_ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
Invoice_ShipAddr_Note | String | False | False | False |
Note for the customer. | |
Invoice_ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
Invoice_ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
Invoice_ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
Invoice_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
Invoice_SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales terms associated with the transaction. |
Invoice_SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales terms associated with the transaction. |
Invoice_DueDate | Date | False | True | False |
The date when the invoice is to be paid, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
Invoice_ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
Invoice_ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
Invoice_ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
Invoice_TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
Invoice_TotalAmt | Decimal | True | True | True |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
Invoice_PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
Invoice_EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
Invoice_BillEmail_Address | String | False | False | False |
The email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Invoice_Balance | Decimal | True | True | True |
This field indicates whether the transaction is a finance charge. | |
Invoice_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Invoice_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Invoice_AllowOnlineCreditCardPayment | Boolean | False | False | False |
It specifies if online credit card payments are allowed for this invoice and corresponds to the Cards online payment check box on the QuickBooks UI. | |
Invoice_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
Invoice_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
Invoice_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
Invoice_ExchangeRate | Decimal | False | False | False |
The currency exchange rate. Valid only if the company file is set up to use 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 for only the UK, AU, IN, and CA editions. | |
Invoice_GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
Invoice_HomeTotalAmt | Decimal | True | False | False |
The total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. | |
Invoice_AllowOnlineCreditCardPayment | Boolean | True | False | False |
To allow Online Credit Card Payment or not. | |
Invoice_AllowOnlineACHPayment | Boolean | True | False | False |
To allow Online ACH Payment or not. | |
Invoice_GroupSalesItemLineAggregate | String | True | False | False |
An XML aggregate of invoice group sales item line field information. |
Create and query QuickBooks Recurring Transaction for Journal Entry.
We can perform Select and Insert operations on RecurringJournalEntryTransactions table.
JournalEntry_Id, JournalEntry_MetaData_CreateTime, JournalEntry_MetaData_LastUpdatedTime can be used for server side filter. The driver processes other filters client-side within the driver.
SELECT * FROM RecurringJournalEntryTransactions; SELECT * FROM RecurringJournalEntryTransactions WHERE JournalEntry_id = 25536; SELECT * FROM RecurringJournalEntryTransactions WHERE JournalEntry_MetaData_CreateTime = '2020-12-10 09:53:56'; SELECT * FROM RecurringJournalEntryTransactions WHERE JournalEntry_MetaData_LastUpdatedTime = '2020-12-10 09:53:56'; SELECT * FROM RecurringJournalEntryTransactions WHERE JournalEntry_id = 25536 AND JournalEntry_MetaData_CreateTime = '2020-12-10 09:53:56' AND JournalEntry_MetaData_LastUpdatedTime = '2020-12-10 09:53:56';
To add a RecurringJournalEntryTransactions following fields needs to be added:
Insert into RecurringJournalEntryTransactions(JournalEntry_LineAggregate,JournalEntry_RecurringInfo_Name, JournalEntry_RecurringInfo_RecurType, JournalEntry_RecurringInfo_Active, JournalEntry_RecurringInfo_ScheduleInfo_DayOfWeek, JournalEntry_RecurringInfo_ScheduleInfo_IntervalType, JournalEntry_RecurringInfo_ScheduleInfo_NumInterval, JournalEntry_RecurringInfo_ScheduleInfo_DayOfMonth, JournalEntry_RecurringInfo_ScheduleInfo_MaxOccurrences, JournalEntry_RecurringInfo_ScheduleInfo_StartDate, JournalEntry_RecurringInfo_ScheduleInfo_NextDate, JournalEntry_RecurringInfo_ScheduleInfo_PreviousDate) values ('<Line><Amount>0.02</Amount><DetailType>JournalEntryLineDetail</DetailType><JournalEntryLineDetail><PostingType>Debit</PostingType><Entity><Type>Customer</Type><EntityRef>24</EntityRef></Entity><AccountRef>33</AccountRef></JournalEntryLineDetail></Line> <Line><Amount>0.02</Amount><DetailType>JournalEntryLineDetail</DetailType><JournalEntryLineDetail><PostingType>Credit</PostingType><AccountRef>14</AccountRef></JournalEntryLineDetail></Line>', 'APPTEST1', 'Reminded', false, 'Monday', 'Weekly', 2, 'Tuesday', '100', '2021-12-01', '2021-12-01', '2021-12-01')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
JournalEntry_Id [KEY] | String | True | True | True |
The Id of the Recurring Transaction. | |
JournalEntry_SyncToken | String | True | False | False |
The Version number of the object. | |
JournalEntry_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
JournalEntry_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
JournalEntry_CurrencyRef | String | True | False | False |
The Id of the currency used in the transaction. | |
JournalEntry_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
JournalEntry_LineAggregate | String | False | False | False |
An XML aggregate of the line items of a transaction. | |
JournalEntry_RecurDataRef | String | True | False | False |
The Recurrence Data reference. | |
JournalEntry_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
JournalEntry_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. | |
JournalEntry_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
JournalEntry_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
JournalEntry_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. | |
JournalEntry_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
JournalEntry_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
JournalEntry_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The Recurring Info day of month. | |
JournalEntry_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
JournalEntry_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
JournalEntry_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
JournalEntry_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
JournalEntry_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The transaction tax code. |
JournalEntry_TxnTaxDetail_TotalTax | String | False | False | False |
Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
JournalEntry_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
JournalEntry_TotalAmt | Decimal | True | False | False |
The total bill amount. | |
JournalEntry_Adjustment | Boolean | True | False | False |
Is adjustment done or not. | |
JournalEntry_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, IN, and CA editions. |
Create and query the QuickBooks RecurringTransactions Journal Entry Line Items.
RecurringJournalEntryTransactions may be inserted or queried via the RecurringJournalEntryTransactions or RecurringJournalEntryTransactionsLineItems tables.
SELECT * FROM RecurringJournalEntryTransactionsLineItems
To add a RecurringJournalEntryTransactionsLineItems following fields needs to be added:
INSERT INTO RecurringJournalEntryTransactionsLineItems(JournalEntry_Line_Id, JournalEntry_Line_Description, JournalEntry_Line_Amount, JournalEntry_Line_DetailType, JournalEntry_Line_JournalEntryLineDetail_PostingType, JournalEntry_Line_JournalEntryLineDetail_AccountRef ,JournalEntry_RecurringInfo_Name, JournalEntry_RecurringInfo_RecurType, JournalEntry_RecurringInfo_Active, JournalEntry_RecurringInfo_ScheduleInfo_DayOfWeek, JournalEntry_RecurringInfo_ScheduleInfo_IntervalType, JournalEntry_RecurringInfo_ScheduleInfo_NumInterval, JournalEntry_RecurringInfo_ScheduleInfo_DayOfMonth, JournalEntry_RecurringInfo_ScheduleInfo_MaxOccurrences, JournalEntry_RecurringInfo_ScheduleInfo_StartDate, JournalEntry_RecurringInfo_ScheduleInfo_NextDate, JournalEntry_RecurringInfo_ScheduleInfo_PreviousDate) VALUES ('1', 'HELLOAPP1', 1001, 'JournalEntryLineDetail', 'Credit', '99' , 'HELLOAPP3', 'Reminded', false, 'Monday', 'Weekly', 2, 'Tuesday', '100', '2021-01-23', '2021-01-23', '2021-01-23')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
JournalEntry_Line_Id [KEY] | String | False | False | False |
The Id of the recurring transaction line item for the journal entry. | |
JournalEntry_Id [KEY] | String | False |
RecurringJournalEntryTransactions.JournalEntry_Id | True | True |
The Id of the Recurring Transaction. |
JournalEntry_SyncToken | String | True | False | False |
The Version number of the object. | |
JournalEntry_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
JournalEntry_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
JournalEntry_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
JournalEntry_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
JournalEntry_Line_Description | String | False | False | False |
A description of the line item that appears in the printed record. | |
JournalEntry_Line_Amount | Decimal | False | False | False |
The amount of the line item. | |
JournalEntry_Line_DetailType | String | False | False | False |
The detail type of the line item. Different detail types indicate different types of line items. | |
JournalEntry_Line_JournalEntryLineDetail_PostingType | String | False | False | False |
This field indicates the posting type of the line item of the journal entry detail. 使用できる値は次のとおりです。Credit, Debit | |
JournalEntry_Line_JournalEntryLineDetail_Entity_Type | String | False | False | False |
The type of the entity to be referenced. | |
JournalEntry_Line_JournalEntryLineDetail_Entity_EntityRef | String | False | False | False |
The Id of the entity to be referenced. | |
JournalEntry_Line_JournalEntryLineDetail_Entity_EntityRef_Name | String | True | False | False |
The name of the entity to be referenced. | |
JournalEntry_Line_JournalEntryLineDetail_AccountRef | String | False |
Accounts.Id | False | False |
The Id of the account associated with the journal entry line item. |
JournalEntry_Line_JournalEntryLineDetail_AccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the account associated with the journal entry line item. |
JournalEntry_Line_JournalEntryLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class associated with the journal entry line item. |
JournalEntry_Line_JournalEntryLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the journal entry line. |
JournalEntry_Line_JournalEntryLineDetail_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department associated with the journal entry line. |
JournalEntry_Line_JournalEntryLineDetail_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department associated with the journal entry line. |
JournalEntry_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 and IN editions. |
JournalEntry_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 and IN editions. | |
JournalEntry_Line_JournalEntryLineDetail_TaxAmount | Decimal | False | False | False |
The tax applicable for this line item. This field is valid for the UK, AU, and IN editions. | |
JournalEntry_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 | |
JournalEntry_Line_JournalEntryLineDetail_JournalCodeRef | String | False | False | False |
The Id of the journal code to be referenced. | |
JournalEntry_Line_JournalEntryLineDetail_JournalCodeRef_Name | String | True | False | False |
The name of the journal code to be referenced. | |
JournalEntry_RecurDataRef | String | True | False | False |
The Recurrence Data reference. | |
JournalEntry_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
JournalEntry_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. | |
JournalEntry_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
JournalEntry_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
JournalEntry_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. | |
JournalEntry_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
JournalEntry_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
JournalEntry_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The Recurring Info day of month. | |
JournalEntry_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
JournalEntry_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
JournalEntry_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
JournalEntry_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
JournalEntry_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The transaction tax code. |
JournalEntry_TxnTaxDetail_TotalTax | String | False | False | False |
Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
JournalEntry_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
JournalEntry_TotalAmt | Decimal | True | False | False |
The total bill amount. | |
JournalEntry_Adjustment | Boolean | True | False | False |
Is adjustment done or not. | |
JournalEntry_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, IN, and CA editions. |
Create and query QuickBooks Recurring Transaction for Purchases.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Purchase_Id [KEY] | String | True | True | True |
The Id of the purchase. | |
Purchase_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. | |
Purchase_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
Purchase_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
Purchase_DocNumber | String | False | True | True |
Reference number for the transaction. | |
Purchase_TxnDate | Date | False | True | True |
The date when this transaction occurred. | |
Purchase_PrivateNote | String | False | False | False |
A private note about the transaction. This note will not appear on the transaction records by default. This field maps to the Memo field on the Check and CreditCard form. | |
Purchase_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Purchase_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Purchase_TxnStatus | String | False | False | False |
The status of the transaction. Depending on the transaction type it may have different values. For sales transactions, the acceptable values are defined in PaymentStatusEnum. For estimates, the values accepted are defined in QboEstimateStatusEnum. | |
Purchase_LinkedTxnAggregate | String | False | False | False |
Zero or more linked transactions. | |
Purchase_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
Purchase_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
Purchase_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
Purchase_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
Purchase_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
Purchase_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
Purchase_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
Purchase_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
Purchase_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
Purchase_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
Purchase_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
Purchase_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
Purchase_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
Purchase_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
Purchase_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
Purchase_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
Purchase_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
Purchase_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
Purchase_LineAggregate | String | False | False | False |
A line item of a transaction. | |
Purchase_AccountRef | String | False |
Accounts.Id | False | False |
The Id of the account associated with the purchase. Check payments should reference a bank account and credit card purchases should refer to a credit card account. |
Purchase_AccountRef_Name | String | True |
Accounts.Name | False | False |
A name that identifies the account associated with the purchase. Checks should reference a bank account and credit card purchases should refer to a credit card account. |
Purchase_PaymentType | String | False | True | True |
The payment type. 使用できる値は次のとおりです。Cash, Check, CreditCard | |
Purchase_EntityRef | String | False | False | False |
The Id of the entity for the party the expense is associated with. | |
Purchase_EntityRef_Name | String | True | False | False |
A name that identifies the party the expense is associated with. | |
Purchase_Credit | Boolean | False | False | False |
This field is valid only for the credit card payment type. | |
Purchase_TotalAmt | Decimal | True | True | True |
The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, discounts, etc. | |
Purchase_PrintStatus | String | False | False | False |
The print status of the purchase. This field is applicable only for checks and ignored for credit card charges or refunds. | |
Purchase_Status | String | True | False | False |
The status of the purchase. | |
Purchase_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The transaction tax code. |
Purchase_TxnTaxDetail_TotalTax | String | False | False | False |
Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
Purchase_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
Purchase_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
Purchase_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
Purchase_ExchangeRate | Decimal | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
Purchase_GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create and query QuickBooks Recurring Transaction for Purchase Line Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Purchase_LineId [KEY] | String | True | True | False |
The Id of the line item of the purchase of the read receipt. | |
Purchase_PurchaseId [KEY] | String | False |
Purchases.Id | True | True |
The Id of the purchase. |
Purchase_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. | |
Purchase_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
Purchase_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
Purchase_DocNumber | String | False | True | True |
The reference number for the transaction. | |
Purchase_TxnDate | Date | False | True | True |
The date when this transaction occurred. | |
Purchase_PrivateNote | String | False | False | False |
A private note about the transaction. This note will not appear on the transaction records by default. This field maps to the Memo field on the Check and CreditCard form. | |
Purchase_Line_Id | String | False | False | False |
The Id of the line item. | |
Purchase_Line_Description | String | False | False | False |
A description of the line item that appears in the printed record. | |
Purchase_Line_Amount | Decimal | False | False | False |
The total amount of the charges or discounts for the given line. This field includes the charges and allowances, but it excludes the tax amount. | |
Purchase_Line_DetailType | String | False | False | False |
The type of line in the transaction. | |
Purchase_Line_ItemBasedExpenseLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item in the line item. When a line item lacks an ItemRef it is treated as documentation and the Line.Amount attribute is ignored. |
Purchase_Line_ItemBasedExpenseLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item. When a line item lacks an ItemRef it is treated as documentation and the Line_Amount field is ignored. |
Purchase_Line_ItemBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class for the line item. |
Purchase_Line_ItemBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.Name | False | False |
The name of the class for the line item. |
Purchase_Line_ItemBasedExpenseLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the subject item as referenced by ItemRef. | |
Purchase_Line_ItemBasedExpenseLineDetail_Qty | Double | False | False | False |
Number of items for the line. | |
Purchase_Line_ItemBasedExpenseLineDetail_RatePercent | Double | False | False | False |
The amount is expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01. | |
Purchase_Line_ItemBasedExpenseLineDetail_MarkupInfo_Value | Double | False | False | False |
Markup value. | |
Purchase_Line_ItemBasedExpenseLineDetail_MarkupInfo_Percent | Double | False | False | False |
Markup amount expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01. | |
Purchase_Line_ItemBasedExpenseLineDetail_MarkupInfo_PriceLevelRef | String | False | False | False |
The Id of the entity for the price level for the markup. | |
Purchase_Line_ItemBasedExpenseLineDetail_MarkupInfo_Name_PriceLevelRef_Name | String | True | False | False |
A name that identifies the price level for the markup. | |
Purchase_Line_ItemBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The sales tax code for this item. |
Purchase_Line_ItemBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The Id of the customer associated with the expense. |
Purchase_Line_ItemBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer associated with the expense. |
Purchase_Line_ItemBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of the expense. 使用できる値は次のとおりです。Billable, NotBillable, HasBeenBilled | |
Purchase_Line_AccountBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class entity of the expense. |
Purchase_Line_AccountBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.Name | False | False |
The name of the class entity of the expense. |
Purchase_Line_AccountBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The customer id for the expense. |
Purchase_Line_AccountBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The customer name for the expense. |
Purchase_Line_AccountBasedExpenseLineDetail_AccountRef | String | False |
Accounts.Id | False | False |
The Id of the expense account of the expense. |
Purchase_Line_AccountBasedExpenseLineDetail_AccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the expense account of the expense. |
Purchase_Line_AccountBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of the expense. 使用できる値は次のとおりです。Billable, NotBillable, HasBeenBilled | |
Purchase_Line_AccountBasedExpenseLineDetail_MarkupInfo_Value | Double | False | False | False |
Markup value. | |
Purchase_Line_AccountBasedExpenseLineDetail_MarkupInfo_Percent | Double | False | False | False |
Markup amount expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01. | |
Purchase_Line_AccountBasedExpenseLineDetail_MarkupInfo_PriceLevelRef | String | False | False | False |
The Id of price level for the markup. | |
Purchase_Line_AccountBasedExpenseLineDetail_MarkupInfo__Name_PriceLevelRef_Name | String | True | False | False |
The name of the price level for the markup. | |
Purchase_AccountRef | String | False |
Accounts.Id | False | False |
The Id of the account associated with the transaction. |
Purchase_AccountRef_Name | String | True |
Accounts.Name | False | False |
A name that identifies the account associated with the transaction. Checks should reference a bank account and CreditCard should reference a credit card account. |
Purchase_PaymentType | String | False | True | True |
The expense type. 使用できる値は次のとおりです。Cash, Check, CreditCard | |
Purchase_EntityRef | String | False | False | False |
Specifies the party with whom an expense is associated. | |
Purchase_EntityRef_Name | String | True | False | False |
Specifies the party with whom an expense is associated. | |
Purchase_Credit | Boolean | False | False | False |
This field is valid only for the CreditCard payment type. | |
Purchase_TotalAmt | Decimal | True | True | True |
The total amount due, determined the sum of the line items. This includes all charges, allowances, taxes, discounts, etc. | |
Purchase_PrintStatus | String | False | False | False |
The print status of the payment. This field is applicable only for checks. It is ignored for credit card charges or refunds. | |
Purchase_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction. |
Purchase_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction. |
Purchase_Status | String | True | False | False |
The status of the purchase. | |
Purchase_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The transaction tax code. |
Purchase_TxnTaxDetail_TotalTax | String | False | False | False |
Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
Purchase_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
Purchase_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
Purchase_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
Purchase_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
Purchase_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
Purchase_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
Purchase_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
Purchase_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
Purchase_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
Purchase_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
Purchase_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
Purchase_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
Purchase_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
Purchase_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
Purchase_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
Purchase_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
Purchase_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
Purchase_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
Purchase_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
Purchase_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
Purchase_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
Purchase_ExchangeRate | Double | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
Purchase_GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create and query QuickBooks Recurring Transaction for RefundReceipts.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
RefundReceipt_Id [KEY] | String | True | True | True |
The Id of the invoice. | |
RefundReceipt_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. | |
RefundReceipt_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
RefundReceipt_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
RefundReceipt_CustomFieldAggregate | String | False | False | False |
An XML aggregate of custom field information. | |
RefundReceipt_DocNumber | String | False | True | True |
The reference number for the transaction. | |
RefundReceipt_TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
RefundReceipt_PrivateNote | String | False | False | False |
A private note that does not appear on the transaction records. | |
RefundReceipt_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
RefundReceipt_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
RefundReceipt_TxnStatus | String | False | False | False |
The status of the transaction. Depending on the transaction type it may have different values. For sales transactions, the acceptable values are defined in PaymentStatusEnum. For estimates, the values accepted are defined in QboEstimateStatusEnum. | |
RefundReceipt_LinkedTxnAggregate | String | False | False | False |
Zero or more linked transactions. | |
RefundReceipt_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
RefundReceipt_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
RefundReceipt_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
RefundReceipt_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
RefundReceipt_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
RefundReceipt_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
RefundReceipt_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
RefundReceipt_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
RefundReceipt_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
RefundReceipt_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
RefundReceipt_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
RefundReceipt_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
RefundReceipt_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
RefundReceipt_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
RefundReceipt_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
RefundReceipt_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
RefundReceipt_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
RefundReceipt_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
RefundReceipt_LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the refund receipt. | |
RefundReceipt_LineAggregate | String | False | False | False |
An XML aggregate of line items associated with the transaction. | |
RefundReceipt_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code of the transaction. |
RefundReceipt_TxnTaxDetail_TotalTax | String | False | False | False |
Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
RefundReceipt_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
RefundReceipt_CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
RefundReceipt_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
RefundReceipt_CustomerMemo | String | False | False | False |
The message to the customer that appears in the invoice and in the printed invoice. | |
RefundReceipt_BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
RefundReceipt_BillAddr_Line1 | String | False | False | False |
First line of the address. | |
RefundReceipt_BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
RefundReceipt_BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
RefundReceipt_BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
RefundReceipt_BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
RefundReceipt_BillAddr_City | String | False | False | False |
City name. | |
RefundReceipt_BillAddr_Country | String | False | False | False |
Country name. | |
RefundReceipt_BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
RefundReceipt_BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
RefundReceipt_BillAddr_Note | String | False | False | False |
Note for the customer. | |
RefundReceipt_BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
RefundReceipt_BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
RefundReceipt_ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
RefundReceipt_ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
RefundReceipt_ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
RefundReceipt_ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
RefundReceipt_ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
RefundReceipt_ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
RefundReceipt_ShipAddr_City | String | False | False | False |
City name. | |
RefundReceipt_ShipAddr_Country | String | False | False | False |
Country name. | |
RefundReceipt_ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
RefundReceipt_ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
RefundReceipt_ShipAddr_Note | String | False | False | False |
Note for the customer. | |
RefundReceipt_ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
RefundReceipt_ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
RefundReceipt_ClassRef | String | False |
Class.Id | False | False |
The Id of the class associated with the transaction. |
RefundReceipt_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
RefundReceipt_CheckPayment_CheckNum | String | True | False | False |
The check number printed on the check. | |
RefundReceipt_CheckPayment_Status | String | False | False | False |
Status of the check. Values provided by service/business logic. | |
RefundReceipt_CheckPayment_NameOnAccount | String | False | False | False |
Name of persons or entities holding the account, as printed on the check. | |
RefundReceipt_CheckPayment_AcctNum | String | False | False | False |
Checking account number, as printed on the check. | |
RefundReceipt_CheckPayment_BankName | String | True | False | False |
The name of the bank on which the check was drawn. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_Type | String | False | False | False |
The type of credit card. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_NameOnAcct | String | False | False | False |
The name of the account holder, as printed on the card. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_CcExpiryMonth | Integer | False | False | False |
The expiration month of the card. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_CcExpiryYear | Integer | False | False | False |
The four-digit expiration year of the card. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_BillAddrStreet | String | False | False | False |
The street of the billing address of the credit card holder. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_PostalCode | String | False | False | False |
The postal code. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_Amount | Decimal | False | False | False |
The amount processed using the credit card | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_ProcessPayment | Boolean | False | False | False |
False or no value-Store credit card information only.True-Store credit card payment transaction information in CreditChargeResponse below. | |
RefundReceipt_CreditCardPayment_CreditChargeResponse_CCTransId | String | False | False | False |
Unique identifier of the payment transaction. | |
RefundReceipt_CreditCardPayment_CreditChargeResponse_AuthCode | String | False | False | False |
Code returned from the credit card processor to indicate that the charge will be paid by the card issuer. | |
RefundReceipt_CreditCardPayment_CreditChargeResponse_TxnAuthorizationTime | Datetime | False | False | False |
Timestamp indicating the time in which the card processor authorized the transaction. | |
RefundReceipt_CreditCardPayment_CreditChargeResponse_Status | String | False | False | False |
Indicates the status of the payment transaction. Possible values include Completed, Unknown. | |
RefundReceipt_SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales term associated with the transaction. |
RefundReceipt_SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the transaction. |
RefundReceipt_DueDate | Date | False | True | False |
The date when the invoice is to be paid, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
RefundReceipt_ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
RefundReceipt_ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
RefundReceipt_ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
RefundReceipt_TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
RefundReceipt_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
RefundReceipt_PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete | |
RefundReceipt_BillEmail_Address | String | False | False | False |
This field identifies the email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
RefundReceipt_Balance | Decimal | False | False | False |
This field indicates whether the transaction is a finance charge. | |
RefundReceipt_PaymentMethodRef | String | False | False | False |
The Id of the payment method associated with the transaction. | |
RefundReceipt_PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method associated with the transaction. |
RefundReceipt_PaymentRefNum | String | False | False | False |
The reference number for the payment received. | |
RefundReceipt_PaymentType | String | False | False | False |
The type of payment used for the transaction. 使用できる値は次のとおりです。Cash, Check, CreditCard, Other | |
RefundReceipt_DepositToAccountRef | String | False |
Accounts.Id | False | False |
The asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
RefundReceipt_DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
RefundReceipt_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
RefundReceipt_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
RefundReceipt_ExchangeRate | Decimal | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
RefundReceipt_GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
RefundReceipt_HomeTotalAmt | Decimal | True | False | False |
Total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create and query QuickBooks Recurring Transactions for RefundReceiptLineItems.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
RefundReceipt_LineId [KEY] | String | True | True | False |
The Id of the line item of the invoice of the read receipt. | |
RefundReceipt_RefundReceiptId [KEY] | String | False | True | True |
The Id of the read receipt. | |
RefundReceipt_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. | |
RefundReceipt_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
RefundReceipt_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
RefundReceipt_CustomFieldAggregate | String | False | False | False |
An XML aggregate of custom field information. | |
RefundReceipt_DocNumber | String | False | True | True |
The reference number for the transaction. | |
RefundReceipt_TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
RefundReceipt_PrivateNote | String | False | False | False |
A private note that does not appear on the transaction records. | |
RefundReceipt_Line_Id | String | False | False | False |
The Id of the line item. | |
RefundReceipt_Line_LineNum | String | False | False | False |
The line number of the line item. | |
RefundReceipt_Line_Description | String | False | False | False |
The description of the line item. | |
RefundReceipt_Line_Amount | Decimal | False | False | False |
The amount of the line item. | |
RefundReceipt_Line_DetailType | String | False | False | False |
The detail type of the line item. Different detail types indicate different types of line items. | |
RefundReceipt_Line_SalesItemLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item in the line item. |
RefundReceipt_Line_SalesItemLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item in the line item. |
RefundReceipt_Line_SalesItemLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class in the line item. |
RefundReceipt_Line_SalesItemLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class in the line item. |
RefundReceipt_Line_SalesItemLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item. | |
RefundReceipt_Line_SalesItemLineDetail_Qty | Double | False | False | False |
The number of items for the line item. | |
RefundReceipt_Line_SalesItemLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the item. |
RefundReceipt_Line_SalesItemLineDetail_ServiceDate | Date | False | False | False |
The service date for the item. | |
RefundReceipt_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code of the transaction. |
RefundReceipt_TxnTaxDetail_TotalTax | String | False | False | False |
Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
RefundReceipt_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
RefundReceipt_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
RefundReceipt_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
RefundReceipt_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
RefundReceipt_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
RefundReceipt_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
RefundReceipt_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
RefundReceipt_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
RefundReceipt_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
RefundReceipt_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
RefundReceipt_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
RefundReceipt_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
RefundReceipt_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
RefundReceipt_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
RefundReceipt_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
RefundReceipt_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
RefundReceipt_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
RefundReceipt_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
RefundReceipt_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
RefundReceipt_CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
RefundReceipt_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
RefundReceipt_CustomerMemo | String | False | False | False |
The message to the customer that appears in the invoice and in the printed invoice. | |
RefundReceipt_BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
RefundReceipt_BillAddr_Line1 | String | False | False | False |
First line of the address. | |
RefundReceipt_BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
RefundReceipt_BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
RefundReceipt_BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
RefundReceipt_BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
RefundReceipt_BillAddr_City | String | False | False | False |
City name. | |
RefundReceipt_BillAddr_Country | String | False | False | False |
Country name. | |
RefundReceipt_BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
RefundReceipt_BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
RefundReceipt_BillAddr_Note | String | False | False | False |
Note for the customer. | |
RefundReceipt_BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
RefundReceipt_BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
RefundReceipt_ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
RefundReceipt_ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
RefundReceipt_ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
RefundReceipt_ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
RefundReceipt_ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
RefundReceipt_ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
RefundReceipt_ShipAddr_City | String | False | False | False |
City name. | |
RefundReceipt_ShipAddr_Country | String | False | False | False |
Country name. | |
RefundReceipt_ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
RefundReceipt_ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
RefundReceipt_ShipAddr_Note | String | False | False | False |
Note for the customer. | |
RefundReceipt_ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
RefundReceipt_ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
RefundReceipt_ClassRef | String | False |
Class.Id | False | False |
The Id of the class associated with the transaction. |
RefundReceipt_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
RefundReceipt_CheckPayment_CheckNum | String | True | False | False |
The check number printed on the check. | |
RefundReceipt_CheckPayment_Status | String | False | False | False |
Status of the check. Values provided by service/business logic. | |
RefundReceipt_CheckPayment_NameOnAccount | String | False | False | False |
Name of persons or entities holding the account, as printed on the check. | |
RefundReceipt_CheckPayment_AcctNum | String | False | False | False |
Checking account number, as printed on the check. | |
RefundReceipt_CheckPayment_BankName | String | True | False | False |
The name of the bank on which the check was drawn. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_Type | String | False | False | False |
The type of credit card. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_NameOnAcct | String | False | False | False |
The name of the account holder, as printed on the card. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_CcExpiryMonth | Integer | False | False | False |
The expiration month of the card. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_CcExpiryYear | Integer | False | False | False |
The four-digit expiration year of the card. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_BillAddrStreet | String | False | False | False |
The street of the billing address of the credit card holder. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_PostalCode | String | False | False | False |
The postal code. | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_Amount | Decimal | False | False | False |
The amount processed using the credit card | |
RefundReceipt_CreditCardPayment_CreditChargeInfo_ProcessPayment | Boolean | False | False | False |
False or no value-Store credit card information only.True-Store credit card payment transaction information in CreditChargeResponse below. | |
RefundReceipt_CreditCardPayment_CreditChargeResponse_CCTransId | String | False | False | False |
Unique identifier of the payment transaction. | |
RefundReceipt_CreditCardPayment_CreditChargeResponse_AuthCode | String | False | False | False |
Code returned from the credit card processor to indicate that the charge will be paid by the card issuer. | |
RefundReceipt_CreditCardPayment_CreditChargeResponse_TxnAuthorizationTime | Datetime | False | False | False |
Timestamp indicating the time in which the card processor authorized the transaction. | |
RefundReceipt_CreditCardPayment_CreditChargeResponse_Status | String | False | False | False |
Indicates the status of the payment transaction. Possible values include Completed, Unknown. | |
RefundReceipt_SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales term associated with the transaction. |
RefundReceipt_SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the transaction. |
RefundReceipt_DueDate | Date | False | True | False |
The date when the invoice is to be paid, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
RefundReceipt_ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
RefundReceipt_ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
RefundReceipt_ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
RefundReceipt_TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
RefundReceipt_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
RefundReceipt_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
RefundReceipt_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which store the location of the transaction as defined using location tracking in QuickBooks Online. |
RefundReceipt_PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete | |
RefundReceipt_BillEmail_Address | String | False | False | False |
This field identifies the email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
RefundReceipt_Balance | Decimal | False | False | False |
This field indicates whether the transaction is a finance charge. | |
RefundReceipt_PaymentMethodRef | String | False | False | False |
The Id of the payment method associated with the transaction. | |
RefundReceipt_PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method associated with the transaction. |
RefundReceipt_PaymentRefNum | String | False | False | False |
The reference number for the payment received. | |
RefundReceipt_PaymentType | String | False | False | False |
The type of payment used for the transaction. 使用できる値は次のとおりです。Cash, Check, CreditCard, Other | |
RefundReceipt_DepositToAccountRef | String | False |
Accounts.Id | False | False |
The asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
RefundReceipt_DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
RefundReceipt_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. This field is valid in the UK, AU, IN, and CA editions. | |
RefundReceipt_CurrencyRef_Name | String | False | False | False |
The name of the currency in which all amounts on the associated transaction are expressed. This field is valid in the UK, AU, IN, and CA editions. | |
RefundReceipt_ExchangeRate | Decimal | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
RefundReceipt_GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
RefundReceipt_HomeTotalAmt | Decimal | True | False | False |
Total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create and query QuickBooks Recurring Transaction for Sales Receipt.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
SalesReceipt_Id [KEY] | String | True | True | True |
The Id of the sales receipt. | |
SalesReceipt_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. | |
SalesReceipt_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
SalesReceipt_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
SalesReceipt_CustomFieldAggregate | String | False | False | False |
An XML aggregate of custom fields associated with the transaction. | |
SalesReceipt_DocNumber | String | False | True | True |
Reference number for the transaction. | |
SalesReceipt_TxnDate | Date | False | True | True |
The date when this transaction occurred. | |
SalesReceipt_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
SalesReceipt_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
SalesReceipt_PrivateNote | String | False | False | False |
The private note about the transaction. This note will not appear on the transaction records by default. | |
SalesReceipt_TxnStatus | String | False | False | False |
The status of the transaction. Depending on the transaction type it may have different values. For sales transactions, the acceptable values are defined in PaymentStatusEnum. For estimates, the values accepted are defined in QboEstimateStatusEnum. | |
SalesReceipt_LinkedTxnAggregate | String | False | False | False |
Zero or more linked transactions. | |
SalesReceipt_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
SalesReceipt_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
SalesReceipt_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
SalesReceipt_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
SalesReceipt_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
SalesReceipt_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
SalesReceipt_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
SalesReceipt_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
SalesReceipt_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
SalesReceipt_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
SalesReceipt_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
SalesReceipt_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
SalesReceipt_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
SalesReceipt_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
SalesReceipt_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
SalesReceipt_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
SalesReceipt_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
SalesReceipt_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
SalesReceipt_LineAggregate | String | False | False | False |
Zero or more lines for the transaction. | |
SalesReceipt_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The transaction tax code. |
SalesReceipt_TxnTaxDetail_TotalTax | String | False | False | False |
Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
SalesReceipt_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
SalesReceipt_CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
SalesReceipt_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
SalesReceipt_CustomerMemo | String | False | False | False |
The message to the customer. | |
SalesReceipt_BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
SalesReceipt_BillAddr_Line1 | String | False | False | False |
First line of the address. | |
SalesReceipt_BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
SalesReceipt_BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
SalesReceipt_BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
SalesReceipt_BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
SalesReceipt_BillAddr_City | String | False | False | False |
City name. | |
SalesReceipt_BillAddr_Country | String | False | False | False |
Country name. | |
SalesReceipt_BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
SalesReceipt_BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
SalesReceipt_BillAddr_Note | String | False | False | False |
The note for the customer. | |
SalesReceipt_BillAddr_Lat | String | False | False | False |
Latitude coordinate of the geocoded address. | |
SalesReceipt_BillAddr_Long | String | False | False | False |
Longitude coordinate of the geocoded address. | |
SalesReceipt_ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
SalesReceipt_ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
SalesReceipt_ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
SalesReceipt_ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
SalesReceipt_ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
SalesReceipt_ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
SalesReceipt_ShipAddr_City | String | False | False | False |
City name. | |
SalesReceipt_ShipAddr_Country | String | False | False | False |
Country name. | |
SalesReceipt_ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
SalesReceipt_ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
SalesReceipt_ShipAddr_Note | String | False | False | False |
Note for the customer. | |
SalesReceipt_ShipAddr_Lat | String | False | False | False |
Latitude coordinate of the geocoded address. | |
SalesReceipt_ShipAddr_Long | String | False | False | False |
Longitude coordinate of the geocoded address. | |
SalesReceipt_ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
SalesReceipt_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
SalesReceipt_ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
SalesReceipt_ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
SalesReceipt_ShipDate | Date | False | False | False |
Date for delivery of goods or services. | |
SalesReceipt_TrackingNum | String | False | False | False |
The tracking number of the shipping provider for the delivery of the goods associated with the transaction. | |
SalesReceipt_TotalAmt | Decimal | False | True | False |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. By default, this is recalculated and overriden based on total of the subitems. This field is calculated by QuickBooks business logic and cannot be written to QuickBooks. | |
SalesReceipt_PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
SalesReceipt_EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
SalesReceipt_BillEmail_Address | String | False | False | False |
The email address where the sales receipt is sent. | |
SalesReceipt_Balance | Decimal | True | True | True |
The balance reflecting any payments made against the transaction. | |
SalesReceipt_PaymentRefNum | String | False | False | False |
The reference number for the payment. | |
SalesReceipt_PaymentMethodRef | String | False | False | False |
The Id of the payment method. | |
SalesReceipt_PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method. |
SalesReceipt_DepositToAccountRef | String | False |
Accounts.Id | False | False |
The Id of the asset account where the payment money is deposited. If you do not specify this account, QBO uses the Undeposited Funds account. |
SalesReceipt_DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
A name that identifies the asset account where the payment money is deposited. If you do not specify this account, QBO uses the Undeposited Funds account. |
SalesReceipt_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
SalesReceipt_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
SalesReceipt_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
SalesReceipt_ExchangeRate | Decimal | False | False | False |
Currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
SalesReceipt_GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
SalesReceipt_HomeTotalAmt | Decimal | False | False | False |
Total amount of the transaction in the home currency. This field is valid in the UK, AU, IN, and CA editions. |
Create and query QuickBooks Recurring Transaction for Sales Receipt Line Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
SalesReceipt_LineId [KEY] | String | True | False | False |
The Id of the line item on the sales receipt. | |
SalesReceipt_SalesReceiptId [KEY] | String | False | True | True |
The Id of the sales receipt. | |
SalesReceipt_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. | |
SalesReceipt_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
SalesReceipt_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
SalesReceipt_CustomFieldAggregate | String | False | False | False |
An XML aggregate of custom fields associated with the transaction. | |
SalesReceipt_DocNumber | String | False | True | True |
The reference number for the transaction. | |
SalesReceipt_TxnDate | Date | False | True | True |
The date when this transaction occurred. | |
SalesReceipt_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
SalesReceipt_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
SalesReceipt_PrivateNote | String | False | False | False |
A private note about the transaction. This note will not appear on the transaction records by default. | |
SalesReceipt_TxnStatus | String | False | False | False |
The status of the transaction. Depending on the transaction type it may have different values. For sales transactions acceptable values are defined in PaymentStatusEnum. For estimates, the values accepted are defined in QboEstimateStatusEnum. | |
SalesReceipt_LinkedTxnAggregate | String | False | False | False |
An XML aggregate of the transactions linked to the line item. | |
SalesReceipt_Line_Id | String | False | False | False |
The Id of the line item. | |
SalesReceipt_Line_LineNum | String | False | False | False |
The number of the line item. | |
SalesReceipt_Line_Description | String | False | False | False |
A description of the line item that appears in the printed record. | |
SalesReceipt_Line_Amount | Decimal | False | False | False |
Total amount of the charges or discounts for the given line. Includes the charges and allowances, but it excludes the tax amount. | |
SalesReceipt_Line_DetailType | String | False | False | False |
The line detail type. Different detail types indicate different types of line items. | |
SalesReceipt_Line_SalesItemLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of an item in the line item. When a line item lacks an ItemRef it is treated as documentation and the Line_Amount field is ignored. |
SalesReceipt_Line_SalesItemLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item. When a line lacks an ItemRef it is treated as documentation and the Line_Amount field is ignored. |
SalesReceipt_Line_SalesItemLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the entity for the class for the line item. |
SalesReceipt_Line_SalesItemLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class for the line item. |
SalesReceipt_Line_SalesItemLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item referenced by ItemRef. | |
SalesReceipt_Line_SalesItemLineDetail_Qty | Decimal | False | False | False |
The number of items for the line. | |
SalesReceipt_Line_SalesItemLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for this item. |
SalesReceipt_Line_SalesItemLineDetail_ServiceDate | Date | False | False | False |
The date when the service is performed. | |
SalesReceipt_Line_GroupLineDetail_GroupItemRef | String | True | False | False |
The Id of the group item object. | |
SalesReceipt_Line_GroupLineDetail_GroupItemRef_Name | String | True | False | False |
The name of the group item object. | |
SalesReceipt_Line_GroupLineDetail_Quantity | Integer | True | False | False |
The amount of the group item. | |
SalesReceipt_TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The transaction tax code. |
SalesReceipt_TxnTaxDetail_TotalTax | String | False | False | False |
Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. | |
SalesReceipt_TxnTaxDetail_TaxLineAggregate | String | False | False | False |
An XML aggregate of tax line items. | |
SalesReceipt_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
SalesReceipt_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
SalesReceipt_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
SalesReceipt_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
SalesReceipt_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
SalesReceipt_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
SalesReceipt_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
SalesReceipt_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
SalesReceipt_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
SalesReceipt_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
SalesReceipt_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
SalesReceipt_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
SalesReceipt_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
SalesReceipt_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
SalesReceipt_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
SalesReceipt_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
SalesReceipt_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
SalesReceipt_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
SalesReceipt_CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
SalesReceipt_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
SalesReceipt_CustomerMemo | String | False | False | False |
The message to the customer. | |
SalesReceipt_BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
SalesReceipt_BillAddr_Line1 | String | False | False | False |
First line of the address. | |
SalesReceipt_BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
SalesReceipt_BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
SalesReceipt_BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
SalesReceipt_BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
SalesReceipt_BillAddr_City | String | False | False | False |
City name. | |
SalesReceipt_BillAddr_Country | String | False | False | False |
Country name. | |
SalesReceipt_BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
SalesReceipt_BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
SalesReceipt_BillAddr_Note | String | False | False | False |
Note for the customer. | |
SalesReceipt_BillAddr_Lat | String | False | False | False |
Latitude coordinate of the geocoded address. | |
SalesReceipt_BillAddr_Long | String | False | False | False |
Longitude coordinate of the geocoded address. | |
SalesReceipt_ShipAddr_Id | String | False | False | False |
Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
SalesReceipt_ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
SalesReceipt_ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
SalesReceipt_ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
SalesReceipt_ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
SalesReceipt_ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
SalesReceipt_ShipAddr_City | String | False | False | False |
City name. | |
SalesReceipt_ShipAddr_Country | String | False | False | False |
Country name. | |
SalesReceipt_ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
SalesReceipt_ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
SalesReceipt_ShipAddr_Note | String | False | False | False |
Note for the customer. | |
SalesReceipt_ShipAddr_Lat | String | False | False | False |
Latitude coordinate of the geocoded address. | |
SalesReceipt_ShipAddr_Long | String | False | False | False |
Longitude coordinate of the geocoded address. | |
SalesReceipt_ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
SalesReceipt_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
SalesReceipt_ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
SalesReceipt_ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
SalesReceipt_ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
SalesReceipt_TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
SalesReceipt_TotalAmt | Decimal | False | True | False |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. By default, this is recalculated based on sub items total and overridden. Calculated by QuickBooks business logic; cannot be written to QuickBooks. | |
SalesReceipt_PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
SalesReceipt_EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
SalesReceipt_BillEmail_Address | String | False | False | False |
The email address where the sales receipt is sent. | |
SalesReceipt_Balance | Decimal | True | True | True |
The balance reflecting any payments made against the transaction. | |
SalesReceipt_PaymentRefNum | String | False | False | False |
The reference number for the payment. | |
SalesReceipt_PaymentMethodRef | String | False | False | False |
The Id of the payment method entity. | |
SalesReceipt_PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method entity. |
SalesReceipt_DepositToAccountRef | String | False |
Accounts.Id | False | False |
The Id of the entity for the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
SalesReceipt_DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
A name that identifies the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
SalesReceipt_ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
SalesReceipt_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
SalesReceipt_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
SalesReceipt_ExchangeRate | Decimal | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
SalesReceipt_GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
SalesReceipt_HomeTotalAmt | Decimal | False | False | False |
Total amount of the transaction in the home currency. This field is valid in the UK, AU, IN, and CA editions. |
Create and query QuickBooks Recurring Transactions for Transfers
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Transfer_Id [KEY] | String | True | True | True |
The Id of the payment. | |
Transfer_TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
Transfer_PrivateNote | String | False | False | False |
User entered, organization-private note about the transaction. | |
Transfer_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Transfer_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
Transfer_TxnStatus | String | False | False | False |
The status of the transaction. Depending on the transaction type it may have different values. For sales transactions, the acceptable values are defined in PaymentStatusEnum. For estimates, the values accepted are defined in QboEstimateStatusEnum. | |
Transfer_LinkedTxnAggregate | String | False | False | False |
Zero or more linked transactions. | |
Transfer_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
Transfer_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
Transfer_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
Transfer_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
Transfer_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
Transfer_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
Transfer_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
Transfer_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
Transfer_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
Transfer_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
Transfer_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
Transfer_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
Transfer_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
Transfer_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
Transfer_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
Transfer_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
Transfer_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
Transfer_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
Transfer_FromAccountRef | String | False |
Accounts.Id | False | False |
The account Id from which the funds were transfered. |
Transfer_FromAccountRef_Name | String | False |
Accounts.Name | False | False |
The account Name from which the funds were transfered. |
Transfer_ToAccountRef | String | False |
Accounts.Id | False | False |
The account Id to which the funds were transfered. |
Transfer_ToAccountRef_Name | String | False |
Accounts.Name | False | False |
The account Name to which the funds were transfered. |
Transfer_Amount | Decimal | False | False | False |
The total amount of the transaction | |
Transfer_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
Transfer_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
Transfer_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. | |
Transfer_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
Transfer_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. |
Create and query QuickBooks Recurring Transactions for Vendor Credits.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
VendorCredit_Id [KEY] | String | True | True | True |
The Id of the vendor credit. | |
VendorCredit_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. | |
VendorCredit_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
VendorCredit_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
VendorCredit_DocNumber | String | False | True | True |
The primary document number for this transaction. If it is not provided, QuickBooks business logic will assign the document number using the next-in-sequence algorithm. | |
VendorCredit_TxnDate | Date | False | True | True |
The date of the transaction. Often, but not required to be, this value is the date the transaction was created in the system. For posting transactions, this is the posting date that affects financial statements. | |
VendorCredit_PrivateNote | String | False | False | False |
A private note about the transaction. This note will not appear on the transaction records by default. | |
VendorCredit_DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
VendorCredit_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
VendorCredit_TxnStatus | String | False | False | False |
The status of the transaction. Depending on the transaction type it may have different values. For sales transactions, the acceptable values are defined in PaymentStatusEnum. For estimates, the values accepted are defined in QboEstimateStatusEnum. | |
VendorCredit_LinkedTxnAggregate | String | False | False | False |
Zero or more linked transactions. | |
VendorCredit_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
VendorCredit_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
VendorCredit_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
VendorCredit_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
VendorCredit_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
VendorCredit_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
VendorCredit_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
VendorCredit_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
VendorCredit_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
VendorCredit_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
VendorCredit_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
VendorCredit_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
VendorCredit_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
VendorCredit_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
VendorCredit_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
VendorCredit_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
VendorCredit_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
VendorCredit_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. | |
VendorCredit_LineAggregate | String | False | False | False |
An XML aggregate of the individual line item entries contained in the vendor credit. | |
VendorCredit_VendorRef | String | False |
Vendors.Id | True | False |
The Id of the vendor. |
VendorCredit_VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor. |
VendorCredit_APAccountRef | String | False |
Accounts.Id | True | True |
The accounts-payable account the bill is credited to. If the company has a single accounts-payable account, this account is implied. When specified, the account must be a Liability account and the subtype must be of type Payables. |
VendorCredit_APAccountRef_Name | String | True |
Accounts.Name | False | False |
The accounts-payable account to which the bill is credited. If the company has a single accounts-payable account, this account is implied. When specified, the account must be a Liability account and the subtype must be of type Payables. |
VendorCredit_TotalAmt | Decimal | False | True | True |
The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, and discounts. | |
VendorCredit_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
VendorCredit_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
VendorCredit_ExchangeRate | Decimal | False | False | False |
Currency exchange rate. Valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
VendorCredit_GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create and query QuickBooks Recurring Transactions for Vendor Credit Line Items.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
VendorCredit_LineId [KEY] | String | True | False | True |
The Id of the line item on the vendor credit. | |
VendorCredit_VendorCreditId [KEY] | String | False | True | False |
The Id of the vendor credit. | |
VendorCredit_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. | |
VendorCredit_MetaData_CreateTime | Datetime | True | True | True |
The time the record was created. | |
VendorCredit_MetaData_LastUpdatedTime | Datetime | True | True | True |
The time the record was last updated. | |
VendorCredit_DocNumber | String | False | True | True |
The primary document number for this transaction. If it is not provided, QuickBooks business logic will assign the document number using the next-in-sequence algorithm. | |
VendorCredit_TxnDate | Date | False | True | True |
The date of the transaction. Often, but not required to be, this value is the date the transaction was created in the system. For posting transactions, this is the posting date that affects financial statements | |
VendorCredit_PrivateNote | String | False | False | False |
A private note about the transaction. This note will not appear on the transaction records by default. | |
VendorCredit_DepartmentRef | String | False |
Departments.Id | False | False |
The reference number for the transaction. |
VendorCredit_DepartmentRef_Name | String | True |
Departments.Name | False | False |
The reference number for the transaction. |
VendorCredit_Line_Id | String | False | False | False |
The Id of the line item. | |
VendorCredit_Line_Description | String | False | False | False |
The description of the line item that appears in the printed record. | |
VendorCredit_Line_Amount | Decimal | False | False | False |
Total amount of the charges or discounts for the given line item. Includes the charges and allowances, but it excludes the tax amount. | |
VendorCredit_Line_DetailType | String | False | False | False |
The detail type of the line item. | |
VendorCredit_Line_AccountBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The Id of the customer in the expense. |
VendorCredit_Line_AccountBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer in the expense. |
VendorCredit_Line_AccountBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class for the expense. |
VendorCredit_Line_AccountBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class for the expense. |
VendorCredit_Line_AccountBasedExpenseLineDetail_AccountRef | String | False |
Accounts.Id | False | False |
The Id of the account associated with the expense. |
VendorCredit_Line_AccountBasedExpenseLineDetail_AccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the account associated with the expense. |
VendorCredit_Line_AccountBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of this type of line item. | |
VendorCredit_Line_AccountBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The reference to the tax code used for this line. |
VendorCredit_Line_ItemBasedExpenseLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item associated with the expense. |
VendorCredit_Line_ItemBasedExpenseLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item associated with the expense. |
VendorCredit_Line_ItemBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class for the expense. |
VendorCredit_Line_ItemBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class for the expense. |
VendorCredit_Line_ItemBasedExpenseLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item for the expense. | |
VendorCredit_Line_ItemBasedExpenseLineDetail_Qty | Double | False | False | False |
The number of items for the line. | |
VendorCredit_Line_ItemBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The reference to the tax code used for this line. |
VendorCredit_Line_ItemBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The Id of the customer in the expense. |
VendorCredit_Line_ItemBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer in the expense. |
VendorCredit_Line_ItemBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of this type of line item. | |
VendorCredit_VendorRef | String | False |
Vendors.Id | True | False |
The Id of the vendor for this transaction. |
VendorCredit_VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor for this transaction. |
VendorCredit_APAccountRef | String | False |
Accounts.Id | True | True |
The accounts-payable account to which the bill is credited. If the company uses a single accounts-payable account, this account is implied. When specified, the account must be a Liability account and the subtype must be of type Payables. |
VendorCredit_APAccountRef_Name | String | True |
Accounts.Name | False | False |
The accounts-payable account to which the bill is credited. This account is implied if the company uses a single accounts-payable account. When specified, the account must be a Liability account and the subtype must be of type Payables. |
VendorCredit_TotalAmt | Decimal | False | True | True |
The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, and discounts. | |
VendorCredit_CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. | |
VendorCredit_CurrencyRef_Name | String | True | False | False |
The name of the currency used in the transaction. | |
VendorCredit_ExchangeRate | Decimal | False | False | False |
Currency exchange rate. Valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
VendorCredit_GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
VendorCredit_RecurDataRef | String | False | False | False |
The Recurrence Data reference. | |
VendorCredit_RecurDataRef_Name | String | True | False | False |
An identifying name for the object. | |
VendorCredit_RecurringInfo_Name | String | False | False | False |
The Recurring Info name. | |
VendorCredit_RecurringInfo_RecurType | String | False | False | False |
The Recurring Info recurring type. 使用できる値は次のとおりです。Automated, Reminded, UnScheduled | |
VendorCredit_RecurringInfo_Active | Boolean | False | False | False |
The Recurring Info is active or not. | |
VendorCredit_RecurringInfo_ScheduleInfo_IntervalType | String | False | False | False |
The Recurring Info interval type. 使用できる値は次のとおりです。Yearly, Monthly, Weekly, Daily | |
VendorCredit_RecurringInfo_ScheduleInfo_NumInterval | Integer | False | False | False |
The Recurring Info num interval. | |
VendorCredit_RecurringInfo_ScheduleInfo_DayOfWeek | String | False | False | False |
The Recurring Info day of week. | |
VendorCredit_RecurringInfo_ScheduleInfo_WeekOfMonth | String | False | False | False |
The Recurring Info week of month. | |
VendorCredit_RecurringInfo_ScheduleInfo_MaxOccurrences | String | False | False | False |
The max number of recurring occurrences. | |
VendorCredit_RecurringInfo_ScheduleInfo_RemindDays | String | False | False | False |
The days before start date for a reminded RecurType. | |
VendorCredit_RecurringInfo_ScheduleInfo_MonthOfYear | String | False | False | False |
The month of the year. | |
VendorCredit_RecurringInfo_ScheduleInfo_DaysBefore | String | False | False | False |
The days before the scheduled date. | |
VendorCredit_RecurringInfo_ScheduleInfo_DayOfMonth | String | False | False | False |
The day of the month. | |
VendorCredit_RecurringInfo_ScheduleInfo_StartDate | Datetime | False | False | False |
The Recurring Info start date. | |
VendorCredit_RecurringInfo_ScheduleInfo_NextDate | Datetime | False | False | False |
The Recurring Info next date. | |
VendorCredit_RecurringInfo_ScheduleInfo_EndDate | Datetime | False | False | False |
The end date for the recurring schedule. | |
VendorCredit_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | False | False | False |
The Recurring Info previous date. |
Create, update, delete, and query QuickBooks RefundReceiptLineItems.
RefundReceipts may be inserted, queried, or updated via the RefundReceipts or RefundReceiptLineItems tables. RefundReceipts may be deleted by using the RefundReceipts table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a RefundReceipt, specify a Customer, DepositToAccount and at least one Line Item. The following shows an example of inserting multiple RefundReceipts, each with a single line. To insert a RefundReceipt with multiple lines, see the example on the RefundReceipts table.
INSERT INTO RefundReceiptLineItems#TEMP (CustomerRef, DepositToAccountRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount) VALUES ('4', '45', 'SalesItemLineDetail', '2', 0.01) INSERT INTO RefundReceiptLineItems#TEMP (CustomerRef, DepositToAccountRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount) VALUES ('4', '45', 'SalesItemLineDetail', '3', 0.02) INSERT INTO RefundReceiptLineItems (CustomerRef, DepositToAccountRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount) SELECT CustomerRef, DepositToAccountRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount FROM RefundReceiptLineItems#TEMP
To add lines to an existing RefundReceipt, You'll need to specify the RefundReceiptId in the WHERE clause for the INSERT command. For example:
INSERT INTO RefundReceiptLineItems#TEMP (RefundReceiptId, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount) VALUES ('1234', 'SalesItemLineDetail', '2', 0.01) INSERT INTO RefundReceiptLineItems#TEMP (RefundReceiptId, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount) VALUES ('1234', 'SalesItemLineDetail', '3', 0.02) INSERT INTO RefundReceiptLineItems (RefundReceiptId, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount) SELECT RefundReceiptId, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount FROM RefundReceiptLineItems#TEMP
To update an existing Line Item, you'll need to specify the LineId:
UPDATE RefundReceiptLineItems SET Line_SalesItemLineDetail_Qty=20 WHERE LineId='5656'
To delete existing Line Items, you'll need to set the LineId and RefundReceiptId:
DELETE From RefundReceiptLineItems WHERE LineId='5656' AND RefundReceiptId='1'
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | True | False |
The Id of the line item of the invoice of the read receipt. | |
RefundReceiptId [KEY] | String | False | True | True |
The Id of the read receipt. | |
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 |
The 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 that does not appear on the transaction records. | |
Line_Id | String | False | False | False |
The Id of the line item. | |
Line_LineNum | String | False | False | False |
The line number of the line item. | |
Line_Description | String | False | False | False |
The description of the line item. | |
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_SalesItemLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item in the line item. |
Line_SalesItemLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item in the line item. |
Line_SalesItemLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class in the line item. |
Line_SalesItemLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class in the line item. |
Line_SalesItemLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item. | |
Line_SalesItemLineDetail_Qty | Double | False | False | False |
The number of items for the line item. | |
Line_SalesItemLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for the item. |
Line_SalesItemLineDetail_ServiceDate | Date | False | False | False |
The service date for the item. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code of the transaction. |
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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
CustomerMemo | String | False | False | False |
The message to the customer that appears in the invoice and in the printed invoice. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
First line of the address. | |
BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
Note for the customer. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ClassRef | String | False |
Class.Id | False | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
CheckPayment_CheckNum | String | True | False | False |
The check number printed on the check. | |
CheckPayment_Status | String | False | False | False |
Status of the check. Values provided by service/business logic. | |
CheckPayment_NameOnAccount | String | False | False | False |
Name of persons or entities holding the account, as printed on the check. | |
CheckPayment_AcctNum | String | False | False | False |
Checking account number, as printed on the check. | |
CheckPayment_BankName | String | True | False | False |
The name of the bank on which the check was drawn. | |
CreditCardPayment_CreditChargeInfo_Type | String | False | False | False |
The type of credit card. | |
CreditCardPayment_CreditChargeInfo_NameOnAcct | String | False | False | False |
The name of the account holder, as printed on the card. | |
CreditCardPayment_CreditChargeInfo_CcExpiryMonth | Integer | False | False | False |
The expiration month of the card. | |
CreditCardPayment_CreditChargeInfo_CcExpiryYear | Integer | False | False | False |
The four-digit expiration year of the card. | |
CreditCardPayment_CreditChargeInfo_BillAddrStreet | String | False | False | False |
The street of the billing address of the credit card holder. | |
CreditCardPayment_CreditChargeInfo_PostalCode | String | False | False | False |
The postal code. | |
CreditCardPayment_CreditChargeInfo_Amount | Decimal | False | False | False |
The amount processed using the credit card | |
CreditCardPayment_CreditChargeInfo_ProcessPayment | Boolean | False | False | False |
False or no value-Store credit card information only.True-Store credit card payment transaction information in CreditChargeResponse below. | |
CreditCardPayment_CreditChargeResponse_CCTransId | String | False | False | False |
Unique identifier of the payment transaction. | |
CreditCardPayment_CreditChargeResponse_AuthCode | String | False | False | False |
Code returned from the credit card processor to indicate that the charge will be paid by the card issuer. | |
CreditCardPayment_CreditChargeResponse_TxnAuthorizationTime | Datetime | False | False | False |
Timestamp indicating the time in which the card processor authorized the transaction. | |
CreditCardPayment_CreditChargeResponse_Status | String | False | False | False |
Indicates the status of the payment transaction. Possible values include Completed, Unknown. | |
SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales term associated with the transaction. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the transaction. |
DueDate | Date | False | True | False |
The date when the invoice is to be paid, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which store the location of the transaction as defined using location tracking in QuickBooks Online. |
PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete | |
BillEmail_Address | String | False | False | False |
This field identifies the email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Balance | Decimal | False | False | False |
This field indicates whether the transaction is a finance charge. | |
PaymentMethodRef | String | False | False | False |
The Id of the payment method associated with the transaction. | |
PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method associated with the transaction. |
PaymentRefNum | String | False | False | False |
The reference number for the payment received. | |
PaymentType | String | False | False | False |
The type of payment used for the transaction. 使用できる値は次のとおりです。Cash, Check, CreditCard, Other | |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
The asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
CurrencyRef | String | False | False | False |
The Id of the currency used in the transaction. This field is valid in the UK, AU, IN, and CA editions. | |
CurrencyRef_Name | String | False | False | False |
The name of the currency in which all amounts on the associated transaction are expressed. This field is valid in the UK, AU, IN, and CA editions. | |
ExchangeRate | Decimal | False | False | False |
The currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | True | False | False |
Total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create, update, delete, and query QuickBooks RefundReceipts.
RefundReceipts may be inserted, queried, or updated via the RefundReceipts or RefundReceiptLineItems tables. RefundReceipts may be deleted by using the RefundReceipts table.
All filterable columns support the following operators:
To add a RefundReceipt, specify a Customer, DepositToAccount and at least one Line Item. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz). The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which RefundReceipt. For example:
INSERT INTO RefundReceipts (CustomerRef, DepositToAccountRef, LineAggregate) VALUES ('15', '35', <Line><Amount>0.02</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>2</ItemRef></SalesItemLineDetail></Line> <Line><Amount>0.02</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>3</ItemRef></SalesItemLineDetail></Line> ')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the invoice. | |
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 |
The 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 that does not appear on the transaction records. | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of transactions linked to the refund receipt. | |
LineAggregate | String | False | False | False |
An XML aggregate of line items associated with the transaction. | |
TxnTaxDetail_TxnTaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code of the transaction. |
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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
CustomerMemo | String | False | False | False |
The message to the customer that appears in the invoice and in the printed invoice. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
First line of the address. | |
BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
Note for the customer. | |
BillAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded billing address. | |
BillAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded billing address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA or the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
The latitude coordinate of the geocoded shipping address. | |
ShipAddr_Long | String | False | False | False |
The longitude coordinate of the geocoded shipping address. | |
ClassRef | String | False |
Class.Id | False | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
CheckPayment_CheckNum | String | True | False | False |
The check number printed on the check. | |
CheckPayment_Status | String | False | False | False |
Status of the check. Values provided by service/business logic. | |
CheckPayment_NameOnAccount | String | False | False | False |
Name of persons or entities holding the account, as printed on the check. | |
CheckPayment_AcctNum | String | False | False | False |
Checking account number, as printed on the check. | |
CheckPayment_BankName | String | True | False | False |
The name of the bank on which the check was drawn. | |
CreditCardPayment_CreditChargeInfo_Type | String | False | False | False |
The type of credit card. | |
CreditCardPayment_CreditChargeInfo_NameOnAcct | String | False | False | False |
The name of the account holder, as printed on the card. | |
CreditCardPayment_CreditChargeInfo_CcExpiryMonth | Integer | False | False | False |
The expiration month of the card. | |
CreditCardPayment_CreditChargeInfo_CcExpiryYear | Integer | False | False | False |
The four-digit expiration year of the card. | |
CreditCardPayment_CreditChargeInfo_BillAddrStreet | String | False | False | False |
The street of the billing address of the credit card holder. | |
CreditCardPayment_CreditChargeInfo_PostalCode | String | False | False | False |
The postal code. | |
CreditCardPayment_CreditChargeInfo_Amount | Decimal | False | False | False |
The amount processed using the credit card | |
CreditCardPayment_CreditChargeInfo_ProcessPayment | Boolean | False | False | False |
False or no value-Store credit card information only.True-Store credit card payment transaction information in CreditChargeResponse below. | |
CreditCardPayment_CreditChargeResponse_CCTransId | String | False | False | False |
Unique identifier of the payment transaction. | |
CreditCardPayment_CreditChargeResponse_AuthCode | String | False | False | False |
Code returned from the credit card processor to indicate that the charge will be paid by the card issuer. | |
CreditCardPayment_CreditChargeResponse_TxnAuthorizationTime | Datetime | False | False | False |
Timestamp indicating the time in which the card processor authorized the transaction. | |
CreditCardPayment_CreditChargeResponse_Status | String | False | False | False |
Indicates the status of the payment transaction. Possible values include Completed, Unknown. | |
SalesTermRef | String | False |
Terms.Id | False | False |
The Id of the sales term associated with the transaction. |
SalesTermRef_Name | String | True |
Terms.Name | False | False |
The name of the sales term associated with the transaction. |
DueDate | Date | False | True | False |
The date when the invoice is to be paid, not including any early payment discount incentives or late payment penalties. If the date is not supplied, the current date on the server is used. | |
ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
TotalAmt | Decimal | True | True | True |
This field indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. | |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which store the location of the transaction as defined using location tracking in QuickBooks Online. |
PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete | |
BillEmail_Address | String | False | False | False |
This field identifies the email address where the invoice is sent. If the value of EmailStatus is NeedToSend, BillEmail is a required input. | |
Balance | Decimal | False | False | False |
This field indicates whether the transaction is a finance charge. | |
PaymentMethodRef | String | False | False | False |
The Id of the payment method associated with the transaction. | |
PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method associated with the transaction. |
PaymentRefNum | String | False | False | False |
The reference number for the payment received. | |
PaymentType | String | False | False | False |
The type of payment used for the transaction. 使用できる値は次のとおりです。Cash, Check, CreditCard, Other | |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
The asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
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 valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | True | False | False |
Total amount of the transaction in the home currency. Includes the total of all the charges, allowances, and taxes. This field is valid in the UK, AU, IN, and CA editions. |
Create, update, delete, and query QuickBooks Sales Receipt Line Items.
SalesReceipts may be inserted, queried, or updated via the SalesReceipts or SalesReceiptLineItems tables. SalesReceipts may be deleted by using the SalesReceipts table.
All filterable columns support the following operators:
To add a SalesReceipt, specify the Customer, TotalAmt, and at least one Line Item. The following shows an example of inserting multiple SalesReceipts, each with a single line. To insert a SalesReceipt with multiple lines, see the example on the SalesReceipts table.
INSERT INTO SalesReceiptLineItems#TEMP (CustomerRef, Line_Amount, Line_DetailType, Line_SalesItemLineDetail_ItemRef, TotalAmt) VALUES ('4', 0.01, 'SalesItemLineDetail', '2', 0.03) INSERT INTO SalesReceiptLineItems#TEMP (CustomerRef, Line_Amount, Line_DetailType, Line_SalesItemLineDetail_ItemRef, TotalAmt) VALUES ('4', 0.02, 'SalesItemLineDetail', '3', 0.03) INSERT INTO SalesReceiptLineItems (CustomerRef, Line_Amount, Line_DetailType, Line_SalesItemLineDetail_ItemRef, TotalAmt) SELECT CustomerRef, Line_Amount, Line_DetailType, Line_SalesItemLineDetail_ItemRef, TotalAmt FROM SalesReceiptLineItems#TEMP
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | False |
The Id of the line item on the sales receipt. | |
SalesReceiptId [KEY] | String | False | True | True |
The Id of the sales receipt. | |
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 |
The reference number for the transaction. | |
TxnDate | Date | False | True | True |
The date when this transaction occurred. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
PrivateNote | String | False | False | False |
A private note about the transaction. This note will not appear on the transaction records by default. | |
TxnStatus | String | False | False | False |
The status of the transaction. Depending on the transaction type it may have different values. For sales transactions acceptable values are defined in PaymentStatusEnum. For estimates, the values accepted are defined in QboEstimateStatusEnum. | |
LinkedTxnAggregate | String | False | False | False |
An XML aggregate of the transactions linked to the line item. | |
Line_Id | String | False | False | False |
The Id of the line item. | |
Line_LineNum | String | False | False | False |
The number 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 |
Total amount of the charges or discounts for the given line. Includes the charges and allowances, but it excludes the tax amount. | |
Line_DetailType | String | False | False | False |
The line detail type. Different detail types indicate different types of line items. | |
Line_SalesItemLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of an item in the line item. When a line item lacks an ItemRef it is treated as documentation and the Line_Amount field is ignored. |
Line_SalesItemLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item. When a line lacks an ItemRef it is treated as documentation and the Line_Amount field is ignored. |
Line_SalesItemLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the entity for the class for the line item. |
Line_SalesItemLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class for the line item. |
Line_SalesItemLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item referenced by ItemRef. | |
Line_SalesItemLineDetail_Qty | Decimal | False | False | False |
The number of items for the line. | |
Line_SalesItemLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The tax code for this item. |
Line_SalesItemLineDetail_ServiceDate | Date | False | False | False |
The date when the service is performed. | |
Line_GroupLineDetail_GroupItemRef | String | True | False | False |
The Id of the group item object. | |
Line_GroupLineDetail_GroupItemRef_Name | String | True | False | False |
The name of the group item object. | |
Line_GroupLineDetail_Quantity | Integer | True | False | False |
The amount of the group item. | |
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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
CustomerMemo | String | False | False | False |
The message to the customer. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
First line of the address. | |
BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
Note for the customer. | |
BillAddr_Lat | String | False | False | False |
Latitude coordinate of the geocoded address. | |
BillAddr_Long | String | False | False | False |
Longitude coordinate of the geocoded address. | |
ShipAddr_Id | String | False | False | False |
Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
Latitude coordinate of the geocoded address. | |
ShipAddr_Long | String | False | False | False |
Longitude coordinate of the geocoded address. | |
ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
ShipDate | Date | False | False | False |
The date for delivery of goods or services. | |
TrackingNum | String | False | False | False |
The tracking number for the shipping provider for the delivery of the goods associated with the transaction. | |
TotalAmt | Decimal | False | True | False |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. By default, this is recalculated based on sub items total and overridden. Calculated by QuickBooks business logic; cannot be written to QuickBooks. | |
PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
BillEmail_Address | String | False | False | False |
The email address where the sales receipt is sent. | |
Balance | Decimal | True | True | True |
The balance reflecting any payments made against the transaction. | |
PaymentRefNum | String | False | False | False |
The reference number for the payment. | |
PaymentMethodRef | String | False | False | False |
The Id of the payment method entity. | |
PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method entity. |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
The Id of the entity for the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
A name that identifies the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account. |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
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 valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | False | False | False |
Total amount of the transaction in the home currency. This field is valid in the UK, AU, IN, and CA editions. |
Create, update, delete, and query QuickBooks Sales Receipts.
SalesReceipts may be inserted, queried, or updated via the SalesReceipts or SalesReceiptLineItems tables. SalesReceipts may be deleted by using the SalesReceipts table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a SalesReceipt, specify the Customer, TotalAmt, and at least one Line Item. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz). The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which SalesReceipts. For example:
INSERT INTO SalesReceipts (CustomerRef, TotalAmt, LineAggregate) VALUES ('21', '0.03', ' <Line><Amount>0.01</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>2</ItemRef></SalesItemLineDetail></Line> <Line><Amount>0.02</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>3</ItemRef></SalesItemLineDetail></Line> ')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the sales receipt. | |
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 when this transaction occurred. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction as defined using location tracking in QuickBooks Online. |
PrivateNote | String | False | False | False |
The private note about the transaction. This note will not appear on the transaction records by default. | |
TxnStatus | String | False | False | False |
The status of the transaction. Depending on the transaction type it may have different values. For sales transactions, the acceptable values are defined in PaymentStatusEnum. For estimates, the values accepted are defined in QboEstimateStatusEnum. | |
LinkedTxnAggregate | String | False | False | False |
Zero or more linked transactions. | |
LineAggregate | String | False | False | False |
Zero or more lines for the transaction. | |
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. | |
CustomerRef | String | False |
Customers.Id | True | False |
The Id of the customer. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer. |
CustomerMemo | String | False | False | False |
The message to the customer. | |
BillAddr_Id | String | False | False | False |
The Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
First line of the address. | |
BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
BillAddr_Note | String | False | False | False |
The note for the customer. | |
BillAddr_Lat | String | False | False | False |
Latitude coordinate of the geocoded address. | |
BillAddr_Long | String | False | False | False |
Longitude coordinate of the geocoded address. | |
ShipAddr_Id | String | False | False | False |
The Id of the entity for the shipping address, mainly used for modifying the address. This field is assigned by the data service. | |
ShipAddr_Line1 | String | False | False | False |
First line of the address. | |
ShipAddr_Line2 | String | False | False | False |
Second line of the address. | |
ShipAddr_Line3 | String | False | False | False |
Third line of the address. | |
ShipAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
ShipAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
ShipAddr_City | String | False | False | False |
City name. | |
ShipAddr_Country | String | False | False | False |
Country name. | |
ShipAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
ShipAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
ShipAddr_Note | String | False | False | False |
Note for the customer. | |
ShipAddr_Lat | String | False | False | False |
Latitude coordinate of the geocoded address. | |
ShipAddr_Long | String | False | False | False |
Longitude coordinate of the geocoded address. | |
ClassRef | String | False |
Class.Id | True | False |
The Id of the class associated with the transaction. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class associated with the transaction. |
ShipMethodRef | String | False | False | False |
The Id of the shipping method associated with the transaction. | |
ShipMethodRef_Name | String | True | False | False |
The name of the shipping method associated with the transaction. | |
ShipDate | Date | False | False | False |
Date for delivery of goods or services. | |
TrackingNum | String | False | False | False |
The tracking number of the shipping provider for the delivery of the goods associated with the transaction. | |
TotalAmt | Decimal | False | True | False |
The total amount of the transaction. This includes the total of all the charges, allowances, and taxes. By default, this is recalculated and overriden based on total of the subitems. This field is calculated by QuickBooks business logic and cannot be written to QuickBooks. | |
PrintStatus | String | False | False | False |
The print status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToPrint, PrintComplete デフォルト値はNotSetです。 | |
EmailStatus | String | False | False | False |
The email status of the invoice. 使用できる値は次のとおりです。NotSet, NeedToSend, EmailSent デフォルト値はNotSetです。 | |
BillEmail_Address | String | False | False | False |
The email address where the sales receipt is sent. | |
Balance | Decimal | True | True | True |
The balance reflecting any payments made against the transaction. | |
PaymentRefNum | String | False | False | False |
The reference number for the payment. | |
PaymentMethodRef | String | False | False | False |
The Id of the payment method. | |
PaymentMethodRef_Name | String | True |
PaymentMethods.Name | False | False |
The name of the payment method. |
DepositToAccountRef | String | False |
Accounts.Id | False | False |
The Id of the asset account where the payment money is deposited. If you do not specify this account, QBO uses the Undeposited Funds account. |
DepositToAccountRef_Name | String | True |
Accounts.Name | False | False |
A name that identifies the asset account where the payment money is deposited. If you do not specify this account, QBO uses the Undeposited Funds account. |
ApplyTaxAfterDiscount | Boolean | False | False | False |
This field sets whether discounts are applied before the tax is calculated. | |
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 |
Currency exchange rate. This field is valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
HomeTotalAmt | Decimal | False | False | False |
Total amount of the transaction in the home currency. This field is valid in the UK, AU, IN, and CA editions. |
Create and Query QuickBooks Tax Agency.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the sales tax code. | |
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. | |
DisplayName | String | False | True | True |
The name for the tax agency. | |
TaxRegistrationNumber | String | True | True | True |
The Registration number for the agency | |
TaxTrackedOnPurchases | Boolean | True | True | False |
This field denotes whether this tax agency is used to track tax on purchases. | |
TaxTrackedOnSales | Boolean | True | True | False |
This field denotes whether this tax agency is used to track tax on sales. | |
LastFileDate | Date | True | False | False |
The last tax filing date for this tax agency. This field is automatically populated by QuickBooks business logic at tax filing time. |
Create and query QuickBooks Sales Tax Codes.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the sales tax code. | |
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 | False | True |
The time the record was created. | |
MetaData_LastUpdatedTime | Datetime | True | False | True |
The time the record was last updated. | |
Name | String | False | False | True |
The name for the tax sales code. | |
Description | String | False | False | True |
A description for the sales tax code. This field must not contain white space or formatting characters. | |
Active | Boolean | False | False | False |
This field sets whether the sales tax code entity is active. Inactive sales tax codes may be hidden from display and are not used on financial transactions. | |
Taxable | Boolean | False | False | False |
This field indicates that the sales tax code signifies a non-taxable entity if false or null (default) or a taxable entity if true. | |
TaxGroup | Boolean | False | False | False |
This field indicates whether the sales tax code is for a tax group. | |
SalesTaxRateList_TaxRateDetailAggregate | String | False | False | False |
An XML aggregate of sales tax rates. | |
PurchaseTaxRateList_TaxRateDetailAggregate | String | False | False | False |
An XML aggregate of purchase tax rates. This field available in only the UK, AU, CA, and IN editions. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
TaxRateDetails | String |
Aggregate of TaxRateDetails. Used only for insert. |
TaxApplicableOn | String |
Specifies where this tax rate can be applied. Possible values are 'Sales' or 'Purchase'.Used only for insert. |
TaxRateName | String |
Name of a new tax rate.Used only for insert. |
TaxAgencyId | String |
The Id of the agency to whom tax is paid.Used only for insert. |
RateValue | String |
The tax rate value.Used only for insert. |
Create and query QuickBooks Tax Rates.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the tax rate. | |
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. | |
Name | String | False | True | False |
The name for the tax rate. | |
Description | String | False | True | True |
A description for the sales tax rate. This field must not contain white space or formatting characters. | |
Active | Boolean | False | True | False |
This field sets whether the tax rate is active. This value is false if inactive. Inactive sales tax codes may be hidden from display and are not used on financial transactions. | |
RateValue | String | False | True | True |
The value of the tax rate. | |
AgencyRef | String | False |
TaxAgency.Id | True | True |
The Id of the tax agency. |
AgencyRef_Name | String | True |
TaxAgency.DisplayName | False | False |
The name of the tax agency. |
TaxReturnLineRef | String | False | True | True |
The Id of the tax return line. | |
TaxReturnLineRef_Name | String | True | False | False |
The name of the tax return line. | |
SpecialTaxType | String | False | False | False |
The special tax type to handle zero-rate taxes. VAT-registered businesses who receive goods, services, or acquisitions from other EU countries will need to calculate the VAT due, but not paid, on these acquisitions. The rate of VAT that is payable is the same that would have been paid if the goods had been supplied by a UK supplier. | |
DisplayType | String | False | False | False |
The display type of the tax rate. This field is used to configure display settings. | |
EffectiveTaxRate | Double | False | False | False |
The effective tax rate. This field is used to know which tax rate is applicable on any date. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
TaxRateDetails | String |
The Tax Rate Details.Used only for insert. |
TaxCode | String |
The name for the tax code.Used only for insert. |
TaxApplicableOn | String |
The Tax rate applicability. Values can be 'Sales or 'Purchase'. Used only for Insert. |
Create, update, delete, and query QuickBooks Terms.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the term. | |
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. | |
Name | String | False | True | False |
The name for the term. | |
Active | Boolean | False | True | False |
This field sets whether this entity is currently enabled for use by QuickBooks. | |
Type | String | False | False | False |
The type of the sales term. | |
DiscountPercent | Double | False | False | False |
The discount percentage available against an amount if paid within the days specified by DiscountDays. | |
DueDays | Integer | False | False | False |
Number of days from delivery of goods or services until the payment is due. | |
DiscountDays | Integer | False | False | False |
The discount applies if paid within this number of days. | |
DayOfMonthDue | Integer | False | False | False |
The payment must be received by this day of the month. | |
DueNextMonthDays | Integer | False | False | False |
The payment is due next month if it was issued the specified number of days before the value of DayOfMonthDue. | |
DiscountDayOfMonth | Integer | False | False | False |
The discount applies if paid before this day of month. |
Create, update, delete, and query QuickBooks Time Activities.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | False |
The Id of the time activity. | |
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. | |
TxnDate | Date | False | True | True |
The date of the time activity. | |
NameOf | String | False | False | False |
The type of the person who performs the task. 使用できる値は次のとおりです。Employee, Vendor | |
EmployeeRef | String | False |
Employees.Id | False | False |
The Id of the employee. Either the EmployeeId or EmployeeName is required for the create operation. EmployeeId is preferred. |
EmployeeRef_Name | String | True |
Employees.DisplayName | False | False |
The fully qualified name for an employee. A fully qualified name starts with the employee name followed by a colon and the employee subentry name. Up to 5 additional subemployees can be declared by appending a colon and subentry name. For example: Store54:Shane Hamby. |
VendorRef | String | False |
Vendors.Id | False | False |
The Id vendor associated with the transaction. A reference either the VendorId or VendorName is required for the create operation, although VendorId is preferred. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The fully qualified name for a vendor. A fully qualified name starts with the name followed by a colon and the subentry name. Up to five levels of subentries can be defined by appending a colon and name for the subentry. For example: Rock Construction:Building Materials. |
CustomerRef | String | False |
Customers.Id | False | False |
The Id of the customer receiving the goods or services. For example, if the transaction is associated with a job or project, such as John Doe:Kitchen, this Id must reference John Doe. |
CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The fully qualified name for a customer or organization. A fully qualified name starts with the customer name followed by a colon and the subcustomer name. Up to five additional subcustomers can be defined by appending a colon and the name of the subcustomer. For example: Rock Construction:Sammuels. |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department. |
ItemRef | String | False |
Items.Id | False | False |
The Id of the item. This field is required in create commands. |
ItemRef_Name | String | True |
Items.Name | False | False |
The name of item. This field is required in create commands. |
ClassRef | String | False |
Class.Id | False | False |
Reference type of all Ids that are taken as input or output. |
ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
Reference type of all Ids that are taken as input or output. |
PayrollItemRef | String | False | False | False |
Specifies how much the employee should be paid for doing the work specified by the Compensation Id. | |
BillableStatus | String | False | False | False |
Billable status of the time activity. 使用できる値は次のとおりです。Billable, NotBillable, HasBeenBilled | |
Taxable | Boolean | False | False | False |
This value is true if the time activity recorded is both billable and taxable. | |
HourlyRate | Decimal | False | False | False |
Hourly bill rate of the employee or vendor for this time activity. | |
Hours | Integer | False | False | False |
Hours worked. | |
Minutes | Integer | False | False | False |
Minutes worked. Valid values are 0 - 59. | |
StartTime | Datetime | False | False | False |
Time work started. | |
EndTime | Datetime | False | False | False |
Time work ended. | |
Description | String | False | False | False |
Description of work completed during the time activity. | |
TransactionLocationType | String | False | False | False |
The account location. This field is valid in only the FR editions. 使用できる値は次のとおりです。WithinFrance, FranceOverseas, OutsideFranceWithEU, OutsideEU |
Create, update, delete, and query QuickBooks Transfers
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the payment. | |
TxnDate | Date | False | True | True |
The date entered by the user when this transaction occurred. | |
PrivateNote | String | False | False | False |
User entered, organization-private note about the transaction. | |
FromAccountRef | String | False |
Accounts.Id | False | False |
The account Id from which the funds were transfered. |
FromAccountRef_Name | String | False |
Accounts.Name | False | False |
The account Name from which the funds were transfered. |
ToAccountRef | String | False |
Accounts.Id | False | False |
The account Id to which the funds were transfered. |
ToAccountRef_Name | String | False |
Accounts.Name | False | False |
The account Name to which the funds were transfered. |
Amount | Decimal | False | False | False |
The total amount of the transaction | |
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. | |
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. | |
TransactionLocationType | String | False | False | False |
The account location. This field is valid in only the FR editions. 使用できる値は次のとおりです。WithinFrance, FranceOverseas, OutsideFranceWithEU, OutsideEU |
Create, update, delete, and query QuickBooks Vendor Credit Line Items.
VendorCredits may be inserted, queried, or updated via the VendorCredits or VendorCreditLineItems tables. VendorCredits may be deleted by using the VendorCredits table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a VendorCredit, specify the Vendor, TotalAmt, and at least one Line Item. The following shows an example of inserting multiple VendorCredits, each with a single line. To insert a VendorCredit with multiple lines, see the example on the VendorCredits table.
INSERT INTO VendorCreditLineItems#TEMP (VendorRef, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_CustomerRef, Line_AccountBasedExpenseLineDetail_AccountRef, TotalAmt) VALUES ('21', 0.01, 'AccountBasedExpenseLineDetail', '4', '41', 0.03) INSERT INTO VendorCreditLineItems#TEMP (VendorRef, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_CustomerRef, Line_AccountBasedExpenseLineDetail_AccountRef, TotalAmt) VALUES ('21', 0.02, 'AccountBasedExpenseLineDetail', '4', '41', 0.03) INSERT INTO VendorCreditLineItems (VendorRef, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_CustomerRef, Line_AccountBasedExpenseLineDetail_AccountRef, TotalAmt) SELECT VendorRef, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_CustomerRef, Line_AccountBasedExpenseLineDetail_AccountRef, TotalAmt FROM VendorCreditLineItems#TEMP
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
LineId [KEY] | String | True | False | True |
The Id of the line item on the vendor credit. | |
VendorCreditId [KEY] | String | False | True | False |
The Id of the vendor credit. | |
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 |
The primary document number for this transaction. If it is not provided, QuickBooks business logic will assign the document number using the next-in-sequence algorithm. | |
TxnDate | Date | False | True | True |
The date of the transaction. Often, but not required to be, this value is the date the transaction was created in the system. For posting transactions, this is the posting date that affects financial statements | |
PrivateNote | String | False | False | False |
A private note about the transaction. This note will not appear on the transaction records by default. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The reference number for the transaction. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The reference number for the transaction. |
Line_Id | String | False | False | False |
The Id of the line item. | |
Line_Description | String | False | False | False |
The description of the line item that appears in the printed record. | |
Line_Amount | Decimal | False | False | False |
Total amount of the charges or discounts for the given line item. Includes the charges and allowances, but it excludes the tax amount. | |
Line_DetailType | String | False | False | False |
The detail type of the line item. | |
Line_AccountBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The Id of the customer in the expense. |
Line_AccountBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer in the expense. |
Line_AccountBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class for the expense. |
Line_AccountBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class for the expense. |
Line_AccountBasedExpenseLineDetail_AccountRef | String | False |
Accounts.Id | False | False |
The Id of the account associated with the expense. |
Line_AccountBasedExpenseLineDetail_AccountRef_Name | String | True |
Accounts.Name | False | False |
The name of the account associated with the expense. |
Line_AccountBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of this type of line item. | |
Line_AccountBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The reference to the tax code used for this line. |
Line_ItemBasedExpenseLineDetail_ItemRef | String | False |
Items.Id | False | False |
The Id of the item associated with the expense. |
Line_ItemBasedExpenseLineDetail_ItemRef_Name | String | True |
Items.Name | False | False |
The name of the item associated with the expense. |
Line_ItemBasedExpenseLineDetail_ClassRef | String | False |
Class.Id | False | False |
The Id of the class for the expense. |
Line_ItemBasedExpenseLineDetail_ClassRef_Name | String | True |
Class.FullyQualifiedName | False | False |
The name of the class for the expense. |
Line_ItemBasedExpenseLineDetail_UnitPrice | Decimal | False | False | False |
The unit price of the item for the expense. | |
Line_ItemBasedExpenseLineDetail_Qty | Double | False | False | False |
The number of items for the line. | |
Line_ItemBasedExpenseLineDetail_TaxCodeRef | String | False |
TaxCodes.Id | False | False |
The reference to the tax code used for this line. |
Line_ItemBasedExpenseLineDetail_CustomerRef | String | False |
Customers.Id | False | False |
The Id of the customer in the expense. |
Line_ItemBasedExpenseLineDetail_CustomerRef_Name | String | True |
Customers.DisplayName | False | False |
The name of the customer in the expense. |
Line_ItemBasedExpenseLineDetail_BillableStatus | String | False | False | False |
The billable status of this type of line item. | |
VendorRef | String | False |
Vendors.Id | True | False |
The Id of the vendor for this transaction. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor for this transaction. |
APAccountRef | String | False |
Accounts.Id | True | True |
The accounts-payable account to which the bill is credited. If the company uses a single accounts-payable account, this account is implied. When specified, the account must be a Liability account and the subtype must be of type Payables. |
APAccountRef_Name | String | True |
Accounts.Name | False | False |
The accounts-payable account to which the bill is credited. This account is implied if the company uses a single accounts-payable account. When specified, the account must be a Liability account and the subtype must be of type Payables. |
TotalAmt | Decimal | False | True | True |
The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, and discounts. | |
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 |
Currency exchange rate. Valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable |
Create, update, delete, and query QuickBooks Vendor Credits.
VendorCredits may be inserted, queried, or updated via the VendorCredits or VendorCreditLineItems tables. VendorCredits may be deleted by using the VendorCredits table.
All filterable columns support the following operators:
The driver processes other filters client-side within the driver.
To add a VendorCredit, specify a Vendor, TotalAmt, and at least one Line Item. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz). The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which VendorCredits. For example:
INSERT INTO VendorCredits (VendorRef, TotalAmt, LineAggregate) VALUES ('21', '0.03', ' <Line><Amount>0.01</Amount><DetailType>AccountBasedExpenseLineDetail</DetailType><AccountBasedExpenseLineDetail><CustomerRef>4</CustomerRef><AccountRef>41</AccountRef></AccountBasedExpenseLineDetail></Line> <Line><Amount>0.02</Amount><DetailType>AccountBasedExpenseLineDetail</DetailType><AccountBasedExpenseLineDetail><CustomerRef>4</CustomerRef><AccountRef>41</AccountRef></AccountBasedExpenseLineDetail></Line> ')
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the vendor credit. | |
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 |
The primary document number for this transaction. If it is not provided, QuickBooks business logic will assign the document number using the next-in-sequence algorithm. | |
TxnDate | Date | False | True | True |
The date of the transaction. Often, but not required to be, this value is the date the transaction was created in the system. For posting transactions, this is the posting date that affects financial statements. | |
PrivateNote | String | False | False | False |
A private note about the transaction. This note will not appear on the transaction records by default. | |
DepartmentRef | String | False |
Departments.Id | False | False |
The Id of the department, which stores the location of the transaction. |
DepartmentRef_Name | String | True |
Departments.Name | False | False |
The name of the department, which stores the location of the transaction. |
LineAggregate | String | False | False | False |
An XML aggregate of the individual line item entries contained in the vendor credit. | |
VendorRef | String | False |
Vendors.Id | True | False |
The Id of the vendor. |
VendorRef_Name | String | True |
Vendors.DisplayName | False | False |
The name of the vendor. |
APAccountRef | String | False |
Accounts.Id | True | True |
The accounts-payable account the bill is credited to. If the company has a single accounts-payable account, this account is implied. When specified, the account must be a Liability account and the subtype must be of type Payables. |
APAccountRef_Name | String | True |
Accounts.Name | False | False |
The accounts-payable account to which the bill is credited. If the company has a single accounts-payable account, this account is implied. When specified, the account must be a Liability account and the subtype must be of type Payables. |
TotalAmt | Decimal | False | True | True |
The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, and discounts. | |
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 |
Currency exchange rate. Valid only if the company file is set up to use 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 for the UK, AU, IN, and CA editions. | |
GlobalTaxCalculation | String | False | False | False |
Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions. 使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable | |
TransactionLocationType | String | False | False | False |
The account location. This field is valid in only the FR editions. 使用できる値は次のとおりです。WithinFrance, FranceOverseas, OutsideFranceWithEU, OutsideEU |
Create, update, delete, and query QuickBooks Vendors.
Name | Type | ReadOnly | References | Filterable | Sortable | Description |
Id [KEY] | String | True | True | True |
The Id of the vendor. | |
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 | False | True | True |
The time the record was created. | |
MetaData_LastUpdatedTime | Datetime | False | True | True |
The time the record was last updated. | |
Title | String | False | False | False |
Title of a person. | |
GivenName | String | False | True | True |
Given name or first name of a person. | |
MiddleName | String | False | True | True |
Middle name of the person. | |
FamilyName | String | False | True | True |
Family name or last name of the person. | |
Suffix | String | False | False | True |
Suffix of the name. | |
DisplayName | String | False | True | True |
The name of the vendor, as displayed. | |
CompanyName | String | False | True | True |
The name of the company associated with the vendor. | |
PrintOnCheckName | String | False | True | True |
Name of the person or organization as printed on a check | |
Active | Boolean | False | True | False |
This field sets whether the vendor is currently enabled for use by QuickBooks. | |
PrimaryPhone_FreeFormNumber | String | False | False | False |
Primary phone number. | |
AlternatePhone_FreeFormNumber | String | False | False | False |
Alternate phone number. | |
Mobile_FreeFormNumber | String | False | False | False |
The mobile phone number. | |
Fax_FreeFormNumber | String | False | False | False |
Fax number. | |
PrimaryEmailAddr_Address | String | False | False | False |
Email address of the vendor. | |
WebAddr_URI | String | False | False | False |
Website address. | |
BillAddr_Id | String | False | False | False |
Id of the entity for the billing address, mainly used for modifying the address. This field is assigned by the data service. | |
BillAddr_Line1 | String | False | False | False |
First line of the address. | |
BillAddr_Line2 | String | False | False | False |
Second line of the address. | |
BillAddr_Line3 | String | False | False | False |
Third line of the address. | |
BillAddr_Line4 | String | False | False | False |
Fourth line of the address. | |
BillAddr_Line5 | String | False | False | False |
Fifth line of the address. | |
BillAddr_City | String | False | False | False |
City name. | |
BillAddr_Country | String | False | False | False |
Country name. | |
BillAddr_CountrySubDivisionCode | String | False | False | False |
Region within a country. For example, the state name for the USA and the province name for Canada. | |
BillAddr_PostalCode | String | False | False | False |
Postal code. For example, the zip code for the USA and Canada. | |
BillAddr_Lat | String | False | False | False |
Latitude coordinate of the geocoded address. | |
BillAddr_Long | String | False | False | False |
Longitude coordinate of the geocoded address. | |
OtherContactInfo_Type | String | False | False | False |
The type of contact information. | |
OtherContactInfo_Telephone_FreeFormNumber | String | False | False | False |
Telephone number information. | |
TaxIdentifier | String | False | False | False |
Tax Id of the vendor. | |
TermRef | String | False |
Terms.Id | False | False |
The Id of a term associated with the vendor. |
TermRef_Name | String | True |
Terms.Name | False | False |
A name that identifies a term associated with the vendor. |
Balance | String | False | True | True |
The amount the company owes to this vendor. For the create operation, this represents the opening balance or the unpaid amount for the vendor. When returned in response to the query request it represents the current open balance or unpaid amount for that vendor. | |
AcctNum | String | False | False | False |
Name or number of the account associated with this vendor. | |
Vendor1099 | Boolean | False | False | False |
This field specifies that the vendor is an independent contractor who is given a 1099-MISC form at the end of the year. The 1099 vendor is paid with regular checks and taxes are not withheld on their behalf. | |
CurrencyRef | String | False | False | False |
The Id of the currency used in all the business transactions created for or received from that vendor. | |
CurrencyRef_Name | String | True | False | False |
The name of the currency used in all the business transactions created for or received from that vendor. |
ビューは、カラムと疑似カラムで構成されます。ビューは、データを示すという点でテーブルに似ていますが、ビューでは更新はサポートされません。通常、ビューとして表されるエンティティは、読み取り専用のエンティティです。多くの場合、これらのデータはストアドプロシージャを使用することで更新できます(その機能がデータソースに適用できる場合)。
ビューに対しては、通常のテーブルと同じようにクエリを実行でき、このときに返されるデータも同様です。
ビューとして公開されるクエリなどの動的ビューや、project_team ワークアイテムの特定の組み合わせを検索するためのビューがサポートされています。
Name | Description |
BalanceSheetSummaryReport | The QuickBooks report BalanceSheet. |
CreditCardPayments | Query QuickBooks Credit Card Payments. |
CustomerBalanceDetail | The QuickBooks report CustomerBalanceDetail. |
CustomerSalesReport | The QuickBooks report CustomerSales. |
CustomerTypes | Query QuickBooks Customer Types. |
Entitlements | Retrieves QuickBooks Entitlements. |
GetDeletedAsView | Retrieve deleted records of a given entity like Customer, Invoice, BillPayment etc. |
RecurringBillTransactions | Query QuickBooks Recurring Transaction for Bills. |
Thresholds | Retrieves QuickBooks Thresholds. |
The QuickBooks report BalanceSheet.
Name | Type | References | Description |
Account | String | A column for Account containing Account data. | |
Total | Decimal | A column for Total containing Money data. | |
RowType | String | A column for Type of the row. | |
RowGroup | String | A column for Group of the row. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
DateMacro | String | A predefined date range. Use this if you want the report to cover a standard report date range. Otherwise, use the StartDate and EndDate to cover an explicit range.
使用できる値は次のとおりです。Today, Yesterday, This Week, This Week-to-date, Last Week, Last Week-to-date, Next Week, Next 4 Weeks, This Month, This Month-to-date, Last Month, Last Month-to-date, Next Month, This Fiscal Quarter, This Fiscal Year, This Fiscal Year-to-date, Last Fiscal Year, Last Fiscal Year-to-date, Next Fiscal Year | |
StartDate | String | The startdate of the report. StartDate must be less than EndDate. | |
EndDate | String | The enddate of the report. EndDate must be greater than StartDate. | |
AccountingMethod | String | The accounting method used in the report.
使用できる値は次のとおりです。Cash, Accrual | |
Customer | String | Filters report contents to include information for specified customers. This is a comma separated list (spaces omitted after/before separating comma) of one or more Customer IDs. | |
Department | String | Filters report contents to include information for specified departments if so configured in the company file. This is a comma separated list (spaces omitted after/before separating comma) of one or more Department IDs. | |
Vendor | String | Filters report contents to include information for specified vendors. This is a comma separated list (spaces omitted after/before separating comma) of one or more Vendor IDs. | |
Class | String | Filters report contents to include information for specified classes if so configured in the company file. This is a comma separated list (spaces omitted after/before separating comma) of one or more Class IDs. | |
Item | String | Filters report contents to include information for specified items. This is a comma separated list (spaces omitted after/before separating comma) of one or more Item IDs. | |
Indentation | Boolean | Add spaces at the start of values to visually identify totals and group values. |
Query QuickBooks Credit Card Payments.
This view will retrieve all the credit card payments from the user's account.
SELECT * FROM CreditCardPayments SELECT * FROM CreditCardPayments WHERE Id='1234' SELECT * FROM CreditCardPayments WHERE TxnDate > '2020-01-01'
Name | Type | References | Description |
Id [KEY] | String | The Id of the credit card payment. | |
SyncToken | String | 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 | Time the entity was created in the source domain. | |
MetaData_LastUpdatedTime | Datetime | Time the entity was last updated in the source domain. | |
TxnDate | Date | The date entered by the user when this transaction occurred. | |
CurrencyRef | String | The currency entered by the user when this transaction occurred. | |
ExchangeRate | Decimal | The exchange rate when this transaction occurred. | |
CreditCardAccountRef | String | Identifies the credit card account to which funds are transfered. | |
BankAccountRef | String | Identifies the bank account from which funds are transfered. | |
Amount | Decimal | Indicates the total amount of the transaction. |
The QuickBooks report CustomerBalanceDetail.
Name | Type | References | Description |
Label | String | A column for Label. | |
ReportDate | String | A column for Date. If used as a filter it will retrieve the records up to the specified date. | |
TransactionType | String | A column for TransactionType containing String data. | |
Num | String | A column for Num containing String data. | |
DueDate | String | A column for Due_Date containing Date data. | |
Amount | Decimal | A column for Amount containing Money data. | |
OpenBalance | Decimal | A column for OpenBalance containing Money data. | |
Balance | Decimal | A column for Balance containing Money data. | |
RowType | String | A column for Type of the row. | |
RowGroup | String | A column for Group of the row. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
AgingMethod | String | The date upon which aging is determined.
使用できる値は次のとおりです。Report_Date, Current | |
ARPaid | String | The accounts receivable paid status.
使用できる値は次のとおりです。All, Paid, Unpaid デフォルト値はUnpaidです。 | |
Customer | String | Filters report contents to include information for specified customers. This is a comma separated list (spaces omitted after/before separating comma) of one or more Customer IDs. | |
Department | String | Filters report contents to include information for specified departments if so configured in the company file. This is a comma separated list (spaces omitted after/before separating comma) of one or more Department IDs. | |
ShipVia | String | Filter by the shipping method as specified in Invoice's ShipMethodRef. This is the name of the shipping method. | |
Term | String | Filters report contents to include information for specified term or terms supplied. This is a comma separated list (spaces omitted after/before separating comma) of one or more Term IDs. |
The QuickBooks report CustomerSales.
Name | Type | References | Description |
CustomerName | String | A column for CustomerName containing Customer data. | |
RowType | String | A column for RowType containing RowType data. | |
RowGroup | String | A column for RowGroup containing RowGroup data. | |
RowId | Integer | A column for RowId containing RowId data. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
DateMacro | String | A predefined date range. Use this if you want the report to cover a standard report date range. Otherwise, use the StartDate and EndDate to cover an explicit range.
使用できる値は次のとおりです。Today, Yesterday, This Week, This Week-to-date, Last Week, Last Week-to-date, Next Week, Next 4 Weeks, This Month, This Month-to-date, Last Month, Last Month-to-date, Next Month, This Fiscal Quarter, This Fiscal Year, This Fiscal Year-to-date, Last Fiscal Year, Last Fiscal Year-to-date, Next Fiscal Year | |
StartDate | String | The startdate of the report. StartDate must be less than EndDate.
デフォルト値は2018-02-27です。 | |
EndDate | String | The enddate of the report. EndDate must be greater than StartDate.
デフォルト値は2018-04-27です。 | |
AccountingMethod | String | The accounting method used in the report.
使用できる値は次のとおりです。Cash, Accrual | |
SummarizeColumnsBy | String | The criteria by which to group the report results.
使用できる値は次のとおりです。Total, Month, Week, Days, Quarter, Year, Customers, Vendors, Classes, Departments, Employees, ProductsAndServices | |
Indentation | String | Add spaces at the start of values to visually identify totals and group values. | |
Customer | String | Filters report contents to include information for specified customers. This is a comma separated list (spaces omitted after/before separating comma) of one or more Customer IDs. |
Query QuickBooks Customer Types.
Name | Type | References | Description |
Id [KEY] | String | The Id of the customer type. | |
MetaData_CreateTime | Datetime | The time the record was created. | |
MetaData_LastUpdatedTime | Datetime | The time the record was last updated. | |
Name | String | The full name of the customer type. | |
Active | Boolean | This field indicates whether the customer type is currently enabled for use by QuickBooks. |
Retrieves QuickBooks Entitlements.
Name | Type | References | Description |
Id [KEY] | String | The Id of the entitlement. | |
Name | String | The name of the entitlement. | |
Term | String | The term associated with the entitlement. |
Retrieve deleted records of a given entity like Customer, Invoice, BillPayment etc.
GetDeletedAsView is capable of retrieving the ID and deletion time of QuickBooks Online entities such as Customer, Invoice, BillPayment, though it is not capable of retrieving this information about their children. LineItems are a common example of children, where BillPaymentLineItem is a child of BillPayment. This is a limitation of the QuickBooks Online API.
EntityName is required to be specified in the WHERE clause of a query for this view. Note that EntityName refers to the QuickBooks Online API name, rather than the table name that CData provides. For example, the Vendors table represents Vendor entities. Please refer to the QuickBooks Online API Reference for all entity names.
The following query retrieves deleted record information for the 'Customer' entity:
SELECT * FROM GetDeletedAsView WHERE EntityName = 'Customer'
Name | Type | References | Description |
Id [KEY] | Long | The Id of the deleted entity. | |
EntityName | String | The name of deleted entity. | |
DeletedTime | Datetime | The date and time when the record was deleted. |
Query QuickBooks Recurring Transaction for Bills.
We can perform Select operation on RecurringBillTransactions table.
Bill_Id, Bill_MetaData_CreateTime, Bill_MetaData_LastUpdatedTime can be used for server side filter. The driver processes other filters client-side within the driver.
SELECT * FROM RecurringBillTransactions; SELECT * FROM RecurringBillTransactions WHERE bill_id = 25544 SELECT * FROM RecurringBillTransactions WHERE bill_MetaData_CreateTime = '2020-12-28 23:07:26' SELECT * FROM RecurringBillTransactions WHERE bill_MetaData_LastUpdatedTime = '2020-12-30 14:47:54' SELECT * FROM RecurringBillTransactions WHERE bill_id = 25538 AND bill_MetaData_CreateTime = '2020-12-28 23:07:26' AND bill_MetaData_LastUpdatedTime = '2020-12-30 14:47:54'
Name | Type | References | Description |
Bill_Id [KEY] | String | The Id of the Recurring Transaction. | |
Bill_SyncToken | String | The Version number of the object. | |
Bill_MetaData_CreateTime | Datetime | The time the record was created. | |
Bill_MetaData_LastUpdatedTime | Datetime | The time the record was last updated. | |
Bill_CurrencyRef | String | The Id of the currency used in the transaction. | |
Bill_CurrencyRef_Name | String | The currency used in the transaction. | |
Bill_TotalAmt | Decimal | The total bill amount. | |
Bill_APAccountRef_Name | String | The account reference name. | |
Bill_APAccountRef | String | The account reference value. | |
Bill_Sparse | Boolean | The Recurring transaction is sparse or not. | |
Bill_VendorRef_Name | String | The vendor reference name. | |
Bill_VendorRef | String | The vendor reference value. | |
Bill_SalesTermRef_Name | String | The sales reference name. | |
Bill_SalesTermRef | String | The sales reference value. | |
Bill_Balance | Decimal | The transaction balance. | |
Bill_LineAggregate | String | An XML aggregate of the line items of a transaction. | |
Bill_RecurringInfo_Name | String | The Recurring Info name. | |
Bill_RecurDataRef | String | The recurring data reference value. | |
Bill_RecurringInfo_RecurType | String | The Recurring Info recurring type. | |
Bill_RecurringInfo_Active | Boolean | The Recurring Info is active or not. | |
Bill_RecurringInfo_ScheduleInfo_IntervalType | String | The Recurring Info interval type. | |
Bill_RecurringInfo_ScheduleInfo_NumInterval | Integer | The Recurring Info num interval. | |
Bill_RecurringInfo_ScheduleInfo_DayOfWeek | String | The Recurring Info day of week. | |
Bill_RecurringInfo_ScheduleInfo_DayOfMonth | String | The Recurring Info day of month. | |
Bill_RecurringInfo_ScheduleInfo_WeekOfMonth | String | The Recurring Info week of month. | |
Bill_RecurringInfo_ScheduleInfo_StartDate | Datetime | The Recurring Info start date. | |
Bill_RecurringInfo_ScheduleInfo_NextDate | Datetime | The Recurring Info next date. | |
Bill_RecurringInfo_ScheduleInfo_PreviousDate | Datetime | The Recurring Info previous date. | |
Bill_RecurringInfo_ScheduleInfo_MaxOccurrences | String | The max number of recurring occurrences. | |
Bill_RecurringInfo_ScheduleInfo_RemindDays | String | The days before start date for a reminded RecurType. | |
Bill_RecurringInfo_ScheduleInfo_MonthOfYear | String | The month of the year. | |
Bill_RecurringInfo_ScheduleInfo_DaysBefore | String | The days before the scheduled date. | |
Bill_RecurringInfo_ScheduleInfo_EndDate | Datetime | The end date for the recurring schedule. |
Retrieves QuickBooks Thresholds.
This view will retrieve the threshold entries for the all the entitlements of the user's account.
SELECT * FROM Thresholds
Name | Type | References | Description |
Name | String | The name of the threshold. | |
Limit | String | The upper limit for the threshold. | |
Enforced | String | Whether the threshold is enforced. | |
CurrentCount | String | Indicates current value of attribute. | |
AboveThreshold | String | Indicate whether the current count of the attribute has reached its limit. |
The Sync App maps types from the data source to the corresponding data type available in the schema. The table below documents these mappings.
QuickBooks Online | CData Schema |
BigDecimal | double |
Boolean | bool |
Date | date |
Decimal | double |
EmailAddress | string |
IdType | string |
Integer | int |
PhysicalAddress | string |
String | string |
TelephoneNumber | string |
WebSiteAddress | string |
The Sync App supports editing and saving custom fields in QuickBooks Online. Custom fields in QuickBooks Online are displayed on all estimates, invoices, sales receipts, refund receipts, and credit memos. Up to three can be added. To create a new custom field, click Your Account -> Company Preferences -> Sales Form Entry and, in the custom fields section, enter the name of the custom field in the Screen Name box.
You can access the custom fields for a record in the CustomFieldAggregate column. This column contains an aggregate of the custom fields, represented as XML entities. To modify a custom field, you will need to directly edit the corresponding XML entity. For example, you can execute an update query similar to the one below:
UPDATE InvoiceLineItems SET CustomFieldAggregate='<CustomField><Name>Custom Field Name</Name><Type>StringType</Type><StringValue>test</StringValue><StringValue></StringValue></CustomField>' WHERE InvoiceId='782' AND Line='1'
You can also supply values for custom fields when inserting. For example:
INSERT INTO InvoiceLineItems (CustomerRef, Line_DetailType, Line_SalesItemLineDetail_ItemRef, Line_Amount, CustomFieldAggregate) VALUES ('4', 'SalesItemLineDetail', '2', 0.01, '<CustomField><DefinitionId>1</DefinitionId><Name>Custom Field Name</Name><Type>StringType</Type><StringValue>test</StringValue></CustomField>')
To clear a custom field, submit the custom field name without a value. For instance:
<CustomField><Name>Custom Field Name</Name><Type>StringType</Type><StringValue></StringValue><StringValue></StringValue></CustomField>
You can also access the custom fields as individual read-only columns that can be selected like other columns on the table. These column values automatically get updated by modifying the CustomFieldAggreate value.
Note: Only string data types are supported for custom fields, so any IntType / IntegerType entered will be handled as a string type.
プロパティ | 説明 |
MinorVersion | Set the minor version to be used when sending requests to the QuickBooks Online API. |
UseSandbox | A boolean indicating if you are using a Sandbox account. |
プロパティ | 説明 |
OAuthClientId | OAuth 認証サーバーを使用してアプリケーションを登録する場合に割り当てられたクライアントId。 |
OAuthClientSecret | OAuth 認証サーバーにアプリケーションを登録する場合に割り当てられたクライアントシークレット。 |
プロパティ | 説明 |
SSLServerCert | TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。 |
プロパティ | 説明 |
FirewallType | プロキシベースのファイアウォールで使われるプロトコル。 |
FirewallServer | プロキシベースのファイアウォールの名前もしくはIP アドレス。 |
FirewallPort | プロキシベースのファイアウォールのTCP ポート。 |
FirewallUser | プロキシベースのファイアウォールに認証するために使うユーザー名。 |
FirewallPassword | プロキシベースのファイアウォールへの認証に使われるパスワード。 |
プロパティ | 説明 |
ProxyAutoDetect | これは、システムプロキシ設定を使用するかどうかを示します。これは他のプロキシ設定よりも優先されるため、カスタムプロキシ設定を使用するにはProxyAutoDetect をFALSE に設定する必要があります。 |
ProxyServer | HTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。 |
ProxyPort | ProxyServer プロキシが起動しているTCP ポート。 |
ProxyAuthScheme | ProxyServer プロキシへの認証で使われる認証タイプ。 |
ProxyUser | ProxyServer プロキシへの認証に使われるユーザー名。 |
ProxyPassword | ProxyServer プロキシへの認証に使われるパスワード。 |
ProxySSLType | ProxyServer プロキシへの接続時に使用するSSL タイプ。 |
ProxyExceptions | ProxyServer 経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。 |
プロパティ | 説明 |
LogModules | ログファイルに含めるコアモジュール。 |
プロパティ | 説明 |
Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリへのパス。 |
BrowsableSchemas | このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
Tables | このプロパティは、使用可能なテーブルのサブセットにレポートされるテーブルを制限します。例えば、Tables=TableA,TableB,TableC です。 |
Views | 使用可能なテーブルのサブセットにレポートされるビューを制限します。例えば、Views=ViewA,ViewB,ViewC です。 |
プロパティ | 説明 |
CountryCode | The country code for the edition of QuickBooks Online being used. |
HideLineTotals | Whether or not to hide line totals on line item tables. |
IncludeCustomFields | Set whether to include custom fields. This defaults to true. |
MaxRows | クエリで集計またはグループ化を使用しない場合に返される行数を制限します。これにより、設計時にパフォーマンスの問題を回避できます。 |
Other | これらの隠しプロパティは特定のユースケースでのみ使用されます。 |
Pagesize | QuickBooks Online から返されるページあたりの結果の最大数。 |
PseudoColumns | このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。 |
Timeout | タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。 |
UserDefinedViews | カスタムビューを含むJSON コンフィギュレーションファイルを指すファイルパス。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
プロパティ | 説明 |
MinorVersion | Set the minor version to be used when sending requests to the QuickBooks Online API. |
UseSandbox | A boolean indicating if you are using a Sandbox account. |
Set the minor version to be used when sending requests to the QuickBooks Online API.
Set the minor version to be used when sending requests to the QuickBooks Online API.
A boolean indicating if you are using a Sandbox account.
A boolean indicating if you are using a Sandbox account.
このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。
プロパティ | 説明 |
OAuthClientId | OAuth 認証サーバーを使用してアプリケーションを登録する場合に割り当てられたクライアントId。 |
OAuthClientSecret | OAuth 認証サーバーにアプリケーションを登録する場合に割り当てられたクライアントシークレット。 |
OAuth 認証サーバーを使用してアプリケーションを登録する場合に割り当てられたクライアントId。
OAuth アプリケーションの登録の一環として、コンシューマキーとも呼ばれるOAuthClientId 値、およびクライアントシークレットOAuthClientSecret が提供されます。
OAuth 認証サーバーにアプリケーションを登録する場合に割り当てられたクライアントシークレット。
OAuth アプリケーションの登録の一環として、コンシューマキーとも呼ばれるOAuthClientId が提供されます。また、コンシューマーシークレットと呼ばれるクライアントシークレットも提供されます。クライアントシークレットをOAuthClientSecret プロパティに設定します。
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
プロパティ | 説明 |
SSLServerCert | TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。 |
TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。
TLS/SSL 接続を使用する場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。コンピュータによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
説明 | 例 |
フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
MD5 Thumbprint (hex 値はスペースおよびコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
SHA1 Thumbprint (hex 値はスペースおよびコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。
すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。
このセクションでは、本プロバイダーの接続文字列で設定可能なFirewall プロパティの全リストを提供します。
プロパティ | 説明 |
FirewallType | プロキシベースのファイアウォールで使われるプロトコル。 |
FirewallServer | プロキシベースのファイアウォールの名前もしくはIP アドレス。 |
FirewallPort | プロキシベースのファイアウォールのTCP ポート。 |
FirewallUser | プロキシベースのファイアウォールに認証するために使うユーザー名。 |
FirewallPassword | プロキシベースのファイアウォールへの認証に使われるパスワード。 |
プロキシベースのファイアウォールで使われるプロトコル。
このプロパティは、Sync App がFirewallServer プロキシ経由でトンネルトラフィックを使うためのプロトコルを指定します。デフォルトでは、Sync App はシステムプロキシに接続します。この動作を無効化し次のプロキシタイプのどれかで接続するには、ProxyAutoDetect をfalse に設定します。
タイプ | デフォルトポート | 説明 |
TUNNEL | 80 | これが設定されている場合、Sync App はQuickBooks Online への接続を開き、プロキシを経由して通信が行われます。 |
SOCKS4 | 1080 | これが設定されている場合、Sync App はデータをFirewallServer およびFirewallPort で指定されたSOCS 4 プロキシ経由で送信し、接続リクエストが許容されるかどうかを決定します。 |
SOCKS5 | 1080 | これが設定されている場合、Sync App はデータをFirewallServer およびFirewallPort で指定されたSOCS 5 プロキシ経由で送信します。プロキシに認証が必要な場合には、FirewallUser およびFirewallPassword をプロキシが認識する認証情報に設定します。 |
HTTP プロキシへの接続には、ProxyServer およびProxyPort ポートを使ってください。HTTP プロキシへの認証には、ProxyAuthScheme、ProxyUser、およびProxyPassword を使ってください。
プロキシベースのファイアウォールの名前もしくはIP アドレス。
ファイアウォールトラバーサルを許容するために設定するIP アドレス、DNS 名、もしくはプロキシホスト名を指定するプロパティです。プロトコルはFirewallType で指定されます。このプロパティとFirewallServer を使って、SOCKS 経由での接続、もしくはトンネリングが可能です。HTTP プロキシへの接続には、ProxyServer を使用します。
Sync App はデフォルトでシステムプロキシを使うので注意してください。他のプロキシを使う場合には、ProxyAutoDetect をfalse に設定してください。
プロキシベースのファイアウォールのTCP ポート。
ファイアウォールトラバーサルを許容するために設定するプロキシベースのファイアウォールのTCP ポート。名前もしくはIP アドレスを指定するには、FirewallServer を使います。FirewallType でプロトコルを指定します。
プロキシベースのファイアウォールに認証するために使うユーザー名。
FirewallUser およびFirewallPassword プロパティは、FirewallType により指定された認証方式に則り、FirewallServer、およびFirewallPort で指定されたプロキシに対しての認証に使われます。
プロキシベースのファイアウォールへの認証に使われるパスワード。
このプロパティは、FirewallType により指定された認証メソッドに則り、FirewallServer およびFirewallPort で指定されたプロキシに渡されます。
このセクションでは、本プロバイダーの接続文字列で設定可能なProxy プロパティの全リストを提供します。
プロパティ | 説明 |
ProxyAutoDetect | これは、システムプロキシ設定を使用するかどうかを示します。これは他のプロキシ設定よりも優先されるため、カスタムプロキシ設定を使用するにはProxyAutoDetect をFALSE に設定する必要があります。 |
ProxyServer | HTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。 |
ProxyPort | ProxyServer プロキシが起動しているTCP ポート。 |
ProxyAuthScheme | ProxyServer プロキシへの認証で使われる認証タイプ。 |
ProxyUser | ProxyServer プロキシへの認証に使われるユーザー名。 |
ProxyPassword | ProxyServer プロキシへの認証に使われるパスワード。 |
ProxySSLType | ProxyServer プロキシへの接続時に使用するSSL タイプ。 |
ProxyExceptions | ProxyServer 経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。 |
これは、システムプロキシ設定を使用するかどうかを示します。これは他のプロキシ設定よりも優先されるため、カスタムプロキシ設定を使用するにはProxyAutoDetect をFALSE に設定する必要があります。
これは他のプロキシ設定よりも優先されるため、カスタムプロキシ設定を使用するにはProxyAutoDetect をFALSE に設定する必要があります。
HTTP プロキシへの接続には、ProxyServer を参照してください。SOCKS やトンネリングなどの他のプロキシには、FirewallType を参照してください。
HTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。
HTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。HTTP プロキシへの認証には、Sync App はHTTP、Windows(NTLM)、もしくはKerberos 認証タイプを使用することができます。
SOCKS プロキシを経由して接続する、もしくは接続をトンネルするには、FirewallType を参照してください。
デフォルトで、Sync App はsystem プロキシを使います。他のプロキシを使う場合には、ProxyAutoDetect をfalse に設定します。
ProxyServer プロキシが起動しているTCP ポート。
HTTP トラフィックをリダイレクトするHTTP プロキシが実行されているポート。ProxyServer でHTTP プロキシを指定します。その他のプロキシタイプについては、FirewallType を参照してください。
ProxyServer プロキシへの認証で使われる認証タイプ。
この値は、ProxyServer およびProxyPort で指定されるHTTP プロキシに認証するために使われる認証タイプを指定します。
Sync App は、デフォルトでsystem proxy settings を使い、追加での設定が不要です。他のプロキシへの接続をする場合には、ProxyServer およびProxyPort に加え、ProxyAutoDetect をfalse に設定します。認証するには、ProxyAuthScheme を設定し、必要な場合にはProxyUser およびProxyPassword を設定します。
認証タイプは、次のどれかになります。
SOCKS 5 認証のような他の認証タイプを使用するには、FirewallType を参照してください。
ProxyServer プロキシへの認証に使われるユーザー名。
ProxyUser および ProxyPassword オプションは、ProxyServer で指定されたHTTP プロキシに対して接続および認証するために使用されます。
ProxyAuthScheme で使用可能な認証タイプを選択することができます。HTTP 認証を使う場合、これをHTTP プロキシで識別可能なユーザーのユーザー名に設定します。Windows もしくはKerberos 認証を使用する場合、このプロパティを次の形式のどれかでユーザー名に設定します。
user@domain domain\user
ProxyServer プロキシへの認証に使われるパスワード。
このプロパティは、NTLM(Windows)、Kerberos、もしくはHTTP 認証をサポートするHTTP プロキシサーバーに認証するために使われます。HTTP プロキシを指定するためには、ProxyServer およびProxyPort を設定します。認証タイプを指定するためにはProxyAuthScheme を設定します。
HTTP 認証を使う場合、さらにHTTP プロキシにProxyUser およびProxyPassword を設定します。
NTLM 認証を使う場合、Windows パスワードにProxyUser およびProxyPassword を設定します。Kerberos 認証には、これらを入力する必要があります。
SOCKS 5 認証もしくは、トンネリングは、FirewallType を参照してください。
デフォルトで、Sync App はsystem プロキシを使います。他のプロキシに接続する場合には、これをfalse に設定します。
ProxyServer プロキシへの接続時に使用するSSL タイプ。
このプロパティは、ProxyServer で指定されたHTTP プロキシへの接続にSSL を使用するかどうかを決定します。この値は、AUTO、ALWAYS、NEVER、TUNNEL のいずれかです。有効な値は次のとおりです。
AUTO | デフォルト設定。URL がHTTPS URL の場合、Sync App は、TUNNEL オプションを使います。URL がHTTP URL の場合、コンポーネントはNEVER オプションを使います。 |
ALWAYS | 接続は、常にSSL 有効となります。 |
NEVER | 接続は、SSL 有効になりません。 |
TUNNEL | 接続は、トンネリングプロキシを経由します。プロキシサーバーがリモートホストへの接続を開き、プロキシを経由して通信が行われます。 |
ProxyServer 経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。
ProxyServer は、このプロパティで定義されたアドレスを除くすべてのアドレスに使用されます。セミコロンを使用してエントリを区切ります。
Sync App は、追加設定なしにデフォルトでシステムのプロキシ設定を使います。この接続のプロキシ例外を明示的に構成するには、ProxyAutoDetect をfalse に設定して、ProxyServer およびProxyPort を設定する必要があります。認証するには、ProxyAuthScheme を設定し、必要な場合にはProxyUser およびProxyPassword を設定します。
ログファイルに含めるコアモジュール。
指定された(';' で区切られた)モジュールのみがログファイルに含まれます。デフォルトではすべてのモジュールが含まれます。
概要はログ ページを参照してください。
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
プロパティ | 説明 |
Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリへのパス。 |
BrowsableSchemas | このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
Tables | このプロパティは、使用可能なテーブルのサブセットにレポートされるテーブルを制限します。例えば、Tables=TableA,TableB,TableC です。 |
Views | 使用可能なテーブルのサブセットにレポートされるビューを制限します。例えば、Views=ViewA,ViewB,ViewC です。 |
テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリへのパス。
Sync App のスキーマファイル(テーブルとビューの場合は.rsd ファイル、ストアドプロシージャの場合は.rsb ファイル)を含むディレクトリへのパス。このフォルダの場所は、実行ファイルの場所からの相対パスにすることができます。Location プロパティは、定義をカスタマイズしたり(例えば、カラム名を変更する、カラムを無視するなど)、新しいテーブル、ビュー、またはストアドプロシージャでデータモデルを拡張する場合にのみ必要です。
指定しない場合、デフォルトの場所は"%APPDATA%\\CData\\QuickBooksOnline Data Provider\\Schema" となり、%APPDATA% はユーザーのコンフィギュレーションディレクトリに設定されます:
このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
スキーマをデータベースからリストすると、負荷がかかる可能性があります。接続文字列でスキーマのリストを提供すると、 パフォーマンスが向上します。
このプロパティは、使用可能なテーブルのサブセットにレポートされるテーブルを制限します。例えば、Tables=TableA,TableB,TableC です。
テーブルを複数のデータベースからリストすると、負荷がかかる可能性があります。接続文字列でテーブルのリストを提供すると、Sync App のパフォーマンスが向上します。
このプロパティは、作業したいビューがすでにわかっていて、ビューが多すぎる場合に、ビューを自動的にリストする代わりに使用することもできます。
カンマ区切りのリストで使用したいテーブルを指定します。各テーブルは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space` です。
複数のスキーマまたはカタログを持つデータソースに接続する場合は、複数のカタログやスキーマに存在するテーブル間の曖昧さを避けるため、最後の例のように、このプロパティにテーブルの完全修飾名を指定する必要があることに注意してください。
使用可能なテーブルのサブセットにレポートされるビューを制限します。例えば、Views=ViewA,ViewB,ViewC です。
ビューを複数のデータベースからリストすると、負荷がかかる可能性があります。接続文字列でビューのリストを提供すると、Sync App のパフォーマンスが向上します。
このプロパティは、作業したいビューがすでにわかっていて、ビューが多すぎる場合に、ビューを自動的にリストする代わりに使用することもできます。
カンマ区切りのリストで使用したいビューを指定します。各ビューは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space` です。
複数のスキーマまたはカタログを持つデータソースに接続する場合は、複数のカタログやスキーマに存在するテーブル間の曖昧さを避けるため、最後の例のように、このプロパティにテーブルの完全修飾名を指定する必要があることに注意してください。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
プロパティ | 説明 |
CountryCode | The country code for the edition of QuickBooks Online being used. |
HideLineTotals | Whether or not to hide line totals on line item tables. |
IncludeCustomFields | Set whether to include custom fields. This defaults to true. |
MaxRows | クエリで集計またはグループ化を使用しない場合に返される行数を制限します。これにより、設計時にパフォーマンスの問題を回避できます。 |
Other | これらの隠しプロパティは特定のユースケースでのみ使用されます。 |
Pagesize | QuickBooks Online から返されるページあたりの結果の最大数。 |
PseudoColumns | このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。 |
Timeout | タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。 |
UserDefinedViews | カスタムビューを含むJSON コンフィギュレーションファイルを指すファイルパス。 |
The country code for the edition of QuickBooks Online being used.
The country code for the edition of QuickBooks Online being used. For instance: US, IN, UK, AU, and CA.
Whether or not to hide line totals on line item tables.
In most LineItem tables, QuickBooks Online will return at least one Subtotal line for the line items. This is technically not a line item. Set this property to True in order to hide these values when they are returned.
Set whether to include custom fields. This defaults to true.
Set whether to include custom fields. This defaults to true.
クエリで集計またはグループ化を使用しない場合に返される行数を制限します。これにより、設計時にパフォーマンスの問題を回避できます。
クエリで集計またはグループ化を使用しない場合に返される行数を制限します。これにより、設計時にパフォーマンスの問題を回避できます。
これらの隠しプロパティは特定のユースケースでのみ使用されます。
以下にリストされているプロパティは、特定のユースケースで使用可能です。通常のドライバーのユースケースおよび機能では、これらのプロパティは必要ありません。
複数のプロパティをセミコロン区切りリストで指定します。
DefaultColumnSize | データソースがメタデータにカラムの長さを提供しない場合に、文字列フィールドのデフォルトの長さを設定します。デフォルト値は2000です。 |
ConvertDateTimeToGMT | 日時の値を、マシンのローカルタイムではなくGMT グリニッジ標準時に変換するかどうかを決定します。 |
RecordToFile=filename | 基底のソケットデータ転送を指定のファイルに記録します。 |
QuickBooks Online から返されるページあたりの結果の最大数。
Pagesize プロパティは、QuickBooks Online から返されるページあたりの結果の最大数に影響を与えます。より大きい値を設定すると、1ページあたりの消費メモリが増える代わりに、パフォーマンスが向上する場合があります。
このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。
Entity Framework ではテーブルカラムでない疑似カラムに値を設定できないため、この設定はEntity Framework で特に便利です。この接続設定の値は、"Table1=Column1, Table1=Column2, Table2=Column3" の形式です。"*=*" のように"*" 文字を使用して、すべてのテーブルとすべてのカラムを含めることができます。
タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。
Timeout が0に設定されている場合は、操作がタイムアウトしません。処理が正常に完了するか、エラー状態になるまで実行されます。
Timeout の有効期限が切れても処理が完了していない場合は、Sync App は例外をスローします。
カスタムビューを含むJSON コンフィギュレーションファイルを指すファイルパス。
ユーザー定義ビューは、UserDefinedViews.json というJSON 形式のコンフィギュレーションファイルで定義されています。Sync App は、このファイルで指定されたビューを自動的に検出します。
また、複数のビュー定義を持ち、UserDefinedViews 接続プロパティを使用して制御することも可能です。このプロパティを使用すると、指定されたビューのみがSync App によって検知されます。
このユーザー定義ビューのコンフィギュレーションファイルは、次のようにフォーマットされています。
次に例を示します。
{ "MyView": { "query": "SELECT * FROM Customers WHERE MyColumn = 'value'" }, "MyView2": { "query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)" } }UserDefinedViews 接続プロパティを使用して、JSON コンフィギュレーションファイルの場所を指定します。次に例を示します。
"UserDefinedViews", "C:\\Users\\yourusername\\Desktop\\tmp\\UserDefinedViews.json"