18 Billing. Invoices

Issue invoices per Batch

Background

The lab issues invoices per Batch and the functionality specified here must not be confused with Invoicing per individual Samples, a Bika 2 feature, which may later inherit the Batch Invoice functionality

Installation

To us this functionality, you must install the Senaite Batch Invoices add-on

Use Case

In this uses case, Clients have to pay for sample processing and analysis before it is performed

The Invoicing function can be configured on the Setup's Accounting tab to email Invoices to either or both or any of the Client and Lab Accounts department

The Invoice can be compiled as soon as all the Batch information and that of its Samples and Analyses requested have been captured. It is then forwarded to the lab's accounts department, optionally directly to the Client as well

The Client billing email address is used for emailing Invoices, the lab’s billing email address for the accounts department

Invoicing for Samples only after publication can be enabled and it won't be possible to invoice for batches before all their samples are published

In this case the lab invoice for a single Batch or group of Batches of the same Client. The Invoice totals all Analysis Profiles and Analysis Services across the batches per Invoice line

If the number of tests on the samples in a batch changes, a second invoice can be issued. All invoice for a Batch are all listed on the Batch's Invoices tab 

Invoices

Per Batch Profiles and Analyses count

Configuration items

Email body for Invoice posts can be edited and formatted by lab managers in the LIMS Setup's Accounting page

Ditto the Invoice footer:

The Batch Invoice IDs remain configurable in the ID server in the LIMS setup. By default, they are made up of ‘Inv’, the year and a sequence number, e.g. Inv23-0001

Authorisations

Only lab managers see the Batch and Client Invoice tabs and it is only displayed to them, not to analysts or samplers

Only lab managers may use the Invoice action button and it is not displayed to anybody else

Clients may view these tabs on their own Batches but have no other authorisations there

Batch Invoicing States

Apart from their standard workflow states of Open and Closed, Batches can also have states of To be Invoiced or Invoiced

And Batch lists can filtered on these states from the corresponding buttons