GnuCash
Contact   Instructions
Bug 797022 - Import Bills & Invoices: expense/income account is not validated - leads to one-sided posting if account is invalid
Summary: Import Bills & Invoices: expense/income account is not validated - leads to o...
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Import - CSV (show other bugs)
Version: git-maint
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Rob Laan
QA Contact: import
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-07 06:54 EST by Rob Laan
Modified: 2020-01-30 15:55 EST (History)
2 users (show)

See Also:


Attachments
Import file to illustrate the bug (153 bytes, text/plain)
2019-01-07 06:59 EST, Rob Laan
no flags Details

Description Rob Laan 2019-01-07 06:54:05 EST
In the function Import Bills & Invoices, if the income or expense account in the import file is not a valid account, the invoice is posted anyway, posting a one-sided entry (only on the customer/vendor), causing a balance on the Imbalance-XXX account.
Comment 1 Rob Laan 2019-01-07 06:59:46 EST
Created attachment 373108 [details]
Import file to illustrate the bug

Using a book with common and business accounts, dd/mm/yyyy date format, vendor 2001.
Expense account is Expenses:Does not exist. Import will post the invoice, with a one-sided entry on the vendor account.
Comment 2 Rob Laan 2020-01-30 15:55:57 EST
Pull request #457 merged into maint, https://github.com/Gnucash/gnucash/pull/457.

Note You need to log in before you can comment on or make changes to this bug.