Standards/australia-post-4-state
Australia Post 4-State
Overview
The Australia Post 4-State Customer Barcode is the barcode that Australian bulk mailers print above the address on letters so that Australia Post's sorting machines can route each item to its exact delivery point 14. Its core is the Delivery Point Identifier (DPID), an 8-digit number that Australia Post assigns to every letterbox, PO Box, rural mailbag or other point it delivers to 1. A mailer gets the DPID by matching each address against Australia Post's Postal Address File (PAF) with software certified under the Address Matching Approval System (AMAS), then prints the DPID as a 37-, 52- or 67-bar code 4910. A correctly barcoded and sorted lodgement earns lower PreSort postage; Promo Post and Charity Mail require barcodes 45.
Each bar has one of four heights, built from a short centre "tracker" with or without an ascender and a descender. The symbol carries a Format Control Code, the DPID, an optional customer-information field and four Reed–Solomon check symbols 1.
History
Planning (1997). Australia Post notified the Australian Competition and Consumer Commission (ACCC) in 1997 that it intended to introduce barcoded letters by October 1999, and to phase out unbarcoded bulk PreSort mail by October 2000. The ACCC did not object 12. The investment programme was called FuturePOST. The ACCC's glossary describes it as "Barcoding and multi line optical character reading technology", and large mail users cited it as the programme that brought in barcode sorting 12.
Specification (1998). Australia Post published the Customer Barcoding Technical Specifications and A Guide to Printing the 4-State Barcode in June 1998 12. The specification says that from 1998 Barcode Sorters (BCS) would be installed at mail centres, so that letters could be machine-sorted to individual addresses rather than only to postcode level 1. The guide put the network upgrade at $500m and said the PAF held 8.8 million physical delivery points, each with its own DPID 2. Australia Post called its choice "a derivation that is already used successfully by other postal administrations" without naming one 1. Seagull Scientific's barcode guide describes the code as a variation of the Royal Mail 4-State Customer Barcode (RM4SCC) 24.
Phase-in (1999–2003). In April 1999 Australia Post proposed postponing the end of non-barcoded bulk PreSort mail to the end of June 2002 12. Under a transitional "90/10 rule", from 1 July 2001 to 30 June 2002 at least 90% of a PreSort lodgement had to be barcoded to attract the barcode rate. Australia Post extended that concession pending new Clean Mail and Unbarcoded Residue prices proposed for January 2003 12. In its September 2002 preliminary view, the ACCC recorded mail houses' complaints that barcoding had shifted costs onto them and that the promised productivity gains had not appeared. It also recorded Australia Post's reply that FuturePOST had met its targets, including fewer full-time-equivalent staff 12.
Revisions. The specification's current copy is marked "Revised 3 Aug 2012" and the printing guide "Revised 16 Mar 2012" 12. No public revision history lists what changed between editions.
The designers of the symbology are not named in any Australia Post document found.
Technical specification
All rules below are from Australia Post's specification and printing guide unless another source is cited.
Bar states. Every bar has a tracker (middle section). An ascender (top) and/or a descender (bottom) may be added, giving four states 1:
| Bar | Elements | Value | Height (mm) |
|---|---|---|---|
| H | tracker, ascender, descender | 0 | 4.2–5.8 |
| A | tracker, ascender | 1 | 2.6–3.7 |
| D | tracker, descender | 2 | 2.6–3.7 |
| T | tracker only | 3 | 1.0–1.6 |
Layout. Bars 1–2 are the start bars (A, T = values 1, 3) and the last two are the stop bars (also 1, 3). They show which way up the code is 1. Bars 3–6 hold the Format Control Code (FCC), and bars 7–22 the 8-digit DPID, both in the N table 1:
| Format | FCC | Bars | Customer information | Reed–Solomon input |
|---|---|---|---|---|
| Standard Customer Barcode | 11 | 37 | none; one filler bar (T) at bar 23 | 21 bars = 7 symbols |
| Customer Barcode 2 | 59 | 52 | 16 bars (23–38) | 36 bars = 12 symbols |
| Customer Barcode 3 | 62 | 67 | 31 bars (23–53) | 51 bars = 17 symbols |
Other Format Control Codes. The specification lists FCC 00, the Null Customer Barcode, for customer use only. It is not machine-readable by Australia Post, and the specification says it is valid only with DPID 00000000 1. Ten further codes are "Australia Post internal use only" and may not be used by customers without authorisation: 18, 33, 44, 45, 70 and 92 are listed without a name; 52 and 67 are Customer Business Reply Paid; and 72 and 77 are International Business Reply Paid 1. That gives the "14 defined format control codes" the printing guide mentions 2. A 2012 Australia Post sheet shows FCC 00 symbols with a zero DPID, or with a DPID the customer uses for its own data. Australia Post accepts these as unbarcoded "residue" mail only 7. The 2024 fact sheet lists FCC 00 at 37, 52 or 67 bars, and says invalid FCCs cause mail articles to be rejected 3.
Encoder libraries label FCC 45 Reply Paid, FCC 87 Routing and FCC 92 Redirection 131719. The 2012 specification gives no name for 45 or 92 and does not list 87 at all 1. Reply Paid customers do not make their own barcode: Australia Post supplies the artwork, and the barcode printed on regular mail to an address may not be used for Reply Paid 16.
- N table (2 bars per digit): 0 = 00, 1 = 01, 2 = 02, 3 = 10, 4 = 11, 5 = 12, 6 = 20, 7 = 21, 8 = 22, 9 = 30. FCC 11 is therefore bars
0101. - C table (3 bars per character): 64 characters, namely A–Z, a–z, 0–9, space (
003) and#(013). For example A =000, B =001, a =023, 0 =222, 9 =322. - Bar-to-decimal table: each group of three bars read as a base-4 number, 0 (
000) to 63 (333). It is used for the Reed–Solomon symbols.
Customer information. The field is free format. It can use the N table, the C table, or the customer's own proprietary encoding, and unused bars are padded with filler bars of value 3 12. Capacity with Australia Post's tables 24:
| Format | Field | N table | C table |
|---|---|---|---|
| FCC 59 | 16 bars | 8 digits | 5 characters |
| FCC 62 | 31 bars | 15 digits | 10 characters |
FCC 59 and 62 are each the only code for their length, so nothing in the symbol says which table, or which private scheme, the customer field uses; a reader has to know the mailer's convention 1. Australia Post suggests the field for data such as a customer identifier or campaign number, to track mail returns 24.
Error correction. The 12 bars before the stop bars are four parity symbols of a Reed–Solomon code over GF(64), with primitive polynomial 1 + α + α⁶, generating element α = 000010 and generator polynomial (x − α)(x − α²)(x − α³)(x − α⁴). Each 3-bar group is one 6-bit symbol 1. The code corrects any combination with 2 × errors + erasures ≤ 4, that is, two wrong symbols or four missing ones 1. The printing guide gives 12 test vectors (FCC, DPID, customer information and the four expected parity values), and Australia Post publishes example Reed–Solomon code in Visual Basic, ANSI C and COBOL 211.
Worked example. The specification encodes FCC 11 with DPID 39549554: the information bars 0101 + 1030121130121211 + filler 3 become seven symbols, 4 20 49 37 49 38 23. The parity symbols 54 17 53 58 follow, and with the start and stop bars the full code is 1301011030121130121211331210131132213 1.
Printing. The specification sets 14:
- bar width 0.4–0.6 mm, bar gap 0.4–0.7 mm, and a density of 22 to 25 bars per 25.4 mm;
- overall length 37.0–42.2 mm (37 bars), 52.2–59.5 mm (52 bars) or 67.5–76.8 mm (67 bars);
- skew under ±5° for the whole code and for single bars;
- reflectance in the 400–650 nm range: bars 25% or less, background 50% or more, and a Print Contrast Signal above 0.75;
- a clear zone of 6 mm left and right and 2 mm above and below.
The barcode must run parallel to the long edge of the letter and sit inside the barcode and delivery address zone, preferably above the address 14. Printing the digits above the bars is optional, in 8-point type or smaller 1. Barcode fonts print bar values 0–3 as ASCII 0–3 (hex 30–33) 1.
Conformance tests. Australia Post's Barcode Quality Program (BQP) checks barcode content with 15 tests: length against FCC, start and stop bars 13, FCC 11, 59 or 62, DPID exactly 8 valid digits, customer-information length limits per table, and the four Reed–Solomon coefficients 8.
Use cases
- Discounted bulk letters (PreSort Letters). Lodgers match each address to its DPID with current AMAS-certified software and print the 4-state barcode. PreSort lodgements need at least 300 articles, and barcodes are required for the full discounted PreSort rates 45. The DPIDs must be current against the PAF, which is reissued five times a year. Australia Post supplies a PAF Incremental Changes File of DPIDs whose addresses changed 411.
- Promotional and charity mail. Promo Post needs at least 4,000 barcoded articles, and Charity Mail at least 300 5.
- Publications (Print Post). The July 2025 bulk-mail guide requires barcodes for Print Post publications of 2,000 or more 5. The December 2024 fact sheet still lists Print Post as "optional" 3.
- Reply Paid. Businesses issue preprinted Reply Paid envelopes. Australia Post supplies the artwork with a barcode unique to that Reply Paid number, and the barcode cannot be reused after a move 6.
- Campaign and returns tracking. The 52- and 67-bar formats let a mailer carry its own reference, such as a campaign number 24.
- Rural and remote delivery. In selected rural and remote locations, AMAS software may assign a Delivery Identifier (DID) for a street or locality instead of a DPID 4.
The code is a domestic mail-sorting code only. No use outside Australia Post's letter network was found.
Implementations
| Library | Language | Stars | Last active | Australia Post support |
|---|---|---|---|---|
| metafloor/bwip-js | JavaScript | 2,431 | Aug 2026 | auspost; wraps BWIPP 2026-05-28 1516 |
| bwipp/postscriptbarcode | PostScript | 504 | Oct 2026 | auspost since October 2005; FCC 45 added 2008, FCC 87 and 92 in February 2026, FCC 00 in October 2026 1314 |
| zint/zint | C | 827 | Oct 2026 | BARCODE_AUSPOST, AUSREPLY (45), AUSROUTE (87), AUSREDIRECT (92) 1718 |
| woo-j/OkapiBarcode | Java | 399 | Oct 2026 | Modes POST, REPLY, ROUTE, REDIRECT 19 |
| productdevbook/etiket | TypeScript | 490 | Oct 2026 | auspost with FCC 11, 45, 59, 62, 87, 92; character or numeric customer data 20 |
| antonscheffer/as_barcode | PL/SQL | 28 | Mar 2025 | Oracle package that generates the Australia Post 4-State Customer Code, RM4SCC and KIX 21 |
Star counts and activity were read from the GitHub API on 7 November 2026.
Input differs by library. BWIPP and bwip-js take the FCC as the first two digits, then the 8-digit DPID, then any customer information. The custinfoenc=numeric option selects the N table; the default is the C table 13. Zint takes no FCC: it chooses 11, 59 or 62 from the length and character type of the input, and uses FCC 00 if the DPID is all zeros 1718.
No open-source decoder found. ZXing and zxing-cpp do not list any postal 4-state code among their formats 2223. Australia Post's own content checks are done by BQP tools and Customer Barcode Quality Assurance software, which are not public 78.
About the Try-it encoder. The panel renders bwip-js auspost with data 5956439111ABA 9:
- It is FCC 59 (Customer Barcode 2, 52 bars), DPID 56439111 and customer information
ABA 9in the C table: 5 characters, or 15 bars, plus one filler bar to make 16. This is the printing guide's own Figure 4 example and a row of its Reed–Solomon test table, with parity values 52 25 0 61 2. Five characters is the C-table maximum for FCC 59 28. - In the BWIPP input form the FCC comes first 13. The same example appears in Zint's test suite as
56439111ABA 9(no FCC), cross-checked against BWIPP 18. - The bwip-js 4.11.0 copy the wiki uses gives the bar string
1312301220111030010101000001000003322331012100033113. An independent GF(64) implementation of the specification's code produces the same string, and it reproduces 11 of the guide's 12 test rows (local check). The odd row out is FCC 59, DPID 77665544,CAP. The guide gives parity 7 61 53 1 for it, while both the independent implementation and bwip-js give 61 17 51 8 (local check), so that table row looks like a misprint. - bwip-js 4.11.0 rejects input without an FCC ("Must begin with an FCC, either 11, 45, 59, 62, 87 or 92"). It also rejects a sixth customer character as too long, and does not yet accept FCC 00 (local check).
- The DPID is Australia Post's published test data, with no address attached. The PreSort guide says DPIDs are randomly generated 8-digit numbers, so the public documents cannot rule out that 56439111 also belongs to a real delivery point 4.
Comparison
| Australia Post 4-State | RM4SCC | KIX | Mailmark | |
|---|---|---|---|---|
| Data | FCC + 8-digit DPID (+ customer data) | postcode + house number | 11 characters, 0–9 and A–Z | structured supply-chain fields, 22 or 26 characters |
| Error control | Reed–Solomon, GF(64), 4 symbols | check digit | none | Reed–Solomon |
| Lengths | 37, 52 or 67 bars | variable | 11 characters | 66 or 78 bars |
The Australian code differs from the British RM4SCC mainly in what it carries. RM4SCC prints the postcode and house number with a check digit that Zint generates. The Australian code prints an opaque DPID, which only means something with the PAF, protected by Reed–Solomon parity 117. The Dutch KIX has no check digit at all 17. Royal Mail's later Mailmark also uses Reed–Solomon 17.
Within the Australian code, a sender uses FCC 11 unless it wants its own data in the code, in which case it uses 59 or 62 2.
Fun facts
- The same sample appears in Australia Post documents 14 years apart. The specification's sorting-code diagram uses DPID 54516251, and so do the December 2024 fact sheet and the July 2026 PreSort guide, where the example address is "111 Bourke Street, MELBOURNE VIC 3000" 134.
- An invalid bar value must not be guessed: if a communication error leaves a bar value invalid, the printer has to print a blank in its place, and the Reed–Solomon parity then treats it as an erasure 1.
Status
In use. Australia Post's PreSort Letters service guide dated 6 July 2026 still requires current AMAS-certified software, DPIDs current against the PAF, and the 37-, 52- or 67-bar 4-state barcode for barcoded lodgements 4. Its barcoding web pages still describe the AMAS, PAF and DPID process and offer the Reed–Solomon example code for download 91011. The July 2025 bulk-mail guide calls the 4-state barcode "recommended but not required" for addressing on tracked Domestic letter with tracking Imprint mail, which uses a separate 2D barcode for tracking 5. No successor symbology for letters has been announced.
Sources
Deployments
No country reports mention this standard by name.