All tax exemptions related paths
/tax_exemptionsCreates a tax exemption.
user_idsarrayrequired
Ids of the users for whom the tax exemption is to be created.
User unique identifier.
tax_exemption_detailsobject (Tax Exemption - Request - German Tax Exemption Details)required
tax_exemption_typestringTax exemption type
tax_exemption_amountobject (Tax Exemption - Create - Request - Tax Exemption Details - Amount)required
countrystringrequired
Country code. ISO 3166 alpha-2 Codes.
valid_to_datestringDate 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_idstringrequired
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_idsarrayrequired
Ids of the users for whom the tax exemption is to be updated.
User unique identifier.
tax_exemption_detailsobject (Tax Exemption - Request - German Tax Exemption Details)required
tax_exemption_typestringTax exemption type
tax_exemption_amountobject (Tax Exemption - Create - Request - Tax Exemption Details - Amount)required
countrystringrequired
Country code. ISO 3166 alpha-2 Codes.
valid_to_datestringDate 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_idstringrequired
The request has been successfully accepted and will be processed asynchronously.
Empty response
/users/{user_id}/tax_exemptionsReturns the tax exemptions of the user specified by ID.
sortstringSort the result by created_at.
orderstringSort order of the result list if the sort parameter is specified. Use ASC for ascending or DESC for descending sort order.
offsetintUse the offset argument to specify where in the list of results to start when returning items for a particular query.
limitintUse 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"
}
}
}
]
}idstringrequired
Event unique identifier
created_atstringrequired
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
typestringrequired
Tax exemption events webhook type
objectobject (Webhook - Tax exemption - Created - Tax exemption)required
idstringrequired
Tax Exemption Unique Identifier
created_atstringrequired
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
updated_atstringrequired
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
statusstringrequired
Tax exemption status
ACTIVE and the valid_to_date already lies in the past. An update is not possible.user_idsarrayrequired
Ids of the users for whom the tax exemption was created.
User unique identifier.
countrystringrequired
Country code. ISO 3166 alpha-2 Codes.
valid_from_datestringrequired
Date from which the tax exemption is valid. RFC 3339, section 5.6
valid_to_datestring or nullrequired
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
tax_exemption_detailsobject (Tax Exemption - German Tax Exemption Details)required
webhook_idstringrequired
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
idstringrequired
Event unique identifier
created_atstringrequired
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
typestringrequired
Type of the tax exemption failure events webhook.
objectobject (Webhook - Tax exemption - Created - Tax exemption)required
idstringrequired
Tax Exemption Unique Identifier
created_atstringrequired
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
updated_atstringrequired
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
reasonstringrequired
Reason for the failure of the tax exemption request.
statusstringrequired
Tax exemption status
ACTIVE and the valid_to_date already lies in the past. An update is not possible.user_idsarrayrequired
Ids of the users for whom the tax exemption was created.
User unique identifier.
webhook_idstringrequired
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?