Account Invoice Scan Line Format

File type: Fixed length.

Location: Prints on account invoice (not exported). Business Rules determine whether a scan line is printed and the two digit company number to use. The printer must also be set up to print scan lines (in Setup | System | Device | Specifics | Device Control).

Length
Description

2

Lockbox company (from Business Rules)

8

Invoice amount (last two digits are decimals)

13

Invoice number

1

Check digit (based on positions 1-23)

13

Invoice Number

1

Check digit (based on positions 25-37)

8

Invoice Amount

1

Check digit (based on positions 1-46)

Formula for Calculating Check Digit

To calculate the check digit, the odd positions are multiplied by 2, the even by 1, and the resulting digits are totaled. The last digit of the total is subtracted from 10, and the remainder is the check digit. Note that it is the digits that are totaled, not the numbers. So, if on odd position were 7, then 7 * 2 would be 14; when totaled, Circulation would not add 14, but 5 (1 + 4).

For example, with the number 76543210, Multiplying the odd digits by 2 and the even by one would give us:

1461046220

The sum of these digits is 26. 10 - 6 = 4. So the check digit will be 4.

Last updated

Logo

COPYRIGHT © 2024 NAVIGA