Your first main organization (organization) must be created via the fiskaly dashboard.
For each customer (each store/location), an individual managed_organization should be created. The managed_by_organization_id should represent the ID of the main organization (organization).
Some customers like to add an additional level to the organization structure. This can be done via the billing_options object. bill_to_organization is set to the ID of the main organization (withhold_billing set to true). This step can only be done via the Management API endpoint createOrganization.
In this case, the managed_by_organization_id should represent the ID of this additional level organization (organization).