How can I retrieve the next sequence

In Billit the invoice number automatically increases everytime one is created. When using multiple platforms to create invoices knowing the next number in the pipeline can be helpfull. This to make sure the numbers are sequential in each tool and not having any gaps between them.

The /v1/account/sequences Endpoint allows you to retrieve the next sequence and even consume it if needed.

The sequence types can be found under our Types section. Consuming a sequence can be done by adding the Consume Boolean in the Post request.