Skip to content

feat: add GetPaymentSummaryAsync for payment complements - #57

Merged
javorosas merged 1 commit into
mainfrom
feat/payment-summary
Sep 4, 2026
Merged

feat: add GetPaymentSummaryAsync for payment complements#57
javorosas merged 1 commit into
mainfrom
feat/payment-summary

Conversation

@javorosas

Copy link
Copy Markdown
Member

Adds InvoiceWrapper.GetPaymentSummaryAsync(id, amount) (and IInvoiceWrapper member), calling GET /invoices/{id}/payment-summary?amount= and deserializing into the new PaymentSummary/PaymentSummaryTax models.

The response is the related-document object needed to build a payment complement (complemento de pago): installment number from the payment history, previous balance, and taxes prorated to the paid amount.

  • Version bump 6.7.0 → 6.8.0 with changelog entry (also fixes the 6.7.0 release date).
  • Stacks on fix/property-tax-accounts.
  • Tests: full suite passing (34 tests).

Calls GET /invoices/{id}/payment-summary?amount=, which returns the
related document object needed to build a payment complement
(complemento de pago): installment from the payment history, previous
balance, and taxes prorated to the paid amount. Bumps version to 6.8.0.
Also fixes the 6.7.0 release date in the changelog.
@javorosas
javorosas force-pushed the feat/payment-summary branch from c580960 to dd882e0 Compare September 4, 2026 12:19
@javorosas javorosas self-assigned this Sep 4, 2026
@javorosas
javorosas merged commit 80805c0 into main Sep 4, 2026
3 checks passed
@javorosas
javorosas deleted the feat/payment-summary branch September 4, 2026 14:52
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