The Invoices feature is available in Sales Pack extension.
An Invoice record represents a group of products or services with their quantities and prices.
You can add the Invoices panel to the Account detail view to be able to see related sales orders. Administration > Layout Manager > Accounts > Bottom Panels.
You can add the Invoices panel to Opportunity detail view at Administration > Layout Manager > Opportunities > Bottom Panels.
In the article:
- Converting from Opportunity, Quote or Sales Order
- Total Values Layout
- Invoice Items
- Printing to PDF
- Sending invoice in email
- Automatic numbering
- Default tax
- Copying values from product to invoice item
- Automation with Workflows or BPM
- Locking
- E-Invoicing
Method 1. Create a new Invoice, on the form, specify the needed opportunity/quote/sales order. Data will be copied from the opportunity/quote/sales order to the created invoice.
Method 2. Create a new Invoice from Invoices relationship panel on the detail view of the opportunity/quote/sales order.
The layout of total value fields (in the bottom on detail view) can be modified at Administration > Layout Manager > Invoices > Bottom Total.
An Invoice has the list of items. Each item can represent a certain product or a service with the description, quantity, tax rate, list price, and unit price fields. It's possible to sort items manually.
There is the ability to add custom fields for Invoice Item entity type using the Entity Manager.
The layout of Invoice Items can be modified at Administration > Layout Manager > Invoice Items > List (Item).
It's possible to specify a discount in percents. To have this ability, an administrator should add the Discount (%) field to the List (Item) layout.
Invoices can be printed to PDF. This action is available in the dropdown next to Edit button on the Invoice detail view. Then, you will be prompted to select a template. More info about printing to PDF is available here.
See the documentation for quote templates.
An Invoice PDF can be send in an email as an attachment. Open an invoice record, click the dropdown next to Edit button and then click Email PDF.
By default, the Number field is auto-incremented. You can disable auto-increment at Administration > Entity Manager > Invoice > Fields > Number. It's also possible to make the number field read-only.
The prefix of the next number, the next number itself and the quantity of digits in the number can be configured at Administration > Entity Manager > Invoice > Fields > numberA.
By default, there is no Name field on the Detail layout. The Number is used as a name. You can add the Number field at Administration > Entity Manager > Invoice > Layouts > Detail.
You need to have a Tax record created in your CRM. Taxes can be accessed at Quotes list view > dropdown in the top-right corner > Taxes.
An administrator can specify a default Tax record at Administration > Entity Manager > Invoices > fields > Tax > Default.
Field values can be transferred from a product to an invoice item upon product selection. Field names you want to be copied should coincide in Product and Invoice Item entities.
You can select which fields you need to be copied at Administration > Entity Manager > Invoice Item > Fields > Product > Fields to Copy.
The following service actions are available in the Workflows and BPM tools:
- Add Invoice Items
- Convert Currency
- Send in Email
As of Sales Pack v2.4.
Invoices can be exported to EN 16931 electronic invoices in a UBL format. The following CIUS specifications are supported:
- XRechnung
- PEPPOL BIS Billing 3.0
- CIUS-RO e-Factura
- CIUS-IT
- CIUS-AT-GOV
- CIUS-AT-NAT
- CIUS-ES-FACE
- NLCIUS
To export an Invoice to a UBL file, click E-Invoice from the dropdown menu next to the Edit button on the Invoice detail view. The UBL file can be also attached along with a PDF when sending an Invoice in email.
!!! note
An E-Invoice can exported only if it is valid. It must include certain mandatory fields depending on the specification.
E-Invoicing settings are available at Administration > Sales Pack Settings > Electronic Invoicing. Here you can specify the system Default Format to prevent the need to select the format each time you are exporting an invoice.
Specify Seller Information fields that will be included in electronic invoices. Fields, such as Company Name, Company Address, Electronic Address, VAT Number, etc.
To include a buyer's electronic address in electronic invoices, you need to specify the electronic address in an Account record. The Sales Pack comes with two additional fields in the Account entity type: Electronic Address Scheme and Electronic Address Identifier. Add these fields to the Detail layout at Administration > Entity Manager > Account > Layouts > Detail. Then, you will be able to set these fields in Accounts.
The EN 16931 standard requires countries to be represented as ISO 3166-1 alpha-2 codes. But in Espo, the Address field allows a country to be an arbitrary string. As of EspoCRM v8.3 it's possible to map country names to ISO 3166-1 alpha-2 codes. This mapping is used when E-Invoices are generated.
Note that it's possible to automatically populate country records with English names.
Example: If you run business from Germany, your customer is also in Germany and you use the word Germany when storing the country in Espo, you need to create the Germany Address Country record with the DE code.
An Invoice can be locked if it's completed or canceled. When a record is locked, a specific fields become read-only. An administrator can configure the field list at: Administration > Entity Manager > Invoice > Edit.
If the settings parameter Forbid order unlocking is checked, once a record is locked, it can be unlocked only by an administrator.