Enroll an organization with the fiscal control system
Creates the organization as a taxpayer at the fiscal control system and commissions it, in one call that can be repeated.
What it does depends on where the organization already is: with no taxpayer it is created and commissioned, with a taxpayer that was created but not commissioned only the commissioning is retried, and an organization already commissioned is returned unchanged - the values in the body are then ignored, because a commissioned taxpayer cannot be replaced.
Requires the FISCAL extension to be active on the tenant and the organization to have fiscal credentials.
Required permissions: ORGANIZATION
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an organization.
^[A-Za-z0-9-_]+What an operator confirms before the organization exists as a taxpayer at the fiscal control system.
None of it is taken from the organization itself. The control system keeps a legal name and a trade name where Flow keeps one name, and wants the organisation number, which is not the same string as the VAT number Flow stores. A client can fill the fields in from the organization as a suggestion; the operator decides what is sent, because the values are permanent once the taxpayer is commissioned.
Registered legal name of the company.
Name the company trades under.
Swedish organisationsnummer: ten digits starting with 2-9, with no country prefix and no hyphen.
Example response
^[A-Za-z0-9-_]+VAT identification number for value added tax reporting purposes.
Bad Request
Not Found
POST /v2/tenants/{tenantUid}/organizations/{organizationUid}/fiscal/enroll HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 166
{
"legalName": "text",
"tradeName": "text",
"organisationNumber": "text",
"address": {
"street": "text",
"number": "text",
"postalCode": "text",
"city": "text",
"countryCode": "text"
}
}{
"address": "text",
"city": "text",
"countryCode": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"email": "text",
"externalId": "text",
"isActive": true,
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"name": "text",
"postalCode": "text",
"phone": "text",
"organizationUid": "text",
"vatNumber": "text",
"bankInfo": {
"accountNumber": "text",
"bankName": "text",
"iban": "text",
"swift": "text",
"giroAccountNumber": "text"
},
"websiteUrl": "text",
"appSettings": {
"requireGtinScanBeforeDeliverOut": true
},
"fiscal": {
"unitId": "text",
"credentialsStored": true,
"taxpayerId": "text",
"taxpayerState": ""
}
}Last updated
Was this helpful?

