Closed Chrismarsh closed 2 months ago
Hey @Chrismarsh, lunchable
simply sends the data to the Lunch Money developer API - I think you're describing the default behavior of the API treatment of negative/positive values as credits/expenses?
You should check out the debit_as_negative
parameter of the insert_transactions
method if you want to change the behavior.
If true, will assume negative amount values denote expenses and positive amount values denote credits. Defaults to false.
I'm closing this issue for now - if you think this is an actual product with lunchable
's implementation of the LunchMoney developer API please feel free to follow up and re-open this issue.
Description
Negative amount values in a transaction are converted to positive values in the lunchmoney webui
What I Did
If
tx_dict['amount'] = '60'
, then this is shown as negative in the lunchmoney webui Iftx_dict['amount'] = '-60'
then this is shown as psitive in the lunchmoney webui