You are here:
Manage Sequential Numbering by Using APIs
Use APIs to create and update sequence policies, assign sequence pattern values to records, and restore missing sequence values.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
Use APIs to create and update sequence policies, assign sequence pattern values to records, and restore missing sequence values.
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions with the Revenue Cloud Billing license. Contact your Salesforce account executive for more information. |
| Goal | API |
|---|---|
| Create a sequence policy to configure a unique, sequential number for all posted invoices and credit memos. | Create a Sequence Policy API |
| Update the settings of a sequence policy that defines how unique, sequential numbers are generated by using specific patterns, values, and filters. | Update Sequence Policy API |
| Assign sequence pattern values to objects based on the configured sequence policy. | Sequence Assignment API |
| Restore a missing sequence value identified by using this API in gapless-enabled sequences. This sequence value can be used later in the subsequent sequence policy numbering, ensuring there are no gaps. | Sequence Gap Reconciliation API |

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.