The API integration must include the creation of your main organization (created via the fiskaly dashboard), and Asset(s) UNIT
representing each of your clients (created via the SIGN IT API).
However, if your Asset structure requires more flexibility, you can introduce an optional intermediate layer called Asset GROUP
. This allows you to organize multiple Assets UNIT
into logical groupings based on your preferred structure.
How to implement this new structure
- Download the attached Postman collection, which includes the endpoints required for creating and managing Assets
GROUP
. - Create an Asset
GROUP
- you will get its ID returned in thecontent.id
field of the response. - Create Assets
UNIT
, and link them to the AssetGROUP
previously created by setting theX-Scope-Identifier
header to the AssetGROUP
ID.
Note: If the X-Scope-Identifier
header is not provided, the Asset UNIT
will be associated with the main organization (Asset TENANT
) by default via the authorization token.
Important: In case the header is mistakenly set to another Asset UNIT
ID instead of an Asset GROUP
ID, the request will fail, and the response will clearly state that Assets UNIT
can only be associated with Assets GROUP
.