Skip to main content

reverse-payment

This skill should be used when the task asks to "reverse a payment", "reverser betalingen", "reverser ein betaling", "annuler un paiement", "estornar o pagamento", "Zahlung stornieren", "reverse the payment", or involves reversing/cancelling a payment that was returned by the bank so that the invoice shows outstanding again.

Source facts

Repository
JardarIversen/ainm-2026
Last source activity
March 21, 2026 at 11:30
Detected SKILL.md language
English
Stars
18
Forks
14

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
reverse_payment
tier
2
task
T18
description
This skill should be used when the task asks to "reverse a payment", "reverser betalingen", "reverser ein betaling", "annuler un paiement", "estornar o pagamento", "Zahlung stornieren", "reverse the payment", or involves reversing/cancelling a payment that was returned by the bank so that the invoice shows outstanding again.
# Reverse a Returned Payment Exactly 2 API calls. The payment voucher already exists — find it and reverse it. ## Call 1: Find Payment Voucher On a fresh sandbox there are very few vouchers. The payment voucher's description always starts with "Betaling:". Find it directly — no need to search for customer or invoice first. ``` GET /ledger/voucher?dateFrom=2020-01-01&dateTo=2030-12-31&fields=id,description,date&count=50 ``` Find the voucher whose description starts with "Betaling:". That's the payment to reverse. ## Call 2: Reverse It ``` PUT /ledger/voucher/<voucher_id>/:reverse?date=2026-03-20 ``` **Total: 2 calls, 0 errors.** ## Gotchas - `date` query parameter is required on `:reverse` - Payment voucher descriptions start with "Betaling:" — match on this - No need to GET customer or invoice — the voucher is self-contained - If multiple payment vouchers exist, match by customer name or invoice number in the description
View on GitHub