Skip to main content
POST
/
api
/
v2
/
flex
/
tax-rule-templates
cURL
curl --request POST \
  --url https://api.become1.de/api/v2/flex/tax-rule-templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "rules": [
    {
      "module": "MEALS",
      "taxAffiliation": "AT",
      "budgets": [
        {
          "interval": "YEAR",
          "budget": {
            "value": 123,
            "currency": "EUR_CENT"
          }
        }
      ],
      "maxDaysPerMonth": 123,
      "isOnlyPublicTransportAllowed": true
    }
  ],
  "companyIds": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "companyIds": [
    "<string>"
  ],
  "name": "<string>",
  "rules": [
    "<array>"
  ],
  "taxAffiliations": [
    "AT"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
rules
object[]
required
companyIds
string[]

Response

200 - application/json
id
string
required
companyIds
string[]
required
name
string
required
rules
array[]
required
taxAffiliations
enum<string>[]
required
Available options:
AT,
BE,
CH,
DE,
ES,
FR,
GB,
LU,
NL,
RO