Registry

CRA TD1 (2026) — programmatic fill compatibility

Personal Tax Credits Return · Canada Revenue Agency (CRA) · TD1 E (26). Tested 2026-11-09 on the unmodified upstream blank — every number below comes from a recorded run, not from documentation.

Verdict at a glance

ToolVersionResultDetail
pdfops APIhosted, tested 2026-11-09verified + deterministic flatten27/27 supported fields landed; flatten=true byte-deterministic (sha256 2c200977f9c5…)
pdf-lib1.17.1fails at loadError: Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.
@cantoo/pdf-lib (fork)2.6.5fails at loadError: Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.
pypdf6.15.0text fields verified (24/24)24 text fields written and re-read (text fields only)
pdftk-java3.3.3verified (27/27)27 fields filled via FDF and re-dumped
qpdf --check11.9.0structurally cleanerrors that qpdf cannot detect
poppler render checkno filled output to renderno filled PDF from the pdf-lib leg to render

File facts

Quirks & limitations

Tested request

This exact shape ran against the live API during the recorded test (values here shortened to two fields; the test filled all 27 supported fields). With flatten=true, two identical runs produced byte-identical output — sha256 2c200977f9c57bdd0e727259ee4d9e40d3ac75a21867802bcefcba58ccd9da09.

curl -X POST https://pdfops.dev/api/fill-form \
  -F "pdf=@cra-td1.pdf" \
  -F 'fields={"form1[0].Page1[0].Subform1[0].Identification[0].Last_name[0]":"Jane Doe","form1[0].Page1[0].Subform1[0].Identification[0].First_name[0]":"Jane Doe"}' \
  -F "flatten=true" \
  -o filled.pdf

Enumerate all 29 field names first with the inspector or POST /api/inspect.

Field schema

All 29 fields (name, type, maxLength, options)
Field nameTypemaxLengthOptions
form1[0].#pageSet[0].Page1[0].ClearData_EN[0]Unsupported
form1[0].#pageSet[0].Page1[1].ClearData_EN[0]Unsupported
form1[0].Page1[0].Subform1[0].Identification[0].Last_name[0]TextField
form1[0].Page1[0].Subform1[0].Identification[0].First_name[0]TextField
form1[0].Page1[0].Subform1[0].Identification[0].DOB[0]TextField
form1[0].Page1[0].Subform1[0].Identification[0].Employee_number[0]TextField
form1[0].Page1[0].Subform1[0].Identification[0].Address[0]TextField
form1[0].Page1[0].Subform1[0].Identification[0].PostalCode_Comb_BordersAll[0].PostalCode[0]TextField6
form1[0].Page1[0].Subform1[0].Identification[0].NR_country_name[0]TextField
form1[0].Page1[0].Subform1[0].Identification[0].SIN_Comb_BordersAll[0].SIN_Comb[0]TextField9
form1[0].Page1[0].Subform1[0].number1_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number2_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number3_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number4_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number5_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number6_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number7_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number8_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number9_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number10_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number11_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number12_subform[0].Amount_fld[0]TextField
form1[0].Page1[0].Subform1[0].number13_subform[0].Amount_fld[0]TextField
form1[0].Page2[0].Subform2[0].MoreThan_chk[0]CheckBox
form1[0].Page2[0].Subform2[0].TotalIncome_chk[0]CheckBox
form1[0].Page2[0].Subform2[0].NonRes_sf[0].RadioButtonGroup[0]RadioGroup2 options
form1[0].Page2[0].Subform2[0].Amount1[0]TextField
form1[0].Page2[0].Subform2[0].Amount2[0]TextField
form1[0].Page2[0].Certification_subform[0].DateYYYYMMDD_BordersAll[0]TextField

Frequently asked

Can I fill the CRA TD1 (2026) programmatically?

Yes — the blank TD1 E (26) CRA TD1 (2026) is a fillable AcroForm with 29 fields. In our tested run, all 27 supported fields were filled through the pdfops API and verified by re-inspecting the output; upstream pdf-lib cannot open it, and pypdf handled its text fields. Field names are listed in the schema on this page.

Why do PDF libraries reject the CRA TD1 (2026)?

The blank is AES-encrypted with an empty user password: anyone can open it in a viewer, but the owner password restricts modification, and strict parsers refuse the file outright. The pdfops API opens owner-locked files like this directly, and a password form field covers files that need a user password. qpdf --decrypt removes the restriction losslessly; pypdf can open it directly when its optional cryptography dependency is installed; pdftk-java both reads and fills it natively (its output is decrypted).