Skip to main content

Creating and editing custom Number Sequences for Invoicing

Custom Number Sequences for Invoicing (invoice numbers)

Alexandra Gallisová avatar
Written by Alexandra Gallisová
Updated this week

To process invoicing in Allfred, it is essential to set up number sequences for various financial documents. These sequences are automatically applied when a final version of a document is saved. Once finalized, such documents can also be exported to your accounting system.

Default required number sequences

By default, the following number sequences must be configured in Allfred:

  • Outgoing Invoice

  • Credit Note

  • Proforma Invoice

  • Proforma Payment

  • Expenses

Optional sequences (for more granularity in expenses)

You can optionally create separate sequences for different types of expenses, such as:

  • Invoice

  • Bill Expense

  • Card Expense

  • Contract

  • Other


Creating Additional Number Sequences

If you want to define multiple sequences for the same document type (e.g. to distinguish between local and foreign expense invoices, or for internal use), follow these steps:

  1. Go to Workspace Settings (click your profile icon → Settings).
    Note: Only accessible to Admins.

  2. Open the Companies section.

  3. Scroll down to the Sequences section.

  4. Click + Add new sequence.

  5. Select the document type this sequence will apply to (this will mean you will have one document type used multiple times)

  6. Define the format of your sequence using placeholders.
    ⚠️ Do not insert specific numbers or years – use dynamic elements like:

    • YYYY: Current year

    • YY: Last two digits of current year

    • MM: Month (based on Date of supply for invoices or created date for expenses)

    • #: Incremental number
      Example format: OI-YY-MM-####OI-24-10-0001

  7. Choose the next number to be used (this is your starting point).

  8. Click Update to save the changes.


Selecting a Number Sequence When Saving Documents

When saving a financial document (invoice, credit note, proforma, or expense), the CFO or Admin selects the appropriate number sequence.

If your agency operates with multiple legal entities, make sure to first select the correct legal entity. Only then will Allfred let you choose from the available number sequences.

Allfred will always suggest the next available number, but you can manually change it if needed.


How to Change an Invoice Number

To change the number of an Outgoing Invoice:

  1. Go to the Outgoing Invoices list.

  2. Click the three dots at the end of the row → select Edit Invoice Number.

  3. A modal window will appear. Enter the new invoice number and click Save.

  4. Under Advanced Options, you can also define the number for the next invoice – useful if you've deleted some invoices and want to reset the numbering.


How to Edit an Expense Number

To change the number of an Expense:

  1. Open the expense detail (click on the expense ID or use the three dots → Edit).

  2. Ensure you have a legal entity selected (if you have more than one).

  3. In the Expense no. field, select the desired number sequence and edit current number.

  4. ⚠️ Make sure the format matches the defined pattern.

  5. Click Save & Approve to finalize.

Did this answer your question?