Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validating bank number 04 #2

Open
tybw opened this issue Oct 9, 2022 · 4 comments
Open

Validating bank number 04 #2

tybw opened this issue Oct 9, 2022 · 4 comments

Comments

@tybw
Copy link

tybw commented Oct 9, 2022

Hi,

This is not an issue but a question instead.

According to both the older and the latest version of the IRD document, I found there is no 'See note' remark in the algorithm column for bank number 04: https://www.ird.govt.nz/-/media/project/ir/home/documents/income-tax/withholding-taxes/rwt-nrwt-withholding-tax-certificate/2020-rwt-and-nrwt-certificate-filing-specification.pdf.

I wonder which is the most appropriate algorithm to use. May be no validation is needed for the account number part as if algorithm X?

Thanks.

Terence

@Aniaklc
Copy link

Aniaklc commented May 16, 2023

Hi , Iam also struggling to validate the nz bank account number using regex especially at suffix . Would like to write a regex validator to add leading zero to suffix without any dashes for the account number and suffix . Please help . Cheers

@tybw
Copy link
Author

tybw commented May 19, 2023

I am going to answer my question. I found the latest documentation on it (thanks IRD's Account Manager): https://www.ird.govt.nz/-/media/project/ir/home/documents/digital-service-providers/software-providers/payroll-calculations-business-rules-specifications/payroll-calculations-and-business-rules-specification-2024-v1-1.pdf?modified=20230208203603&modified=20230208203603

On page 89, it states that for bank 04, algorithm A or B should be used.

@Aniaklc I am not sure using regex is the easiest way. This validator should be enough.

@Aniaklc
Copy link

Aniaklc commented May 19, 2023

regex is the only choice we have.docx

Hi thanks so much for your reply, the issue is we cannot use any other logic apart from regex in SAP Success factors ON boarding tool as attached, so struggling with the tool itself:)... anyway thanks so much.

@toddb
Copy link

toddb commented Oct 18, 2023

Just a slightly off topic comment for people searching. Wise looks to have an arrangement with ANZ (04) to offer bank accounts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants