GUS icon

GUS

Consume GUS (Polish Statistics Office) API with native SOAP implementation, VAT whitelist verification, KRS registry check, and EU VIES validation

Company → Check Account on Whitelist

AI-generated

Summary

Checks whether a Polish bank account is assigned to a company’s NIP in the Ministry of Finance VAT whitelist. It returns the assignment result and request details for each input item, with the raw API response attached as binary data when available.

Inputs

  • NIP Number (required) — Company NIP. The operation removes spaces and hyphens and requires exactly 10 digits.
  • Bank Account Number (required) — Polish bank account number (NRB). The operation removes spaces and hyphens and requires exactly 26 digits.
  • Verification Date — Date used for the whitelist API lookup. Only the YYYY-MM-DD portion is sent; an empty value defaults to today.
  • Check Date — Date included in the returned checkDate and used in the Azure Storage URL. Only the YYYY-MM-DD portion is used; an empty value defaults to today.

Output shape

One n8n item per input item, containing JSON fields for the normalized NIP and account number, checkDate, accountAssigned, accountAssignedRaw, requestDateTime, requestId, and azureStorageUrl when returned by the API; the raw response is attached as binary data.

accountAssigned is true for API value TAK, false for NIE or an HTTP 404, and null when the API returns another value or no result data. Successful and no-data responses include a message or request metadata as applicable. The binary property is named vat_whitelist_report. Other API errors and invalid identifier formats fail the item unless Continue On Fail is enabled, in which case an error object is returned.

Links

Discussion