Skip to main content
Glama

Simpler.Asia

sales_settings_numbering_set

[REQUIRES APPROVAL] Sets where a document type's numbers continue, for example after moving from another invoicing tool. doc_type: invoice, quote, credit_note, debit_note or receipt. next_number is the sequence number the next document gets (42 prints as INV-2026-042). Numbering only moves forward: a number at or below the last one used or skipped is refused with VALIDATION_ERROR naming that number, and nothing changes. prefix sets the credit_note, debit_note or receipt prefix; invoice and quote prefixes are invoice_prefix and quote_prefix on sales_settings_upsert. An agent call waits for the owner's approval. Read the current numbers with sales_settings_numbering_read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prefixNocredit_note, debit_note or receipt only: 1-10 letters or digits (plus . _ / -), printed before the year.
doc_typeYesWhich document type's numbering to change.
next_numberNoThe sequence number the next document of this type gets. Must be above the last number used or skipped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources