Dokka icon

Dokka

Interact with Dokka API

Overview

This node interacts with the Dokka API to retrieve tax rate indexes for a specified company. It is useful in scenarios where you need to fetch current tax rate information related to public transactions for accounting, financial reporting, or compliance purposes. For example, an accountant might use this node to automatically update tax rates in their system based on the latest data from Dokka.

Properties

Name Meaning
Company ID The unique identifier of the company in Dokka for which the tax rate indexes are fetched. This is a required string input.
X Fields An optional string that acts as a fields mask to specify which fields should be included in the response headers.

Output

The node outputs JSON data containing the tax rate indexes retrieved from the Dokka API for the specified company. The exact structure depends on the API response but generally includes details about various tax rates applicable to public transactions. There is no indication that binary data is returned by this operation.

Dependencies

  • Requires an active connection to the Dokka API.
  • Needs an API authentication token or key configured in the node credentials to authorize requests.
  • The base URL for the Dokka API must be set in the node's credential configuration.

Troubleshooting

  • Missing or invalid Company ID: Ensure the Company ID is correctly provided and corresponds to a valid company in Dokka.
  • Authentication errors: Verify that the API key or token is correctly configured and has sufficient permissions.
  • Network issues: Check connectivity to the Dokka API endpoint.
  • Invalid X Fields value: If using the optional fields mask, ensure it matches expected field names; otherwise, the API may ignore it or return errors.

Links and References

  • Dokka API documentation (refer to official Dokka API docs for detailed schema and usage)
  • n8n HTTP Request node documentation (for understanding how request routing and headers work)

Discussion