Saltar a contenido

Add a tax

Add a tax preset to the calling issuer's tax catalog. The preset is a key from list_tax_presets. Adding a preset the catalog already has returns that entry.

Alcance (scope): products:write · Características: —

Parámetros

Parámetro Tipo Obligatorio Descripción
preset string Sí Key of a preset from list_tax_presets, e.g. 'traslado:002:Tasa:0.160000'.
issuer string Sí Id of the issuer the call acts for, from list_issuers.

Esquema de entrada (JSON Schema)

{
  "type": "object",
  "properties": {
    "preset": {
      "type": "string",
      "description": "Key of a preset from list_tax_presets, e.g. 'traslado:002:Tasa:0.160000'."
    },
    "issuer": {
      "type": "string",
      "format": "uuid",
      "description": "Id of the issuer the call acts for, from list_issuers."
    }
  },
  "required": [
    "preset",
    "issuer"
  ]
}