Repository navigation
Description
For background see the comments in https://app.zenhub.com/workspaces/entities-team-65af15f59e89f5043c2911f7/issues/gh/bcgov/entity/33019.
Update the colin reports migration job to:
- Include conversion ledger AR filing reports when migrating outputs for the first time.
- Update businesses with previously migrated outputs to conditionally add the missing conversion ledger AR filing reports. Approximately 5500 businesses.
Testing Notes:
In DEV and TEST you can use the same business identifiers BC0629104 and BC0629105.
DEV examples:
Add CONVL AR filing documents to already migrated business:
GET https://test.api.connect.gov.bc.ca/doc-dev/api/v1/application-reports/history/BUSINESS/BC0629104?includeDocuments=true
Response includes:
{
"dateCreated": "2026-04-02T21:58:05+00:00",
"datePublished": "2002-09-26T07:00:00+00:00",
"entityIdentifier": "BC0629104",
"eventIdentifier": 5456672,
"identifier": "DSR0000102170",
"name": "BC0629104-CONVL-FILING.pdf",
"productCode": "BUSINESS",
"reportType": "FILING",
"url": ""
},
{
"dateCreated": "2026-04-02T21:58:03+00:00",
"datePublished": "2003-06-27T07:00:00+00:00",
"entityIdentifier": "BC0629104",
"eventIdentifier": 5456671,
"identifier": "DSR0000102169",
"name": "BC0629104-CONVL-FILING.pdf",
"productCode": "BUSINESS",
"reportType": "FILING",
"url": ""
}
CONVL AR filing documents now included when migratiing:
GET https://test.api.connect.gov.bc.ca/doc-dev/api/v1/application-reports/history/BUSINESS/BC0629105?includeDocuments=true
Response includes:
{
"dateCreated": "2026-04-02T22:12:47+00:00",
"datePublished": "2003-01-31T08:00:00+00:00",
"entityIdentifier": "BC0629105",
"eventIdentifier": 5456678,
"identifier": "DSR0000102227",
"name": "BC0629105-CONVL-FILING.pdf",
"productCode": "BUSINESS",
"reportType": "FILING",
"url": ""
},
{
"dateCreated": "2026-04-02T22:12:45+00:00",
"datePublished": "2004-02-03T08:00:00+00:00",
"entityIdentifier": "BC0629105",
"eventIdentifier": 5456677,
"identifier": "DSR0000102226",
"name": "BC0629105-CONVL-FILING.pdf",
"productCode": "BUSINESS",
"reportType": "FILING",
"url": ""
}
Note: the colin filing type and the report type are in the migration document name, which is formatted as:
{corp_num}-{filing_type}-{report-type}.pdf
Activity
chdivyareddy commentedon Apr 9, 2026
Verified in DEV!
GET https://test.api.connect.gov.bc.ca/doc-dev/api/v1/application-reports/history/BUSINESS/BC0629104?includeDocuments=true

GET https://test.api.connect.gov.bc.ca/doc-dev/api/v1/application-reports/history/BUSINESS/BC0629105?includeDocuments=true
