Skip to content

Conversation

@kialj876
Copy link
Collaborator

Issue #: /bcgov/entity#31316

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

Signed-off-by: Kial Jinnah <kialj876@gmail.com>
"consumerDocumentId": document_id,
"consumerIdentifier": business.identifier,
"consumerFilingType": filing.filing_type,
"consumerReferenceId": str(filing.id),
Copy link
Collaborator

@doug-lovett doug-lovett Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: if using the filings.id instead of the filings.transaction_id it should match what is submitted with the coming DRS integration to save filing reports so that the document is associated with the right filing in the ledger (when a filing has a document and reports).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified we use the filing.id when saving filing reports (this is behind a FF but when flipped it will end up using this to create the DRS record): https://github.com/bcgov/lear/blob/main/legal-api/src/legal_api/reports/report.py#L134

@vysakh-menon-aot
Copy link
Collaborator

Can you update requires-python to make the CI work #4020 (review)

Copy link
Collaborator

@doug-lovett doug-lovett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, and I know it works. Just the one comment on using filings.id or filings.transaction_id to identify the filing.

Signed-off-by: Kial Jinnah <kialj876@gmail.com>
Signed-off-by: Kial Jinnah <kialj876@gmail.com>
Signed-off-by: Kial Jinnah <kialj876@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants