BillPayment Component
Properties Methods Events Configuration Settings Errors
The BILLPAYMENT component provides the functionality found in the Pay Bills form in the QuickBooks UI.
Syntax
TiqbBillPayment
Remarks
The BillPayment component provides the functionality found in the Pay Bills form in the QuickBooks UI. You can reach this form by selecting Retail->Pay Bills from the main QuickBooks menubar. If you want to pay multiple bills, you must issue a separate request for each bill pay.
If you are using more than one Accounts payable account, make sure that the APAccountId and/or APAccountName matches the account that was used when the Bill was originally added. That is, the bill was entered in a particular account payable: use that same account payable when you pay the bill using this request.
You may use a credit card or check to make the billpayment by setting the PaymentMethod property. If using a credit card, the CreditCardName or CreditCardId properties are required. If paying by check, the BankAccountName or BankAccountId properties are required, and you may optionally use the RefNumber property to indicate the check number.
Required Fields (Add):PayeeName, AppliedTo, PaymentMethod, RefNumber or IsToBePrinted, BankAccountName or BankAccountId (Checks), CreditCardName or CreditCardId (Credit Cards)
Supported Methods:Add, Get (Id), Cancel, Delete
Example:
BillPayment1.PayeeName = "Daigle Lighting" BillPayment1.BankAccountName = "Checking" BillPayment1.AppliedToCount = 1 BillPayment1.AppliedToRefId(0) = "5CAE-1197739628" BillPayment1.AppliedToPaymentAmount(0) = "10.00" BillPayment1.PaymentMethod = BillpaymentPaymentMethods.pmCheck BillPayment1.IsToBePrinted = true BillPayment1.Add()The component supports a variety of other operations as well. The component's Get, Cancel, and Delete methods may be used to retrieve, cancel, and delete BILLPAYMENTSs, respectively. The ObjSearch Component may be used to search for BILLPAYMENTSs in the QuickBooks database.
Property List
The following is the full list of the properties of the component with short descriptions. Click on the links for further details.
Address | Address printed on the check. |
Amount | Amount of transaction. |
APAccountId | Reference to the Accounts Payable account where money goes. |
APAccountName | Reference to the Accounts Payable account. |
AppliedToCount | The number of records in the AppliedTo arrays. |
AppliedToAmount | The amount of the transaction that has just been paid. |
AppliedToBalanceRemaining | The outstanding balance that has yet to be paid for the transaction indicated by RefId . |
AppliedToCreditAppliedAmount | Amount of a credit that is applied to a customer's bill. |
AppliedToCreditMemoId | The ID of the credit memo that you are applying to this bill. |
AppliedToDiscountAccountId | Refers to the account where this discount is tracked. |
AppliedToDiscountAccountName | Refers to the account where this discount is tracked. |
AppliedToDiscountAmount | Reduces the receivable amount. |
AppliedToPaymentAmount | Represents the amount assigned to a particular bill payment. |
AppliedToRefId | Refers to the transaction Id of the bill that is being paid. |
AppliedToRefNumber | RefNumber of the transaction that was just paid. |
AppliedToTxnDate | Date of the transaction that has just been paid. |
AppliedToTxnType | The type of the transaction. |
BankAccountId | Refers to the account from which the funds are being drawn for this bill payment. |
BankAccountName | Refers to the account from which the funds are being drawn for this bill payment. |
CreditCardId | Refers to the credit card account to which this payment is being charged. |
CreditCardName | Refers to the credit card account to which this payment is being charged. |
IsToBePrinted | Whether this transaction is to be printed. |
Memo | Memo to appear on internal reports only. |
PayeeId | Reference to entity from whom merchandise was purchased. |
PayeeName | Reference to entity from whom merchandise was purchased. |
PaymentMethod | Indicates whether the Bill Payment is being made with a check or a credit card. |
QBConnectionString | An aggregate consisting of various QuickBooks connection properties. |
QBRequestAggregate | The request aggregate. |
QBRequestId | The Id of the next message to be sent to QuickBooks. |
QBRequestMode | Defines whether the request is made online or stored offline. |
QBResponseAggregate | The last QBXML response aggregate received from QuickBooks. |
QBXMLVersion | The version of QBXML used in the outgoing message. |
RefId | An alphanumerical identifier generated by the server. |
RefNumber | Reference number for the transaction. |
TransactionDate | Date of transaction. |
Method List
The following is the full list of the methods of the component with short descriptions. Click on the links for further details.
Add | Adds the record into QuickBooks. |
Cancel | Cancels (voids) the transaction. |
CheckRequestStatus | Checks whether or not the specified request was processed by QuickBooks. |
CloseQBConnection | Closes a persistent connection to QuickBooks. |
Config | Sets or retrieves a configuration setting . |
Delete | Deletes the record from QuickBooks. |
Get | Gets a single record from QuickBooks. |
GetCustomField | Gets a custom field value from QuickBooks. |
ImportQBXML | Imports a QBXML response aggregate. |
OpenQBConnection | Opens a persistent connection to QuickBooks. |
Reset | Resets all properties to their defaults. |
SetCustomField | Sets a custom field value within QuickBooks. |
Update | Updates the bill in QuickBooks. |
Event List
The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.
Error | Information about errors during data delivery. |
SSLServerAuthentication | Fired after the server presents its certificate to the client. |
SSLStatus | Shows the progress of the secure connection. |
Status | Shows the progress of the QuickBooks connection. |
Warning | Fired when a warning occurs. |
Configuration Settings
The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.
AppliedToAggregate[index] | Contains the XML aggregate of the AppliedTo element. |
StopOnError | Specifies how QuickBooks is to proceed if an error occurs in processing of the current request. |
SSLAcceptServerCert | The SSL certificate being used by the Remote Connector. |
SSLAcceptServerCertFile | The SSL certificate file being used by the Remote Connector. |
EnforceMaxLength | Indicates whether to enforce max lengths for QB Fields. |
AuthFlags | Connection Flags (use for QuickBooks Simple Start). |
GetHighestVersion | Highest QBXMLVersion supported by the installed instance of QuickBooks. |
GetSupportedVersions | Returns a list of QBXMLVersions that are supported by QuickBooks. |
GetRequestProcessorDLLVersion | Returns the version of the QB Request Processor that is installed on your system. |
IsReadOnly | This causes the QuickBooks authorization dialog to display text informing the user that its access will be read-only. |
UnattendedModePref | Whether connecting while QuickBooks is closed is required or optional for the user. |
PersonalDataPref | Whether the connecting application will require access to personal data such as SSN or credit card information. |
QBOpenCompanyFile | The file currently open in QuickBooks. |
QBConnectionMode | The mode of connection to QuickBooks. |
QBFileStatus | The status of the company file as it pertains to accepting connections. |
WarningCodes | A comma-separated list of QuickBooks warning codes that should not result in an exception. |
CodePage | The system code page used for Unicode to Multibyte translations. |