# Invoice id creation methodology

**URL:** <https://integration.keap.com/t/invoice-id-creation-methodology/47470>\
**Category:** Max Classic\
**Created:** [July 24, 2018, 6:16pm UTC](https://integration.keap.com/t/invoice-id-creation-methodology/47470 "2018-07-24T18:16:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxDeBlax](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/maxdeblax/32/7982_2.png) [@MaxDeBlax](https://integration.keap.com/u/MaxDeBlax)\
**Post date:** [July 24, 2018, 6:16pm UTC](https://integration.keap.com/t/invoice-id-creation-methodology/47470/1 "2018-07-24T18:16:11Z")

</div>

I am approaching the orders and invoice creation.  
I would like to know ho is generated an invoice.id.  
Is it always linked to an order?  
Can be changed (in case we restart from a different number?) or customized (example: FA/1 is for a service while FZ/123 is for a different service purchase)?

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [July 25, 2018, 5:30pm UTC](https://integration.keap.com/t/invoice-id-creation-methodology/47470/2 "2018-07-25T17:30:06Z")

</div>

Order and Invoice id’s are auto incremented and created in the IS database. The first invoice id for an order is the same number as the order and each successive invoice (in the case of recurring invoices from that same order) are incremented by 2 each time it’s generated. There is no way to set them to anything different.
