- Fiscal configuration
- Create fiscal configuration link
Fiscal configuration
Create fiscal configuration link
Generates a link for the customer to fill in the organization's NF-e settings on a Treeunfe page
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>'
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
| Status | Description |
|---|---|
201 | Link created. |
401 | Credential missing, invalid, or expired. |
404 | Resource 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"
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"
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>'
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>'