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
Copy file name to clipboardExpand all lines: README.md
+43-15Lines changed: 43 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,15 @@ Invoice2Erpnext is an advanced tool that automatically processes invoices from v
10
10
11
11
Before using Invoice2Erpnext, ensure:
12
12
13
-
1. You've installed the Invoice2Erpnext app in your ERPNext instance
13
+
1. You've installed the Invoice2Erpnext app in your ERPNext instance. Currently compatible with **ERPNext version 15**.
14
14
2. Your administrator has configured the "Invoice2Erpnext Settings" with:
15
15
- API credentials (api_key and api_secret) obtained from [https://kainotomo.com/api_keys](https://kainotomo.com/api_keys)
16
-
- Default VAT account
17
-
- Make sure you have credits obtained from [https://kainotomo.com/invoice2erpnext/shop](https://kainotomo.com/invoice2erpnext/shop)
16
+
- Default VAT account for tax calculations
17
+
- Default Supplier Group for new suppliers
18
+
- Default Item Group for extracted items
19
+
- One Item Invoice option (if you prefer all line items to be consolidated)
20
+
- Default Item (required when One Item Invoice is enabled)
21
+
3. Make sure you have sufficient credits for processing invoices, available from [https://kainotomo.com/invoice2erpnext/shop](https://kainotomo.com/invoice2erpnext/shop)
18
22
19
23
### Installation
20
24
@@ -49,10 +53,14 @@ To configure Invoice2Erpnext:
49
53
3. Configure the following required settings:
50
54
-**API Credentials**: Enter your api_key and api_secret obtained from [https://kainotomo.com/api_keys](https://kainotomo.com/api_keys)
51
55
-**Default VAT Account**: Select the account to be used for tax calculations
56
+
-**Supplier Group**: Choose the group where new suppliers will be categorized
57
+
-**Item Group**: Select the default group for new items created from invoices
58
+
-**One Item Invoice**: Enable this option if you want all invoice items to be consolidated into a single line item
59
+
-**Item**: If One Item Invoice is enabled, select the default item to use for all invoices
52
60
53
61
4. Save the settings
54
62
55
-
These configurations are essential for the app to function properly. Without valid API credentials, the system won't be able to process invoices.
63
+
These configurations are essential for the app to function properly. Without valid API credentials and proper account settings, the system won't be able to process invoices correctly.
56
64
57
65
## How to Use
58
66
@@ -61,8 +69,10 @@ These configurations are essential for the app to function properly. Without val
61
69
To process invoices with Invoice2Erpnext:
62
70
63
71
1. Navigate to the **Purchase Invoice** list view
64
-

65
-
2. Click the "Upload" button in the list view
72
+

73
+
2. Click the dropdown menu and select one of the following upload options:
74
+
-**Upload (Auto)**: Fully automatic processing where the system will identify the supplier, items, and all financial data without user input. Best for clear, well-structured invoices from established suppliers.
75
+
-**Upload (Manual)**: Requires you to select a specific supplier and item while the system extracts only the financial data. Ideal for unusual invoices, low-quality scans, or when you want consistent item categorization.
@@ -71,42 +81,60 @@ To process invoices with Invoice2Erpnext:
71
81
- Generate Logs with the result
72
82
73
83
Once processed, you can review and submit the created Purchase Invoices after verifying their accuracy.
84
+
74
85

75
86
76
87
## Understanding the Process
77
88
78
89
The system performs these steps automatically:
79
90
80
-
1.**Document Extraction**: Sends the invoice to KAINOTOMO server that reads text and structures
81
-
2.**Data Validation**: Checks for consistency in extracted financial data
82
-
3.**Intelligent Reconciliation**: If discrepancies exist, determines which values are most reliable based on confidence scores
83
-
4.**Return Result**: Return extracted data to your server and delete the file from KAINOTOMO server.
91
+
1.**Document Extraction**: Sends the invoice to KAINOTOMO server that extracts text and structures data fields
92
+
2.**Data Validation**: Checks for consistency in extracted financial data using confidence scores
93
+
3.**Intelligent Reconciliation**: If discrepancies exist in totals, subtotals, or taxes, the system determines which values are most reliable based on confidence scores and adjusts values accordingly
84
94
4.**Document Creation**:
85
95
- Creates Supplier if not already in system
86
-
- Creates Items if not already in system
96
+
- Creates Items if not already in system (or uses a single default item if configured)
87
97
- Creates Purchase Invoice with line items, taxes, and totals
98
+
- Handles special cases like credit notes and decimal point inconsistencies
88
99
5.**File Attachment**: Links the original invoice file to the created Purchase Invoice
89
100
101
+
### Processing Modes
102
+
103
+
The system offers two processing modes:
104
+
105
+
1.**Automatic Mode** (Default): The system extracts all information automatically and creates corresponding documents with no user intervention. Best for high-quality invoices from established suppliers.
106
+
107
+
2.**Manual Mode**: Allows you to select a specific supplier and item while the system extracts only the financial data. Useful when:
108
+
- Working with unfamiliar suppliers
109
+
- Dealing with low-quality scans
110
+
- Needing consistent item categorization for reporting
111
+
90
112
## Monitoring Results
91
113
92
114
After processing, use the Invoice2Erpnext Log to monitor status:
93
115
94
116
1. Navigate to **Invoice2Erpnext Log** in your ERPNext menu
95
117
2. View processing status for each uploaded file:
96
-
- Status: Shows "Success" if completed successfully
118
+
- Status: Shows "Success" if completed successfully, or "Error" if issues occurred
97
119
- Created Docs: Lists all documents created from the invoice
98
-
- Message: Contains detailed processing information
120
+
- Message: Contains detailed processing information or error messages
121
+
- Cost: Shows the processing cost deducted from your credit balance
99
122
100
123
The original file will be automatically attached to the new Purchase Invoice.
101
124
102
125
## Troubleshooting
103
126
104
127
If processing fails:
105
-
- Check the Invoice2Erpnext Log status and message fields
128
+
- Check the Invoice2Erpnext Log status and message fields for specific error details
106
129
- Common issues include:
107
130
- Poor quality scans of invoices
108
131
- Missing critical data (vendor name, invoice date, etc.)
109
132
- Inconsistent totals that can't be reconciled
110
133
- Connection issues with KAINOTOMO extraction service
134
+
- Decimal point inconsistencies in amount fields
135
+
- Insufficient credits in your account
111
136
112
-
For best results, ensure your invoice files are clear, properly scanned, and contain all critical information.
137
+
For best results:
138
+
- Ensure your invoice files are clear, properly scanned, and contain all critical information
139
+
- Verify that suppliers and default items are properly configured
140
+
- Check your credit balance regularly at [https://kainotomo.com/invoice2erpnext/shop](https://kainotomo.com/invoice2erpnext/shop)
0 commit comments