Create an expense VAT
This endpoint is intended to create a new expense VAT.
Prerequisites:
To use this endpoint you need to have the ACCOUNTING scope for the API Key. Please contact your relation manager to get this permission.
Request Body:
- name: The name of the VAT. Multiple VATs with the same name cannot be added.
- value: Required.
- externalId: Optional.
- importTax: Optional.
Header Parameters
- Unique-Request-Id string
Possible values:
<= 50 characters
An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.
- application/json
Request Body required
- name string required
- value string required
- externalId stringnull
- importTax boolean
Responses
- 200
- 400
- 401
- 403
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- id integer
- businessPartner iri-reference
- value number
- name stringnull
- externalId stringnull
- visible boolean
Default value:
true
- importTax boolean
{
"id": 0,
"businessPartner": "https://example.com/",
"value": 0,
"visible": true,
"importTax": true
}
Bad Request -- Your request is invalid.
- application/json
- Schema
- Example (from schema)
Schema
- title string
- type string
- detail string
{
"title": "string",
"type": "string",
"detail": "string"
}
Unauthorised -- Your access token is wrong.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Loading...