-
Notifications
You must be signed in to change notification settings - Fork 10
Sales Tax causes a negative? #16
Comments
Also, it appears that lines with discounts don't work properly. The original invoice is paid, but in invoiceninja it imported only as sent. |
@tkintenn when i first wrote this tool, Invoice Ninja didn't support line discounts hence when you may be seeing an issue with this, i'll try an get around to putting in a fix for this |
What's odd is i deleted the information in the line, re-typed it and had the same result. I'm guessing there is something i'm not seeing happening on the backend. That would be awesome if you got a fix for it. Any idea why the sales tax caused negative amounts? |
update, the discounts look correct in the DB invoice_items table... they're populated correctly in the discount column. |
The sales tax issue may be due to the tax being inclusive vs exclusive of the line total... If you can send a sample data file to [email protected] , i'll try and see if i can fix this. |
So the sales tax... it's because the line item sales tax didn't make it into the DB. It's been so long since i've looked at the invoiceplane DB not sure if it's even stored on each line item. However in invoiceninja db i looked at the lines for an invoice showing a negative. The balance is correct for the invoice but the line items all have nothing for tax_name1 and tax_rate1. |
@tkintenn if it isn't pulling in the taxes there must be something in the db structure that I haven't taken into account... as mentioned above, if you can provide a sample set of your db dump, i can load it locally and figure out exactly where the issue is. |
@turbo124 |
Several invoices show a negative balance. These were paid invoices from Invoiceplane with sales tax items. The negative amounts are exactly the sales tax.
I can reimport again, is there a way to fix this though?
The text was updated successfully, but these errors were encountered: