Skip to main content
Answer

Automatically create sequential Invoice numbers

  • December 1, 2025
  • 4 replies
  • 52 views

Forum|alt.badge.img+17

I have a table (Invoices: House) that uses a sequential Invoice # entered in a field type: Number. I am currently entering each one manually as I create a new invoice record in the table. I would like to automate the process of assigning the next sequential number as I create a new invoice record.

I am trying to figure out if I can do this with a formula or if I need to use an Automation or a Script.

Does anyone have a way to do this?

Thanks, Scott

Best answer by Vadim_Ciobanu

Hi ​@Scott_Brasted 

You can use the Autonumber field format. 
Also you can combine it with a formula field like "INV-" & RIGHT(REPT("0", 6) & {autonumber}, 6)

to generate sequential numbers
INV-000001
INV-000002
INV-000003….

4 replies

Vadim_Ciobanu
Forum|alt.badge.img+8
  • Inspiring
  • Answer
  • December 1, 2025

Hi ​@Scott_Brasted 

You can use the Autonumber field format. 
Also you can combine it with a formula field like "INV-" & RIGHT(REPT("0", 6) & {autonumber}, 6)

to generate sequential numbers
INV-000001
INV-000002
INV-000003….


Forum|alt.badge.img+3
  • Participating Frequently
  • December 1, 2025

 Hello,

Airtable already has a field for this it is called “Autonumber”, create a new field in your table and scroll all the way down in the list and select “Autonumber” as the field type, you could also search for this as well.

Scroll down to the Autonumber field

 


Forum|alt.badge.img+17
  • Author
  • Inspiring
  • December 1, 2025

Thanks anthonyXRay. I was thinking about  f I could use it but did not know how. I appreciate the quick response. 

Vadim_Ciobanu - I tried your idea and it worked as you stated it. Yay! Now, one little quirk. I have over 140 invoices already and I do not want to lose the numbering I have. Can the autonumber be made to start at a particular point and go forward. So I would start at 5925 and go forward and that woulds let me number the next invoice as 6073.

Otherwise I will have to create a deprecated invoice number field to cross reference with what the customers already have.

I look forward to your response.

Many thanks to you both , Scott


TheTimeSavingCo
Forum|alt.badge.img+31

Airtable increments the autonumber even if you delete a record.  That is to say, if you have:

1

2

3

 

And you delete record 2 and add a new record, you’ll end up with:

1

3

4

 

And so to solve your problem you can just add records to your table until the next record is 6073, and then delete those helper records