0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions114

Business → Verify VAT ID

AI-generated

Overview

This node operation verifies the validity of a VAT ID for a business. It supports two input formats: either a full VAT ID or a combination of country code and ID. This is useful for scenarios where businesses need to validate VAT numbers for compliance, invoicing, or tax reporting purposes.

Use Case Examples

  1. A company wants to verify if a VAT ID provided by a supplier is valid before processing payments.
  2. An accounting system integrates this node to automatically check VAT IDs during invoice creation to ensure tax compliance.

Properties

Name Meaning
vatFormat Specifies the format used to verify the VAT ID, either via full VAT ID or via separate country code and ID.
vatId The full VAT ID string to verify, required if vatFormat is 'vatId'.
countryCode The country code part of the VAT ID, required if vatFormat is 'ccid'.
id The ID part of the VAT ID, required if vatFormat is 'ccid'.
codeVariablesUi Optional code variables that can be passed to the function for dynamic value substitution.

Output

JSON

  • valid - Boolean indicating if the VAT ID is valid.
  • vatId - The VAT ID that was verified.
  • countryCode - Country code extracted or used for verification.
  • id - ID part extracted or used for verification.
  • message - Additional message or information about the verification result.

Dependencies

  • Requires an API key credential for the CodeKit API to perform VAT ID verification.

Troubleshooting

  • Ensure the VAT ID or country code and ID are correctly formatted and valid according to the VAT standards.
  • If the API key credential is missing or invalid, the node will fail to verify VAT IDs.
  • Network issues or API downtime can cause verification failures; check connectivity and API status.

Links

Discussion