Creating a Batch Invoice

Creating a Batch Invoice

Batch invoice generation in Salesforce allows users to create multiple invoices at once through the Schedule Batch Invoice tab. This is especially effective for organizations handling recurring or bulk billing.

Process Steps

    • Navigate to the Schedule Batch Invoice tab within Salesforce.

    • Click New Batch button.

    • All the fields need to be filled.

    • Click Save to submit the batch for invoice generation.

    • The Batch is now active(default).

Once activated, Salesforce will process the batch and generate invoices for all records matching the specified criteria. The generated invoices will be automatically synced to Xero.

The screenshot below is taken from a Salesforce Opportunity record as part of the batch invoice generation process. In Salesforce, batch invoices can be configured to run on set intervals such as monthly or daily, depending on your business requirements.

The Criteria Field to select Invoice (API Name) field determines the criteria to execute the batch invoices.  

One of the key fields visible in this process is the Mapping ID. This ID is generated during the Xero custom object mapping for Invoice creation and is used to link the data between Salesforce and Xero efficiently.


The "Email for Execution Report" field is used to specify the email address where the batch invoice execution report will be sent.

    • Related Articles

    • Creating a Repeating Invoice from Salesforce

      You can create a Repeating Invoice directly from any object within Salesforce. To do this, follow the steps below: Step 1: Create a Xero Custom Object Mapping Go to the Xero custom object mapping tab in salesforce. Click on [ New ] button to create ...
    • Creating a New Invoice - from scratch

      New Invoice button is displayed on the Opportunity layout, this button will enable to create an Invoice There are two options to add products to the Invoice; you could either add any product, which are not related to the opportunity line items or ...
    • Creating a Bill (Expense) from Salesforce

      You can create a Bill (Expense) directly from any object within Salesforce. To do this, follow the steps below: Step 1: Create a Xero Custom Object Mapping Go to the Xero custom object mapping tab in salesforce. Click on [ New ] button to create you ...
    • Creating < New Invoice > button on any object

      Go to the custom object nominated as your Invoice Master from the setup Select the object Go to <Buttons, Links and Actions> Select <New Button or Link> Give a label name <New Invoice> Select the option <Detail page button> In the formula section, ...
    • From where will the currency and the payment details of the invoice be pulled from - SF or Xero?

      Currency setup should ideally match both SF and Xero instances. Currency and payments details will then be fetched from opportunity or custom object that you are using for creating Invoice