yagna
yagna copied to clipboard
Update Provider Payments
Currently, when Provider sends final Invoice it requests for funds, which are sum of all debits notes regardless of their status. This means that Invoice contains funds requested with not-accepted debits notes. It results in some situations where Invoice will never be paid by the Requestor as He has no budget to pay the whole Invoice. Alternatively Requestor could pay all accepted debits notes. From the Provider perspective it is better to get 90-99% of compensation, rather than 0%
Acceptance Criteria:
- Invoice sent by Provider should contain only debits notes which were accepted by the Requestor
Additional Information:
- Discord post showing negative results of current approach: https://discord.com/channels/684703559954333727/1136984764197380096/1173240603652399206
around 5MD of work
To be re-visited as there is better idea to do that.