View Categories

Bill

Sub tables:

  • Pay a Bill with CreditCardCharge / BillPaymentCreditCard: test sample
  • Pay a Bill with Check / BillPaymentCheck: test sample: test sample
FIELD NAMEFIELD NAME (old)QUERYABLEUPDATEABLEREQUIRED
ON UPDATE
INSERTABLEREQUIRED
ON INSERT
TxnIDtruefalsetruefalsefalse
TimeCreatedtruefalsetruefalsefalse
TimeModifiedtruefalsetruefalsefalse
EditSequencetruefalsetruefalsefalse
TxnNumbertruefalsefalsefalsefalse
VendorRef_ListIDtruetrueoptionaltruetrue
VendorRef_FullNametruetrueoptionaltruetrue
APAccountRef_ListIDtruetrueoptionaltrueoptional
APAccountRef_FullNametruetrueoptionaltrueoptional
TxnDatetruetrueoptionaltrueoptional
DueDatetruetrueoptionaltrueoptional
AmountDuetruefalsefalsefalsefalse
CurrencyRef_ListIDtruefalsefalsefalsefalse
CurrencyRef_FullNametruefalsefalsefalsefalse
ExchangeRatetruetrueoptionaltrueoptional
ClearExpenseLinestruetrueoptionaltrueoptional
ClearItemLinestruetrueoptionaltrueoptional
AmountDueInHomeCurrencytruefalsefalsefalsefalse
RefNumbertruetrueoptionaltrueoptional
TermsRef_ListIDtruetrueoptionaltrueoptional
TermsRef_FullNametruetrueoptionaltrueoptional
Memotruetrueoptionaltrueoptional
IsTaxIncludedtruetrueoptionaltrueoptional
SalesTaxCodeRef_ListIDtruetrueoptionaltrueoptional
SalesTaxCodeRef_FullNametruetrueoptionaltrueoptional
IsPaidtruefalsefalsefalsefalse
VendorAddress_Addr1truetrueoptionaltrueoptional
VendorAddress_Addr2truetrueoptionaltrueoptional
VendorAddress_Addr3truetrueoptionaltrueoptional
VendorAddress_Addr4truetrueoptionaltrueoptional
VendorAddress_Addr5truetrueoptionaltrueoptional
VendorAddress_Citytruetrueoptionaltrueoptional
VendorAddress_Statetruetrueoptionaltrueoptional
VendorAddress_PostalCodetruetrueoptionaltrueoptional
VendorAddress_Countrytruetrueoptionaltrueoptional
VendorAddress_Notetruetrueoptionaltrueoptional
OpenAmounttruefalsefalsefalsefalse
ExternalGUIDtruefalsefalseoptional
UserDatauser field
Operationadd, update, delete, refresh, void

Link Purchase Order to a Bill #

1- To link a Purchase Order record to a Bill (this is when you want to link the whole purchase order). You will need to enter a record on the linkedtxnret table

linkedtxnret.TxnID = purchaseorder.TxnID

linkedtxnret.PARENT_IDKEY = bill.TxnID

2- To link a Purchase Order line to a Bill line (the Bill line has to be ItemLineRet. It won’t if the Bill line is ExpenseLineRet). You will need to link each Purchase Order line to each Bill Item Line. Go to the table itemlineret, and set the LinkedTxnID and LinkedTxnLineID per each line.

itemlineret.LinkedTxnID = purchaseorder.TxnID

itemlineret.LinkedTxnLineID = purchaseorderlineret.TxnLineID

This is only possible when adding a new Bill. The Purchase Order needs to already exist in QuickBooks. It won’t work to update an existing Bill in QuickBooks Desktop. #