there is too much calculation involved to leave this to the frontend.
There should be a specialized endpoint for creation of a status:tentative method:credit type:payment for the current outstanding amount, with effective date today, vat rate as needed etc.
Needed so payment process can be added to the new frontend.
there is too much calculation involved to leave this to the frontend.
There should be a specialized endpoint for creation of a status:tentative method:credit type:payment for the current outstanding amount, with effective date today, vat rate as needed etc.
Needed so payment process can be added to the new frontend.