Check an invoice payee (pay / review / hold)
check_invoice_payeeOne call before paying a supplier: validates the IBAN, BIC, VAT (EU or UK) and EIN on the invoice AND cross-checks them against each other and the supplier's country, then returns verdict pay / review / hold with plain-English reasons. Catches the changed-bank-details fraud pattern (e.g. a German supplier asking to be paid into a foreign account), BIC/IBAN country mismatches, unregistered VAT numbers, and (with live=true) a VIES-registered company name that doesn't match the supplier name. Pass whatever the invoice has; only one field is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | No | BIC/SWIFT from the invoice | |
| ein | No | US EIN, if any | |
| vat | No | Supplier VAT ID (EU with country prefix, or GB...) | |
| iban | No | Supplier IBAN from the invoice | |
| live | No | Also check the VAT number in the official EU VIES registry | |
| currency | No | Invoice currency | |
| supplier_name | No | Supplier legal name, compared with the VIES-registered name when live=true | |
| supplier_country | No | ISO country of the supplier as you know it (from your vendor master, not the invoice) |