Custom Invoice Numbering
Invoices are numbered according to a pattern formed by adding dynamic prefixes and suffixes. Invoice Numbers usually contain the country code and other numeric or alphabetical identifiers that make an Invoice easy to track for different states or regions. Invoice numbering also helps in conforming to a legal or auditing requirement. With a couple of configurations, you can apply a sequential pattern of Invoice Numbering on all approved invoices.
Overview
When an Invoice is approved, value in the field Billing Country (which is derived from the Bill To address on Account) is matched with the value of country fields stored in a mapping table (Custom Numbering Field Mapping). Each country value has a corresponding code. The equivalent code is looked up in the Custom Numbering Entry table and the same format is applied for numbering the Invoice.
Use Case
Requirement:
Generate Invoices of the Format STG-xxxx-MT for Account 'OneTier' when the Billing Country in Billing Address is USA. Here, xxxx stands for a sequential numeric value which should start from 10.
Procedure:
- Go to Field Value as USA and Field Code as US. and make an entry for the country code. Set the
-
Go to Custom Numbering Entry Detail. Make following entries to form the numbering pattern:
Field1 = US
Object Type = Invoice
Number Length = 4
Prefix = STG
Format Separator = -
Suffix = MT
Starting Number= 10
- Go to Custom Numbering Configuration Setting Detail and select Custom Numbering Enabled and Field One.
- Go to Invoice Runs, if you want to auto approve invoice, select auto approval. Alternatively you can go to Invoice detail and approve it manually. As soon as the Invoice status changes to 'Approved', you will see the Invoice Number.