Bug #667581 - Migrate Invoice / Bill plugin to Builder

Add two new files that were in the original patch also.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21876 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2012-01-22 21:25:51 +00:00
parent e219d2cf89
commit e91e669858
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,10 @@
The Bill Invoice importer is an optional module and needs to enabled by editing the file $HOME/.gnucash/config.user, adding the line:
(gnc:module-load "gnucash/plugins/bi_import" 0)
The example csv file must have the 22 elements for it to work.
To use the example file, create an account "Expenses:Materials General" and a Customer with owner = 000013.
More information can be found at http://svn.gnucash.org/docs/guide/python-import-invoices.html

12
doc/examples/invoice.csv Normal file
View File

@ -0,0 +1,12 @@
MEC-0072,,000013,,,,34-0655 > PROTOBLOC 2 BREADBOARD,ea,Expenses:Materials General,1,4.39,,,,no,,,,,,,
MEC-0072,,000013,,,,18-0105 > PP3 / PP6 BATTERY CLIP 150MM (RC),ea,Expenses:Materials General,10,0.06,,,,no,,,,,,,
MEC-0072,,000013,,,,62-0370 > 1k CR25 0.25W CF Resistor Pk 100,ea,Expenses:Materials General,1,0.50,,,,no,,,,,,,
MEC-0072,,000013,,,,62-0354 > 220R CR25 0.25W CF Resistor Pk 100,ea,Expenses:Materials General,1,0.50,,,,no,,,,,,,
MEC-0072,,000013,,,,34-5548 > PLAIN DOCUMENT WALLET ASSORTED PK 50 RE,ea,Expenses:Materials General,1,6.95,,,,no,,,,,,,
MEC-0072,,000013,,,,62-0386 > 4k7 CR25 0.25W CF Resistor Pk 100,ea,Expenses:Materials General,1,0.50,,,,no,,,,,,,
MEC-0072,,000013,,,,34-0860 > COPPER CLAD SRBP SS 100 X 160 (RC),ea,Expenses:Materials General,5,0.50,,,,no,,,,,,,
MEC-0072,,000013,,,,18-0163 > PP3 BATTERY HOLDER WITH FLYING LEADS RC,ea,Expenses:Materials General,5,0.23,,,,no,,,,,,,
MEC-0072,,000013,,,,73-4290 > ATMEGA8-16PU 8-BIT MICRO 8K DIL-28 (RC),ea,Expenses:Materials General,3,1.99,,,,no,,,,,,,
MEC-0072,,000013,,,,81-0014 > BC108 NPN GP TRANSISTOR RC,ea,Expenses:Materials General,20,0.16,,,,no,,,,,,,
MEC-0072,,000013,,,,DELIVERY,ea,Expenses:Postage,1,4.95,,,,no,,,,,,,
MEC-0072,,000013,,,,VAT,tax,Expenses:VAT,1,4.35,,,,no,,,,,,,
1 MEC-0072 000013 34-0655 > PROTOBLOC 2 BREADBOARD ea Expenses:Materials General 1 4.39 no
2 MEC-0072 000013 18-0105 > PP3 / PP6 BATTERY CLIP 150MM (RC) ea Expenses:Materials General 10 0.06 no
3 MEC-0072 000013 62-0370 > 1k CR25 0.25W CF Resistor Pk 100 ea Expenses:Materials General 1 0.50 no
4 MEC-0072 000013 62-0354 > 220R CR25 0.25W CF Resistor Pk 100 ea Expenses:Materials General 1 0.50 no
5 MEC-0072 000013 34-5548 > PLAIN DOCUMENT WALLET ASSORTED PK 50 RE ea Expenses:Materials General 1 6.95 no
6 MEC-0072 000013 62-0386 > 4k7 CR25 0.25W CF Resistor Pk 100 ea Expenses:Materials General 1 0.50 no
7 MEC-0072 000013 34-0860 > COPPER CLAD SRBP SS 100 X 160 (RC) ea Expenses:Materials General 5 0.50 no
8 MEC-0072 000013 18-0163 > PP3 BATTERY HOLDER WITH FLYING LEADS RC ea Expenses:Materials General 5 0.23 no
9 MEC-0072 000013 73-4290 > ATMEGA8-16PU 8-BIT MICRO 8K DIL-28 (RC) ea Expenses:Materials General 3 1.99 no
10 MEC-0072 000013 81-0014 > BC108 NPN GP TRANSISTOR RC ea Expenses:Materials General 20 0.16 no
11 MEC-0072 000013 DELIVERY ea Expenses:Postage 1 4.95 no
12 MEC-0072 000013 VAT tax Expenses:VAT 1 4.35 no