Skip to content

Colin Reports Migration - Add Conversion Ledger AR Filing Reports #33034

Closed
17 of 19 issues completed
Closed

Description

@doug-lovett

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

Sub-issues

Sub-issues

17 of 19 Issues completed
Loading 19 sub-issues

Activity

  1. self-assigned this
    on Apr 1, 2026
  2. added theissue type on Apr 2, 2026
  3. changed the issue type fromtoon Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions