Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

This page explains when to use the skill and how to work with it. For field constraints, endpoints, and OpenAPI details, see the Sequential ID Service guide and the Sequential IDs management API reference.

Skill details

Property
Value

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 nextId or a batch of IDs

  • Run separate number ranges per vendor, period, or channel (sequenceKey)

  • Resolve placeholders such as __year__ or __country__, or custom placeholders from site data (including via siteCode)

  • Diagnose Sequential ID errors (missing active schema, missing placeholders, max value exceeded, unexpected gaps, or legacy endpoint 404s)

For access tokens and 401/403 problems, use the Emporix Auth skill, not this skill alone.

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_view scope for viewing and generating IDs, and the sequentialid.schema_manage scope for schema management

  • A service access token for https://api.emporix.io

  • A known siteCode for 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 exist after 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, not startValue.

  • Unexpected responses – A 400 or 409 can still advance the counter, so expect gaps. Fix the request before retrying in a loop.

  • Custom site placeholders – Add sitePath to a placeholder, for example homeBase.address.country, to fill it from site data. This needs siteCode as a query parameter, unless the request body supplies the value.

  • Scopes – sequentialid.schema_manage does not include sequentialid.schema_view. For generate-only integrations, the sequentialid.schema_view scope is usually enough.

Last updated

Was this helpful?