API-TOKEN: ********************{
"name": "Flavours",
"otp": "475230",
"environment_type": "Production",
"csr_config": {
"csr.common.name": "TST-202603121-311076286800003",
"csr.serial.number": "1-FLAVOURS|2-SA.002|3-ed22f1d8-e6a2-1118-9b58-d9a8f11e445g",
"csr.organization.identifier": "311076286800003",
"csr.organization.unit.name": "NIKHATI",
"csr.organization.name": "NIKHATI",
"csr.country.name": "SA",
"csr.invoice.type": "1100",
"csr.location.address": "RERA4351",
"csr.industry.business.category": "food"
}
}curl --location --request POST 'https://api.flavours.sa/dev/api/v2/zatca/onboard' \
--header 'API-TOKEN: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Flavours",
"otp": "475230",
"environment_type": "Production",
"csr_config": {
"csr.common.name": "TST-202603121-311076286800003",
"csr.serial.number": "1-FLAVOURS|2-SA.002|3-ed22f1d8-e6a2-1118-9b58-d9a8f11e445g",
"csr.organization.identifier": "311076286800003",
"csr.organization.unit.name": "NIKHATI",
"csr.organization.name": "NIKHATI",
"csr.country.name": "SA",
"csr.invoice.type": "1100",
"csr.location.address": "RERA4351",
"csr.industry.business.category": "food"
}
}'{
"detail": "string"
}