You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If tx_dict['amount'] = '60', then this is shown as negative in the lunchmoney webui
If tx_dict['amount'] = '-60' then this is shown as psitive in the lunchmoney webui
The text was updated successfully, but these errors were encountered:
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 webuiIf
tx_dict['amount'] = '-60'
then this is shown as psitive in the lunchmoney webuiThe text was updated successfully, but these errors were encountered: