feat(BTI-22): add Credit Management solution#20
Merged
Conversation
Add Credit Management (CreditManagement3) as a solution, reached via
app.solutions.create_solution("creditmanagement", ...). Covers 13 actions
on the /json/DataRequest endpoint: invoice create/combined/credit-note,
debtor add-update/info, debtor-file pause/resume, invoice pause/unpause/info,
product lines, and payment plans.
Wire format verified against the live Buckaroo test gateway (11/13 actions
return 190/790 Success): invoice and currency are top-level request fields;
description is top-level for CreatePaymentPlan; product-line articles pass as
a method argument with Type/TotalAmount/TotalVat; combined invoices ride into
a funding payment via combine().
base_builder: preserve group-type case in the scalar add_parameter branch
(_upper_first) so multi-word group types like ProductLine survive on the wire;
the list branch is deliberately left on .capitalize() to keep existing
builders' requests byte-identical.
Payment plans are spec-complete (all params gateway-accepted) but the happy
path is unverified: the test account lacks an active Credit Management
subscription and requires a past-due invoice.
DjellzeBllaca
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.