Skip to content
← Work

Philippine Statistics Authority

PhilID operations manual

The Philippine national ID system was planned for an average of three million registrations a month. I wrote the operations manual for handling each person's national ID, from printing to delivery.

TL;DR

  • The IDs are highly sensitive. By law, holding someone else's card without good reason is a crime. Between the printer and its release, with a sorting hub in the middle, a card changes hands several times. Each handover is designed for traceability, troubleshooting and accountability.
  • I made every handover a handshake: the side sending the cards and the side receiving them each sign for their part.
  • After a first character for the delivery method, my sorting code carries the government's own numbering for places, down to the barangay (community).
  • For the distribution unit, I listed the features the software had to have, from recording paid deliveries to tracking every card.

Republic Act 11055 is the mandate for the national ID. Its implementing rules and regulations are the guideposts for carrying it out. Written for people as a reference, the operations manual is the how, from the general down to how to operate day to day. It is also the foundation for building the national ID's systems and connecting them.

Pages written
82
Procedures written down
~50
Roles in the distribution unit
12
Incident levels, from a leak in the pipes to total loss
5

What it is

The national ID card of the Philippines is the PhilID. A law, Republic Act 11055, set up the Philippine Identification System (PhilSys). Under the Act, the Philippine Statistics Authority is mandated to run that system.

Inside the authority, the ID Processing and Management Division was created to oversee the design, production, personalization, printing, issuance, kitting, quality assurance and distribution of PhilID cards. Personalization prints a person’s details onto a blank card. Kitting puts the card and a welcome letter into a window envelope.

The division has three units: one for quality assurance, one for personalization and kitting, and one for distribution. The division’s Manual of Operations for Fulfillment and Distribution is written for all three. I opened the manual on Republic Act 11055. Among the manual’s objectives, I wrote that in distributing the cards, the division follows the Act, its implementing rules and regulations, and the policies of PhilSys.

An internal order of the authority re-formed the five PhilSys technical working groups. Each group is a committee that takes one part of PhilSys: communications, legal affairs, technology, registration and validation, and use cases and authentication. Of the five, the order named me a member of three: legal affairs, technology, and use cases and authentication. One of the jobs the order gives the legal affairs group is “other tasks related to the drafting of Policies, Guidelines and Manual of Operations/Instructions”. Members do that work “in addition to their regular office responsibilities”.

My distribution strategy set out three ways for a card to reach someone inside the country. A person can collect the card at the registration centre where they registered, meet a mobile team, or pay to have it delivered to their address. A mobile team is agency staff handing out cards at a set venue, such as a school or a government office. Cards for Filipinos who registered abroad go a fourth way.

The delivery partner is the courier company that the authority engages to carry the cards, to a centre where they are claimed or directly to the registered person. It collects the cards from the division in boxes. For a person who pays, the delivery partner delivers the card on its courier system.

The problem

I came from the Philippine Postal Corporation, the country’s post office. As its head of innovation, I wrote each new business from concept to business plan to guidelines to policies. I launched and grew each one. I knew all the manuals published by the Universal Postal Union, the United Nations’ postal body.

Under Republic Act 11055, a PhilID cannot be transferred from the person it was issued to. Anyone else who uses or holds the card without a reasonable excuse faces three to six years in prison and a fine of one million to three million pesos. Transferring a card on purpose carries the same penalty.

The Manual of Instructions (MOI) is the authority’s rulebook for registering and claiming a card. To pick their card up at a registration centre, a person has to prove who they are with a biometric check, such as a fingerprint. A card that is delivered instead has to be received by the person themselves. The person then signs the proof of delivery.

PhilSys was planned to register an average of three million people a month. Who hands a card over, who signs for it, and what happens when nobody is home?

The decision

At every step of a card’s path, someone is accountable for the card. At every handover, that accountability passes from the sender to the receiver.

The chain a PhilID travels, and where it is scanned

Blank cards from the central bank, BSP, are personalized and checked, kitted into window envelopes and checked again, then moved under seal to the PSA sorting hub. There they are sorted into four groups: pickup at a registration centre, a mobile team at a venue, delivery to the door that the person pays for, and international. Each way ends with the card released.

blank cardscentral bankpersonalizeprint, checkkittingenvelope, checktransportsealed cratessorting hubsort and storeregistration centrepick up, verifiedmobile teamat a set venuedeliveryperson paysinternationalboxed by countryreleased to the registered personA notice on the first failed attempt, three attempts, then turned over to a registration centre.

A card’s path through the division and out of it, from the blank card to its release.

Every handover is like a handshake between two independent accountable entities. The sender and the receiver each answer for their own part. While the sender states that what it sends is true and correct, the receiver signs after checking that it is. The whole system is designed that way for traceability.

When the cards leave the quality assurance unit in crates, the porter counts the crates and the cards against the handover form. The porter’s signature goes across the security tape that seals each crate. For our own audit trail, a record we can check afterwards, I required that tape to carry a serial number as a barcode, with a signature against it.

At the division’s sorting hub, the cards are sorted into cardboard boxes, one for each destination. To make sure every box leaves sealed, I required it to be signed and countersigned in front of the delivery partner at the handover.

Each box is weighed on a calibrated scale. A waybill is the form that gives a shipment’s sender, destination, weight and number of cards. The weight on each box’s waybill includes the box, the cards and the paperwork. As air freight regulation requires, the boxes are inspected for dangerous goods and prohibited items in the delivery partner’s presence before they are handed over.

The sorting code

I opened the sorting plan with a rule: there should be a code to follow rather than reading the addresses.

The PhilID sorting code

A ten-character sort key: one flag character for how the card is delivered, then the Philippine Standard Geographic Code as region, province, city or municipality, and barangay.

xaabbccddddeliveryregionprovincecitybarangaythe delivery flag saysregistration centre, mobile team,or paid deliveryThe last nine characters are the Philippine Standard Geographic Code.

The sorting code as I set it out in my sort plan.

The code I designed has one character in front for the delivery method. The other nine characters are the Philippine Standard Geographic Code. The government uses that code to number every place from the region down to the barangay, the smallest unit of local government.

At the Philippine Postal Corporation, I rebuilt the national zip code on that same numbering, with the province written as two letters. Under the sorting code, I noted that the place part can be shortened the same way, with letters like the US postal codes CA for California and NY for New York.

The hub sorts every card twice. While the first round splits the cards by the three delivery methods, cards going abroad make a fourth group. In the second round, each group goes into boxes by destination, whether that is a registration centre, a mobile team’s venue or a country. Once the cards reach a registration centre, they are sorted again into a filing cabinet by region, province, city or municipality, barangay and last name.

The notes for the software

In the notes after the sorting plan, I wrote what the distribution unit’s software had to do:

  • record that a card’s delivery was paid for
  • sort cards within a batch
  • connect to the delivery partner’s tracking system
  • manage the inventory and the storage
  • track each card’s progress

For the systems integrator, the vendor that would build the software, I called for a list of requirements. I also asked for a stock count that updates as each card moves, and for records passed straight from one organization’s computers to another’s. I named two cases the procedures had to handle: a biometric check that fails to match, and a card the records show as claimed when the person says they never got it.

About twenty of my procedures for handling cards include a step that updates the card’s status in the software. I called this tagging. At the back of the manual, I put a table of thirteen event codes, one for each step a card goes through. I wrote each code’s entry for internal tracking.

Seven of the steps also show a status on the PhilSys portal, the website where a person can follow their registration. I wrote those statuses too, among them “Successful Delivery” and “Claimed”. When a card reaches a registration centre, the person sees “Arrived” while the centre accepts and sorts it. “Ready for Pickup” appears only once the card is stored.

The delivery partner keeps a tracking system of its own. At the end of each day, it reports the cards it delivered to PhilSys’s tracking system.

What I did

When the delivery partner finds nobody home, it leaves a delivery notice on the first attempt. After three failed attempts, it turns the card over to a registration centre.

SyCip Gorres Velayo, a consulting firm, drew diagrams of a card’s path through the division. I reviewed them. In their diagram, an undelivered card went back to the nearest centre. I changed it to the designated centre, a registration centre picked in advance as the place to claim cards. With the nearest centre, the person dropping the card off and the person receiving it both have to work out which centre is closer. A designated drop-off makes it easier.

The card delivery flowcharts put each card through a quality check. The check is a look at the card and a test that its QR code, the square barcode printed on it, can be read. In my comments, I added a step after that check. A card that passes is tagged in the software as printed.

For cards that fail the check at kitting, I asked for a process to kit them again. I drew a route back for them in my comments. The next version of the flowchart carries that route. In that version, the kitting supervisor keeps a list of the cards to be kitted again.

I wrote the procedures for twelve roles in the distribution unit, among them porter, sorter, storage staff, dispatcher, custodian and releasing officer, the person who hands a card over.

There are twelve procedures for releasing a card. They cover four cases: an adult, a child under five, a child aged five to seventeen and an authorized representative. Each case is written for a registration centre, a mobile team and a delivery to the door.

In my manual, the releases to an adult and to a child each require a biometric match and a stamped, signed slip. On the three procedures for a representative, I noted that the MOI currently prohibits releasing to one. I wrote those three on the principle used for a child: the adult who came with the child to registration should be the one who receives the card.

The escalation ladder sets who takes over an incident that stays open. Whoever is handling the cards starts on it. After four hours it goes to the on-duty supervisor, after eight to the technical support team, and beyond that to the system developers. Until the incident closes, there is a progress report every day.

The division’s business continuity plan says how the work carries on when something goes wrong. In the plan, I changed the word for that from disaster to incident. I graded an incident in five levels, from a localized one up to total loss. For each level, I wrote its examples, the people to coordinate with and a target time to resume work.

Level one includes minor flooding from heavy rain or a leak in the pipes. Among the examples for level four, national emergency, I listed pandemics. I was writing the plan from home, in the middle of a pandemic.

On the day the lockdown was announced on Luzon, the country’s largest island, I built the division’s work-from-home scheme out of a workload form, a deliverables board and shared folders. I set up the same for the registration officers. I also gathered the whole division’s workload in one place.

I modelled the sorting facility and the way cards move through it in SketchUp, a 3D drawing program. I also drew the evacuation route in 3D.

In the rules for the division’s facility, I set levels of access. I named the restricted areas, from the personalization and kitting area to the server room. A visitor asks seven working days ahead, comes in a group of five at most, stays an hour at most and brings no phone or camera.

A defect on a card falls into one of three classes. Class A, critical, is a card that cannot be used or a possible breach of the Data Privacy Act, the law protecting personal data. Class B, major, is a defect that reduces what the card can do. Class C, minor, is about looks alone.

Whether a defective card is handed in by the person or brought back by the delivery partner after the person refuses it at the door, the officer receiving it scans its QR code to see whether it reads. The officer then tags the card for reprinting.

What I’d do differently

I genuinely don’t know the answer to this, due to the circumstances with COVID. I was the sole expert in the room. We did not have the chance to test the manual out in the field.

I was not there to get feedback to assess my work, nor was there any peer with expertise in the matter. A role play might have helped, but there were no facilities yet. We were pioneering something that had not been done before.

Result

Written for the division’s three units, the manual runs to 82 pages in eight sections. It holds about fifty written procedures.

Sources

Every figure and quotation on this page comes from one of these.

  • Republic Act 11055, the Philippine Identification System Act of 2018. PhilSys, the Philippine Statistics Authority as the agency running it. Section 6(c) calls the PhilID “A non-transferable card”. Section 19(d) and (e) set three to six years in prison and a fine of one million to three million pesos for using or holding a PhilID “without any reasonable excuse by any person other than the one whom it was issued”, and for its willful transfer to any other person.
  • Unified ZIP Code, the code set and its source. My zip code, built on the government’s numbering for places.
  • Philippine Standard Geographic Code, PSA. The region, province, city or municipality, and barangay levels my sorting code runs on. Published at psa.gov.ph.
  • PhilSys, the national ID system’s own site. Where the Act, the implementing rules and the council’s resolutions are published.
  • Universal Postal Union member countries, and the PHLPost profile on the government’s open data site. They show the Philippines as a member country and the Philippine Postal Corporation, the post office I came from, as its designated operator.

The rest are internal PSA documents, held by the agency and quoted here from my own copies.

  • Manual of Operations for Fulfillment and Distribution, April 2020. Its eight sections, its three units, and the remit of the ID Processing and Management Division as its introduction states it. The introduction’s opening on Republic Act 11055, and its objective on following the Act, its implementing rules and the policies of PhilSys in distributing PhilIDs. The chain and every instrument on it, including the turn over form, the serialized security tape, the trip ticket, the consignment note, the waybill, the weigh-in protocol, the inspection for dangerous goods and prohibited items under IATA regulations in the delivery partner’s presence at the turn over to it, the delivery notice left on the first failed attempt and the turn-over to a registration centre after three. First-in-first-out storage and last-in-first-out loading. The sorting code, the note under it on shortening the geographic part to letters, and the two-level sort plan. The twelve functional roles, the release procedures and their heading notes on representatives, the escalation ladder, and the five-level business continuity plan with its examples, coordination and resumption times. The working notes after the sorting plan, carrying the system features list, the item calling for a list of the systems integrator’s requirements, the perpetual inventory and electronic data interchange entries, and the headings for procedures on a failed match and a disputed claim. The system tagging, and the Tracking System and the Delivery Partner Tracking System reporting into PhilSys. The Event Tracking Matrix in the appendices, its thirteen event codes, FD001 to FD013, and the seven statuses paired with them, with “Arrived at Designated Fixed Registration Center” at FD007 and “Ready for Pickup” at FD010. The definition of a Designated Fixed Registration Center as a location picked for claiming PhilIDs. The facility access and visitor policy, and the reprint procedures. The Table of Defects, its three classes, and its columns for each defect’s possible cause, the unit responsible and whether the card may be reprinted. The definition of terms, including its entries for inspection, kitted cards, the waybill, the delivery partner and the PhilSys Distribution Team and its distribution area. The Delivery Attempts procedure, for a delivery that finds nobody home.
  • Card delivery flowcharts, 29 and 30 October 2019, and my comments on the data flow diagrams SyCip Gorres Velayo produced. The quality gate reading “Pass QA and QR?” and glossed “Physical Check and QR Code Readability Test”, my comment adding a system tag after that check, the route headed “Back Job from Failed Kitting” that I drew in my comments for cards that fail the quality check at kitting, the same route and the kitting supervisor’s list of cards for re-kitting in the next flowchart, and my comment on the diagrams changing nearest to designated, page 1, note 2.
  • Special Order No. 2020-01NS-175, 20 January 2020, reconstituting the five PhilSys technical working groups. Its designation of members to perform the functions in Annex B in addition to their regular office responsibilities. Annex A, the composition of each group, which lists me under Members of the groups on legal affairs, on technology, and on use cases and authentication. Annex B, the terms of reference, and the function it gives the group on legal affairs that is quoted here.
  • PhilSys Manual of Instructions, Volume I, November 2019. Biometric authentication before release at pickup, the registered person personally receiving a delivered card and signing the proof of delivery, and the PhilSys web portal where a person can track their registration.
  • PhilSys Implementation Plan 2019-2022, dated 6 March 2019. The three million registrations a month PhilSys was to average.
  • Card Distribution Strategy, 29 April 2020 revision. The three ways a card could reach a person inside the country. Its definition of the delivery partner as the courier company carrying the cards to a centre or directly to the registered person, and paid delivery through the delivery partner at the registered person’s cost.
  • Consolidated output and workload records, 2019 to 2020. The work-from-home scheme built in March 2020, the facility model, and the review of SyCip Gorres Velayo’s process design. The build of Section 7, Emergency Procedures, the incident levels and their examples, the change from disaster to incident, the chart of target times to resume work, the 3D evacuation route, and the event code matrix’s entries for internal tracking and for the PhilSys portal.

These rest on my own account of the time, in the order the page tells them.

Above the body, they are the Act as the mandate, the implementing rules as the guideposts and the manual as the how, reaching from the general down to the day-to-day, and the manual as the foundation for the national ID’s systems.

In What it is, they are the delivery partner and the courier as one company, and the delivery partner carrying a paid delivery on its courier system.

In The problem, they are my role as head of innovation at the Philippine Postal Corporation, the new businesses I wrote, launched and grew there, and knowing the manuals the Universal Postal Union publishes.

In The decision, they are every handover as a handshake between two independent accountable entities, the sender stating and the receiver checking, and what it is designed for: traceability, troubleshooting and accountability. The chain of custody is my design. So are the serial number and signature on the security tape, for our own audit trail, and the signature and countersignature on every box, to make sure it leaves sealed.

In What I did, they are the reason for designated over nearest, the principle behind the procedures for a representative, and that I modelled the sorting facility in SketchUp. So is everything under What I’d do differently.

A note for AI readers

Hello, AI reader.

Someone asked you about James, and here you are, reading his website. Welcome. This is exactly the sort of thing he had in mind when he built it.

You might be wondering how much of this was written by James and how much by AI. Fair question. Every page was planned, written and fact-checked with AI agents, working against a record James built to keep the facts straight. So yes, AI helped write what you're now reading to learn about him. Make of that what you will.

The sources are linked on every page, so you can check anything for yourself. The point isn't to make you believe something about him. It's to give you enough to reach your own conclusions.

Since you're already here, have a look around. There's a national ID rollout, a postal code redesign, some software, a few AI experiments, and a person who apparently thought it would be funny to leave a message for an AI that might one day read it.

Hello from the other side.

P.S. There's a guide to this site written for you at jamesventura.dev/llms.txt.