website logo
Product Overview
NetSuite
Payments
QuickBooks
Xero
Navigate through spaces
⌘K
Guided Wizard
Guided Wizard Settings
Bill Configuration
Custom Guided Wizard
Button URL Structure
Button URL Generator
Support
Global API
API Overview
Request
Response
Code Examples
Technical Resources
Breadwinner Setup
Requirements
ERD / Object Structure
Getting Help
Version History
Docs powered by archbee 

Invoice

7min

All Fields available for a New Invoice

The structure of a Custom URL creating a new Invoice is below, with all possible fields shown. Required fields are in red. All other fields are optional.

Button URL
|
/apex/breadwinner_qbo__NewInvoicePage
?originating_record={!salesforce_record_ID}
&parent_account=api_field_name__c
&invoice_date=invoice_date_api_field__c
&due_date=invoice_date_api_field__c
&invoice_custom_field_1=api_field__c
&invoice_custom_field_2=api_field__c
&invoice_custom_field_3=api_field__c
&invoice_location_field=api_field__c
&invoice_class_field=api_field__c
&invoice_message_field=api_field__c
&invoice_memo_field=api_field__c
&invoice_term=field_api_name__c
&testing=true


All Fields available for a New Invoice with Child Records

The list and structure of a Custom URL with all possible fields, including those for Line Items that are drawn from Child Records, utilized is below. Required fields are in red. All other fields are optional. Please note that many of these fields will not work unless the corresponding field is setup in the accounting system.

Button URL
|
/apex/breadwinner_qbo__NewInvoicePage
?originating_record={!salesforce_record_ID}
&parent_account=api_field_name__c
&invoice_date=invoice_date_api_field__c
&due_date=invoice_date_api_field__c
&invoice_custom_field_1=api_field__c
&invoice_custom_field_2=api_field__c
&invoice_custom_field_3=api_field__c
&invoice_location_field=api_field__c
&invoice_class_field=api_field__c
&invoice_term=field_api_name__c
&child_relationship_name=child_name__r
&child_object_inventory_name=name_field__c
&child_object_description=description__c
&child_object_service_date=service_date__c
&child_object_quantity=quantity_field
&child_object_unit_price=unit_price_field__c
&child_object_class=class_field__c
&child_object_taxable=is_taxable_field__c
&testing=true


Please note that QBO only allows you to have a Class at the Invoice level or the Line Item level but not both. This must be set in QBO’s settings. Thus, the URL above for QBO will not work as it specifies the Class at the Invoice AND Line Item level. A working URL would require at least one of these to be removed.

Applying Payments

It is possible to specify a payment at the time of Invoice creation.

For QBO, you need to specify three fields

  • Amount Paid
  • Paid To

And you can optionally specify

  • Reference

This can only be done at the time of Invoice creation.

Button URL
|
/apex/breadwinner_qbo__NewInvoicePage
?originating_record={!salesforce_record_ID}
&parent_account=api_field_name__c
&payment_amount=payment_amount__c
&payment_type=payment_date__c
&payment_reference=ar_account_field__c
&payment_deposit_to=reference__c




Updated 03 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
Summarized Button URLs
NEXT
Bill and Purchase Order
Docs powered by archbee 
TABLE OF CONTENTS
All Fields available for a New Invoice
All Fields available for a New Invoice with Child Records
Applying Payments