Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Body

application/json
code
string
required
Minimum string length: 1
label
string
required
Minimum string length: 1
rateBps
integer
required
Required range: 0 <= x <= 10000
country
string
Required string length: 2
active
boolean
default:true

Response

The created tax code, exactly as the registry now serves it.

The created tax code, exactly as the registry now serves it.

code
string
required
Minimum string length: 1
label
string
required
Minimum string length: 1
rateBps
integer
required
Required range: 0 <= x <= 10000
active
boolean
required
country
string
Required string length: 2