Descritores de Taxa

São concebidos para fornecer uma descrição das diversas taxas que podem ser aplicadas a transações financeiras, produtos ou serviços.

Obter Todos os Descritores de Taxa

Obter Todos os Descritores de Taxa

get

Obter Todos os Descritores de Taxa

Required scopes
This endpoint requires the following scopes:
  • : commercial
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Responses
200Success

No content

get
/api/tax_descriptors
GET /api/tax_descriptors HTTP/1.1
Host: {{base_url}}
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200Success

No content

Criar Descritores

Criar Descritores de Taxa

post

Criar Descritores de Taxa

Required scopes
This endpoint requires the following scopes:
  • : commercial
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Body
Responses
200

Sucesso

application/json
post
/api/tax_descriptors
POST /api/tax_descriptors HTTP/1.1
Host: {{base_url}}
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 221

{
  "data": {
    "attributes": {
      "allow_negative": false,
      "description": "Teste descritor",
      "notation": ">TEST1",
      "other_tax_code": false,
      "saft_import_id": null,
      "suggested_tax_code": null,
      "supports_tax_code": true
    },
    "type": "tax_descriptors"
  }
}
200

Sucesso

{
  "data": {
    "attributes": {
      "allow_negative": false,
      "company_id": 800000046,
      "description": "Teste descritor",
      "notation": "A1",
      "other_tax_code": false,
      "saft_import_id": null,
      "suggested_tax_code": "NOR",
      "supports_tax_code": true
    },
    "id": "1003",
    "relationships": {
      "company": {
        "data": {
          "id": "800000046",
          "type": "current_company"
        }
      },
      "tax_exemption_reasons": {
        "data": null
      }
    },
    "type": "tax_descriptors"
  }
}

Last updated