Skip to content

Conversation

@PetrDlouhy
Copy link
Collaborator

Allow to correctly cancel invoices - in accounting the invoices should not be cancelled, but a Credit note invoice should be created. This PR adds that type of invoice and a function that would make this new invoice to cancel one.

@Alir3z4 It is possible, that the "Invoice duplicate" was meant for this? I am a bit confused about that type and what it means.

I think i also should create Credit note by calling cancel_invoice() in return_order(). But maybe it would not be correct think to do for all users?

@PetrDlouhy PetrDlouhy force-pushed the pr/invoice_credit_note branch 4 times, most recently from 981a42c to 70ca04f Compare September 2, 2025 14:20
@PetrDlouhy PetrDlouhy force-pushed the pr/invoice_credit_note branch from 70ca04f to 279ee2b Compare September 2, 2025 14:25
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.

1 participant