Add a number series (gapless, optionally restarting each year)
post/invoices/series
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:admin- Sdk
shop.invoiceSeries.create- Cli
shop invoice series create
Request bodyapplication/json, required
- keystringrequiredPattern: ^[a-z0-9][a-z0-9-]{0,30}$.
- kindstringOne of: invoice, credit_note, quote, proposal. Default: invoice.
- prefixstringDefault: . At most 20 characters.
- paddingintegerDefault: 5. At least 1. At most 12.
- resetRulestringOne of: never, yearly. Default: never.
- startAtintegerDefault: 1. At least 1. At most 999999999.
- jurisdictionstringDefault: . At most 10 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring