0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions132

Business → Get VAT Rates

AI-generated

Overview

The node provides a utility to look up VAT (Value Added Tax) rates for a specified country. This is useful in business scenarios where you need to calculate or verify the applicable VAT rates based on the country code, such as in invoicing, accounting, or e-commerce applications. For example, an online store can use this node to automatically apply the correct VAT rate depending on the customer's country.

Properties

Name Meaning
Country Code The two-letter country code representing the country for which to look up VAT rates. Options include all ISO 3166-1 alpha-2 country codes (e.g., DE for Germany, FR for France).

Output

The node outputs JSON data containing the VAT rates for the specified country. The exact structure of the JSON output is not detailed in the provided source, but it typically includes standard VAT rate information such as the standard rate, reduced rates, and possibly other related tax details.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authentication with the external "0CodeKit" service.
  • The node sends a POST request to the endpoint /business/lookupvatrates with the selected country code in the request body.
  • The base URL for the API is https://prod.0codekit.com.
  • Proper configuration of the API key credential within n8n is necessary for successful requests.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Providing an unsupported or incorrect country code may result in errors or empty responses.
    • Network connectivity issues can prevent reaching the external API endpoint.
  • Error messages:

    • Authentication errors typically indicate problems with the API key; ensure the key is valid and correctly configured.
    • Validation errors may occur if the country code parameter is missing or invalid; verify that the country code is selected from the provided options.
    • Timeout or network errors suggest connectivity problems; check your internet connection and firewall settings.

Links and References


This summary is based solely on static analysis of the provided source code and property definitions.

Discussion