1. Fiscal configuration
  2. Create fiscal configuration link
POST
/bff/enterprise-group/organizations/{organizationId}/fiscal-config-invites
curl --request POST \
     --url https://api.treeunfe.com.br/api/v1/bff/enterprise-group/organizations/{organizationId}/fiscal-config-invites \
     --header 'x-api-key: <api-key>' \
     --header 'x-enterprise-key: <x_enterprise_key>'

Generates a link for the customer to fill in the organization’s NF-e settings on a Treeunfe page. Send the link to the customer; no body is needed.

​
Authentication

x-enterprise-key
required
string

The Enterprise account’s key (enterprise:manage scope).

​
Path parameters

organizationId
required
string

The organization’s ID (UUID).

​
Responses

StatusDescription
201Link created.
401Credential missing, invalid, or expired.
404Resource not found.
curl -X POST "https://api.treeunfe.com.br/api/v1/bff/enterprise-group/organizations/7a6b2d8e-4bc3-4a25-a298-adb3ba63f9de/fiscal-config-invites" \
  -H "x-enterprise-key: YOUR_ENTERPRISE_KEY"