Revenue Account Mapping
π Create revenue account mapping
Changed onThis endpoint is currently in Beta and available for testing. It may contain bugs, and breaking changes can occur at any time without prior notice. We do not recommend using Beta endpoints in production environments. Should you choose to use it in production, you assume full responsibility for any resulting issues.
Create revenue account mapping
post/api/v1/revenueAccountMapping/group
Request
- Base URLhttps://xentral.xentral.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"project": [
{
"id": "1",
"name": "Project A"
}
],
"product": [
{
"id": "1",
"name": "Project A"
}
],
"productCategory": [
{
"id": "1",
"name": "Project A"
}
],
"taxType": [
{
"id": "1",
"name": "Project A"
}
],
"shop": [
{
"id": "1",
"name": "Project A"
}
]
}Response
Created
Example response
{
"groupId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
"name": "EU exception",
"account": {
"id": "1",
"accountNumber": "8400"
},
"deliveryCountryCode": [
"DE",
"AT"
],
"taxType": [
{
"id": "1",
"name": "Project A"
}
],
"project": [
{
"id": "1",
"name": "Project A"
}
],
"product": [
{
"id": "1",
"name": "Project A"
}
],
"productCategory": [
{
"id": "1",
"name": "Project A"
}
],
"shop": [
{
"id": "1",
"name": "Project A"
}
],
"isActive": true,
"createdAt": "2022-01-01T00:00:00Z",
"updatedAt": "2022-01-01T00:00:00Z"
}Changes
- info
endpoint added
- info