All tax exemptions related paths
/tax_exemptions
Creates a tax exemption.
user_ids
array
required
Ids of the users for whom the tax exemption is to be created.
tax_exemption_details
One Of
required
Must match one of
tax_exemption_type
string
Tax exemption type
tax_exemption_amount
object (Tax Exemption - Create - Request - Tax Exemption Details - Amount)
required
country
string
required
Country code. ISO 3166 alpha-2 Codes.
valid_to_date
string
Date until which the tax exemption is valid. If it is unlimited, it is omitted. For Germany it is always the last day of the year (YYYY-12-31). RFC 3339, section 5.6
{
"user_ids": [
"70fd317b-81e1-4f21-9f7e-3b5cb4dfe686"
],
"tax_exemption_details": {
"tax_exemption_type": "SINGLE",
"tax_exemption_amount": {
"currency": "EUR",
"amount": "1000"
}
},
"country": "DE",
"valid_to_date": "2024-12-31"
}
Creation request accepted.
{
"id": "f1a57a04-1a89-4dab-ae3a-ff9b2a9377c1"
}
/tax_exemptions/{tax_exemption_id}
Returns the tax exemption specified by its ID
tax_exemption_id
string
required
OK
{
"id": "f1a57a04-1a89-4dab-ae3a-ff9b2a9377c1",
"created_at": "2024-01-01T10:33:43Z",
"updated_at": "2024-01-01T10:33:43Z",
"status": "ACTIVE",
"user_ids": [
"70821d79-366f-4873-804b-14857d690496"
],
"country": "DE",
"valid_from_date": "2024-01-01",
"valid_to_date": "2024-12-31",
"tax_exemption_details": {
"tax_exemption_type": "SINGLE",
"tax_exemption_amount": {
"amount": "1000.00",
"currency": "EUR"
},
"utilized_amount": {
"amount": "0.00",
"currency": "EUR"
},
"remaining_amount": {
"amount": "1000.00",
"currency": "EUR"
}
}
}
/tax_exemptions/{tax_exemption_id}
Updates a tax exemption specified by its ID.
user_ids
array
required
Ids of the users for whom the tax exemption is to be updated.
tax_exemption_details
One Of
required
Must match one of
tax_exemption_type
string
Tax exemption type
tax_exemption_amount
object (Tax Exemption - Create - Request - Tax Exemption Details - Amount)
required
country
string
required
Country code. ISO 3166 alpha-2 Codes.
valid_to_date
string
Date until which the tax exemption is valid. If it is unlimited, it is omitted. For Germany it is always the last day of the year (YYYY-12-31). RFC 3339, section 5.6
{
"user_ids": [
"70fd317b-81e1-4f21-9f7e-3b5cb4dfe686"
],
"tax_exemption_details": {
"tax_exemption_type": "SINGLE",
"tax_exemption_amount": {
"currency": "EUR",
"amount": "955"
}
},
"country": "DE",
"valid_to_date": "2024-12-31"
}
The tax exemption update is submitted.
{
"id": "f1a57a04-1a89-4dab-ae3a-ff9b2a9377c1"
}
/tax_exemptions/{tax_exemption_id}
Deletes a tax exemption specified by its ID.
tax_exemption_id
string
required
The request has been successfully accepted and will be processed asynchronously.
Empty response
/users/{user_id}/tax_exemptions
Returns the tax exemptions of the user specified by ID.
sort
string
Sort the result by created_at
.
order
string
Sort order of the result list if the sort
parameter is specified. Use ASC
for ascending or DESC
for descending sort order.
offset
int
Use the offset
argument to specify where in the list of results to start when returning items for a particular query.
limit
int
Use the limit
argument to specify the maximum number of items returned.
OK
{
"meta": {
"offset": 0,
"limit": 100,
"count": 1,
"total_count": 1,
"sort": "created_at",
"order": "ASC"
},
"data": [
{
"id": "f1a57a04-1a89-4dab-ae3a-ff9b2a9377c1",
"created_at": "2024-01-01T10:33:43Z",
"updated_at": "2024-01-01T10:33:43Z",
"status": "ACTIVE",
"user_ids": [
"70821d79-366f-4873-804b-14857d690496"
],
"country": "DE",
"valid_from_date": "2024-01-01",
"valid_to_date": "2024-12-31",
"tax_exemption_details": {
"tax_exemption_type": "SINGLE",
"tax_exemption_amount": {
"amount": "1000.00",
"currency": "EUR"
},
"utilized_amount": {
"amount": "0.00",
"currency": "EUR"
},
"remaining_amount": {
"amount": "1000.00",
"currency": "EUR"
}
}
}
]
}
id
string
required
Event unique identifier
created_at
string
required
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
type
string
required
Tax exemption events webhook type
object
object (Webhook - Tax exemption - Created - Tax exemption)
required
webhook_id
string
required
Webhook unique identifier.
{
"id": "295cf14f-368c-450e-b57e-48d115d30fe4",
"created_at": "2024-01-01T10:34:43Z",
"type": "TAX_EXEMPTION.CREATED",
"object": {
"id": "f1a57a04-1a89-4dab-ae3a-ff9b2a9377c1",
"created_at": "2024-01-01T10:33:43Z",
"updated_at": "2024-01-01T10:33:43Z",
"status": "ACTIVE",
"user_ids": [
"70821d79-366f-4873-804b-14857d690496"
],
"country": "DE",
"valid_from_date": "2024-01-01",
"valid_to_date": "2024-12-31",
"tax_exemption_details": {
"tax_exemption_type": "SINGLE",
"tax_exemption_amount": {
"amount": "1000.00",
"currency": "EUR"
},
"utilized_amount": {
"amount": "0.00",
"currency": "EUR"
},
"remaining_amount": {
"amount": "1000.00",
"currency": "EUR"
}
}
},
"webhook_id": "4a80c45f-204c-4498-ac20-d900a846e166"
}
Request has been processed successfully.
Empty response
id
string
required
Event unique identifier
created_at
string
required
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
type
string
required
Type of the tax exemption failure events webhook.
object
object (Webhook - Tax exemption - Created - Tax exemption)
required
webhook_id
string
required
Webhook unique identifier.
{
"id": "2ce641a1-e89c-43be-b8d8-981d4aac5bd5",
"created_at": "2024-01-01T10:34:43Z",
"type": "TAX_EXEMPTION.CREATION_FAILED",
"object": {
"id": "f1a57a04-1a89-4dab-ae3a-ff9b2a9377c1",
"created_at": "2024-01-01T10:33:43Z",
"updated_at": "2024-01-01T10:33:43Z",
"reason": "Missing TIN",
"status": "CANCELLED",
"user_ids": [
"70821d79-366f-4873-804b-14857d690496"
]
},
"webhook_id": "606e3c01-c9cf-4073-900e-718bfc521953"
}
Request has been processed successfully.
Empty response
Was this page helpful?