rockstardev / BTCPayServerPlugins.RockstarDev

MIT License
4 stars 3 forks source link

Integration with Invoice Ninja Expenses #42

Open jacobburrell opened 3 months ago

jacobburrell commented 3 months ago

An integration with Invoice Ninja, perhaps their Expenses might provide lots of functionality and allow an easy way to manage vendors who require payment by fiat and those who accept bitcoin.

TChukwuleta commented 3 months ago

Hey @jacobburrell

Going by my understanding of this request, a business via BTCPay Server payroll plugin is able to pull all expenses in the plugin section, and then select the intended expenses for payment especially the ones with Payment Type of Cryptocurrency.

The customer/business can then complete payment via BTCPay to the selected expenses.

Just a bit of concern, According to Invoice Ninja: https://api-docs.invoicing.co/#put-/api/v1/expenses/-id-

There is no property to update in marking a particular expense as paid, even if it gets settled on BTCPay Server.

Also, I think either the private or public note needs to include the BTC address for which the payment is to be made to.

Cc. @rockstardev