The BPAY Check Digit Calculator is used for testing the validity of a Customer Reference Number (CRN) and for the creation of the new CRNs. It simulates the validation done by the Validation Routines Modules distributed in each release.
Calculate Check Digit Using a Known Check Digit Rule
To calculate a check digit using a known check digit rule:
-
Enter the CRN without check digit in the "CRN without check digit" box. The number must be a minimum of 1 digit long and a maximum of 19 digits long.
-
Select a validation rule, if required, in the "Validation Rule" box.
-
If the selected validation rule is XFIRSTnn, XLASTnn, XADDnnnnn or FIRSTnn a value must be entered in the "Value" box next to the "Validation Rule" box.
-
Select the check digit rule in the "Check Digit Rule" box. If a MOD11 rule is required, select a MOD11 Translation Rule in the "MOD11 Translation Rule" box.
-
Click on the "Calculate" button at the bottom of the screen. The check digit and complete CRN will appear in the box at the bottom left of the screen.
Calculate Check Digit Using a Mix&Match Rule
To calculate a check digit using a Mix&Match rule:
-
Enter the CRN without check digit in the "CRN without check digit" box. The number must be a minimum of 1 digit long and a maximum of 19 digits long.
-
Select a validation rule, if required, in the "Validation Rule" box.
-
If the selected validation rule is XFIRSTnn, XLASTnn, XADDnnnnn or FIRSTnn a value must be entered in the "Value" box next to the "Validation Rule" box.
-
Select "Mix/Match" in the "Check Digit Rule" box and enter the name of the mix/match rule in the "Mix/Match Rule Name" box (WxxMyyyFza), including special translation suffix ("a") for "M11x" CD Rules.
-
Click on the "Calculate" button at the bottom of the screen. The check digit and complete CRN will appear in the box at the bottom left of the screen.
Calculate Check Digit Using Parameters
To calculate a check digit using parameters:
-
Enter the CRN without check digit in the "CRN without check digit" box. The number must be a minimum of 1 digit long and a maximum of 19 digits long.
-
Select a validation rule, if required, in the "Validation Rule" box.
-
If the selected validation rule is XFIRSTnn, XLASTnn, XADDnnnnn or FIRSTnn a value must be entered in the "Value" box next to the "Validation Rule" box.
-
Select "Custom" in the "Check Digit Rule" box.
4.1 Enter the weights in the "Weights Details for Each Digit" box.
4.2 Select Check Digit Length (1 or 2).
4.3 Select Start From (left or right).
4.4 Select required option in "Add Result Digits" box.
4.5 Enter Value to divide by in the "Divide Total By" box.
4.6 Select Yes or No in the "Keep Zero Remainder" box.
4.7 Enter value to subtract from in the "Subtract Rem. From" box.
-
Click on the "Calculate" button at the bottom of the screen. The check digit and complete CRN will appear in the box at the bottom left of the screen.
Calculate Check Digits in Bulk Using an Input File
To calculate check digits in bulk using an input file:
-
Create a text (.txt) file (using Windows Notepad or similar) containing the numbers you want to turn into BPAY CRNs. Each number must be on a new line and must be a minimum of 1 digit long and a maximum of 19 digits long.
1.1 Tick the "Specify File with multiple CRNs" box. It will trigger "Input/Output Details File" window to pop-up.
1.2 In the "Input File" line, click on "Browse" and locate the file containing your numbers
1.3 Select the file and click OK.
1.4 In the "Output File" line click on the "Browse" button and enter the location and name of a text (.txt) file to output the BPAY CRNs to. Click on "OK" button.
-
Select a validation rule, if required, in the "Validation Rule" box.
-
If the selected validation rule is XFIRSTnn, XLASTnn, XADDnnnnn or FIRSTnn a value must be entered in the "Value" box next to the "Validation Rule" box.
-
Select the check digit rule in the "Check Digit Rule" box. If a MOD11 rule is required, select a MOD11 Translation Rule in the "MOD11 Translation Rule" box.
-
Click on the "Calculate" button at the bottom of the screen. Output file, containing the list of CRNs will be created and stored in the indicated location.