Emporix Sequential ID
Use the emporix-sequential-id skill to define number formats and generate sequential document IDs during implementation.
Use the emporix-sequential-id skill to set up and troubleshoot Emporix document numbering. It guides you through creating a sequence schema, activating it, and generating IDs.
Skill details
Skill name
emporix-sequential-id
Package path
skills/community/emporix-sequential-id/ (contains SKILL.md)
Install it once using Installing skills.
When to use it
Use this skill when you need to:
Define or change formats for order, invoice, quote, or customer numbers
Create or activate a sequence schema (platform or custom
schemaType)Generate a single
nextIdor a batch of IDsRun separate number ranges per vendor, period, or channel (
sequenceKey)Resolve placeholders such as
__year__or__country__, or custom placeholders from site data (including viasiteCode)Diagnose Sequential ID errors (missing active schema, missing placeholders, max value exceeded, unexpected gaps, or legacy endpoint
404s)
How it works
The Sequential ID Service turns a sequence schema, the pattern and counter rules for a number format, into unique, incrementing document numbers. Emporix services always use the active schema for each schemaType. To change a format, create a new schema and activate it. Activation replaces the previously active schema for that type. There is no update endpoint for an existing schema.
With the skill installed, you drive that flow in natural language:
Use a platform schemaType such as orderNoSequence, or a custom type for your own integrations. When you need independent counters (pools), pass sequenceKey on generate. Endpoint paths are in the Sequential ID Service documentation linked above.
Prerequisites
Before you use this skill, make sure you have:
An API key with the
sequentialid.schema_viewscope for viewing and generating IDs, and thesequentialid.schema_managescope for schema managementA service access token for
https://api.emporix.ioA known
siteCodefor site-based date, country, or custom placeholder resolution (optional)
How to use it
After install, work in your AI tool with natural-language requests. Examples:
Create and activate an order number schema
ORD-__year__-with 6 digits starting after 1000.
Generate the next invoice number for site
main.
Set up a separate sequence pool per vendor with
sequenceKey.
Why do I get
Active schema with the type … doesn't existafter deleting a schema?
Provide your tenant name. For create or activate calls, confirm the token includes sequentialid.schema_manage.
Usage notes
First number – Generation returns
startValue + 1, notstartValue.Unexpected responses – A
400or409can still advance the counter, so expect gaps. Fix the request before retrying in a loop.Custom site placeholders – Add
sitePathto a placeholder, for examplehomeBase.address.country, to fill it from site data. This needssiteCodeas a query parameter, unless the request body supplies the value.Scopes –
sequentialid.schema_managedoes not includesequentialid.schema_view. For generate-only integrations, thesequentialid.schema_viewscope is usually enough.
Last updated
Was this helpful?

