Check an EU counterparty (VAT + Peppol)
check_eu_counterpartyOne call for "does this EU supplier exist and can I send it an e-invoice?": runs validate_vat (VIES) and a Peppol
Directory search by the VAT number, in parallel. data.vat.status is valid, invalid or unavailable (VIES could not
answer, which is not the same as invalid). data.peppol.listed: false means NOT FOUND BY VAT in the Directory, which is an
opt-in index: it does not prove the company is outside Peppol. Check sources for the status of each source.
Not legal or tax advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vat_number | Yes | VAT number without or with the country prefix; spaces, dots and hyphens are ignored. | |
| country_code | Yes | 2-letter VIES country code (GR is accepted as EL; XI = Northern Ireland). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||