Improve handling of `refunded` invoice in invoices, invoice details and invoice export.
See original GitHub issueCurrently, if an invoice is refunded
:
- It’s not visible in
invoice export
asrefunded
it’ssettled
the amount is in +, which can lead to accounting problems. - In
invoices view
you cannot distinguish refunded invoices, they saysettled
so it’s hard for a merchant to pick a particular invoice that may need to be refunded or view a refunded one as they’re allsettled
- In the
invoice details
there’s no field indicating an invoice is refunded in any way - In invoice details there’s no indicator of the refunded amount , and you can even click
issue a refund
on an invoice already refunded.
This is an example of an invoice detail of an already refunded invoice.
This invoices view shows 3 invoices as settled, all of them refunded
And most problematic of all, this is an invoice export containing reporting for refunded invoices
This issue can potentially be broken down into several issues, but for now we’ll use it as a tracker
- Add refunded invoices in invoice export and show refunded amount
- Add refunded
label
in invoices page view to distinguish easier refunded from settled. - Add indicator that invoice is refunded in invoice details and don’t show
issue a refund
button, instead showpreview a refund
Luckily we log in refunded in database, but we don’t show it in the UI, show a fix for all of these shouldn’t be that hard as @Kukks pointed out.
I had an idea of introducing refunded
and refunded-partial
status, but Kukks was against it.
Thanks to Bas for pointing majority of these problems, I’m just logging an issue.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Invoices Exports
This is the invoice origin. The original invoice will have a type of 'purchase'. Any refunds or voids will create a negative invoice...
Read more >Recurly's Credit Invoices Helps Billing & Accounting
The Credit Invoices feature provides new, automated workflows which improve the subscriber experience.
Read more >Refund Invoice Payment Data Source
Use this data source to export information from Refund Invoice Payment and associated Invoices, Payments, and Accounts.
Read more >Managing the invoice list - Brightly's Online Help
You can search and filter your invoice list to show a specific invoice, edit, share, pay, and archive invoices, and export invoices based...
Read more >Issue Refunds for Member Payments
Refund Invoice Payments (web). Click the Invoicing tab. Click the batch title where the payment to be refunded is located or hover over...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Update from dev call 7/19: We will go with option 2 – listing all payments and pull payments
@pavlenex, sorry for being MIA! i won’t be able to finish this or any others at this time. update is partway done but there are still some clarifications needed on which are the correct fields to use. i can either create a PR or push my changes to a remote branch for the next person to review.