Skip to content

✨ add Sort Code on v1 invoice and findoc - #507

Merged
ianardee merged 1 commit into
mainfrom
sort-code
Dec 3, 2026
Merged

ianardee merged 1 commit into
mainfrom
sort-code

Conversation

@ianardee

@ianardee ianardee commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Description

Tested using the updated sample files.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Requires a change to the official Guide documentation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new sort_code parsing and string rendering lack regression tests for leading zeros, toString() output, and missing, "N/A", or non-string values.

1 open issue
What changed in this PR

Adds sort-code support to the shared v1 payment-details parser for invoices and financial documents.

Changes:

  • Exposes valid sort_code strings as optional sortCode.
  • Includes sort codes in the field’s string representation.
File Description
src/​v1/​parsing/​standard/​paymentDetails.ts Adds sort-code parsing, property documentation, and string output.

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The sort code support changes have no active review issues.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@ianardee
ianardee merged commit 938debf into main Dec 3, 2026
23 of 26 checks passed
@ianardee
ianardee deleted the sort-code branch December 3, 2026 14:24
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.

2 participants