Skip to content

Commit 7491bf1

Browse files
authored
feat: Update MyInvois Import and add Taxpayers QR Code (#43)
* feat: update myinvois import * feat: add taxpayers qr code
1 parent 16a4ad3 commit 7491bf1

31 files changed

+120
-51
lines changed

docs/usage/myinvois/einvoice-operation.md

Lines changed: 59 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -216,109 +216,120 @@ You can view all past submission and cancellation log of an invoice.
216216

217217
![sales-invoice-log](../../../static/img/myinvois/einvoice/sales-invoice-log.png)
218218

219-
## Purchase Documents Import
219+
## Import
220220

221-
SQL Account offers two methods for importing purchase documents from the E-Invoice system:
221+
SQL Account offers two methods for importing sales or purchase documents from the E-Invoice system:
222222

223-
- [Single Import](#single-import): Enables you to import individual documents.
224223
- [Batch Import](#batch-import): Allows you to import multiple documents at once.
224+
- [Linking](#linking): Allows you to link the existing document with received E-Invoice document.
225225

226226
To ensure proper import, it's important to understand how the document types in SQL Account are mapped to those received from the E-Invoice system. The table below shows how the document types in the SQL Account are mapped to those received from the E-Invoice system:
227227

228228
| SQL Account Document Type | E-Invoice Document Type |
229229
| ------------------------- | ----------------------- |
230+
| Sales Invoice | Self-Billed Invoice |
231+
| Cash Sales | Self-Billed Invoice |
232+
| Credit Note | Self-Billed Credit Note |
233+
| Debit Note | Self-Billed Debit Note |
234+
| Receipt Voucher | Self-Billed Invoice |
230235
| Purchase Invoice | Invoice |
231236
| Cash Purchase | Invoice |
232237
| Purchase Returned | Credit Note |
233238
| Purchase Debit Note | Debit Note |
239+
| Payment Voucher | Invoice |
234240

235-
### Single Import
241+
### Batch Import
236242

237-
You can view all received documents and single import into SQL Account.
243+
You can view all received documents and batch import into SQL Account.
238244

239-
1. Go to document detail screen and click on **MyInvois** > **Single import E-Invoice**
245+
1. Click on **MyInvois** > **Batch import E-Invoice**
240246

241-
![purchase-invoice-single-import-button](../../../static/img/myinvois/einvoice/purchase-invoice-single-import-button.png)
247+
![purchase-invoice-batch-import-button](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-button.png)
242248

243-
![purchase-invoice-single-import-form](../../../static/img/myinvois/einvoice/purchase-invoice-single-import-form.png)
249+
![purchase-invoice-batch-import-form](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form.png)
244250

245251
2. Choose the desired date range and press the **Apply** button to filter the documents
246252

247-
![purchase-invoice-single-import-form-daterange](../../../static/img/myinvois/einvoice/purchase-invoice-single-import-form-daterange.png)
253+
![purchase-invoice-batch-import-form-daterange](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form-daterange.png)
254+
255+
3. There are two tables inside the form:
248256

249-
3. The table will display the list of E-Invoice documents your company has received
257+
- The upper table will display the list of E-Invoice documents your company has received
258+
- The lower table will show the item details for the document you have selected
250259

251-
![purchase-invoice-single-import-form-apply](../../../static/img/myinvois/einvoice/purchase-invoice-single-import-form-apply.png)
260+
![purchase-invoice-batch-import-form-apply](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form-apply.png)
252261

253-
4. SQL Account will auto-map the supplier code if the supplier's TIN matches the TIN in Maintain Supplier
262+
4. Each document will display a status in the **Status** column. Below is the description and import action of each status:
254263

255-
:::info[NOTE]
256-
We suggest adding the TIN for existing suppliers or creating a new supplier record
257-
:::
264+
| Status | Description | Action |
265+
| -------------- | --------------------------------------------------- | ------------------------------- |
266+
| (Blank) | Not yet imported | Create new document |
267+
| Doc Exists | Document already exists in the system | Update E-Invoice related fields |
268+
| Different UUID | Document exists but with a different E-Invoice UUID | Create new document |
269+
| Done | Successfully imported | - |
258270

259271
:::info[NOTE]
260-
A supplier code is required. An error message will appear if you attempt to import a document without a supplier code
272+
Double-clicking a row will drill down into the existing document, while double-clicking the **E-Invoice Status** column will open the validation link
261273
:::
262274

263-
![purchase-invoice-single-import-form-select-supplier](../../../static/img/myinvois/einvoice/purchase-invoice-single-import-form-select-supplier.png)
275+
5. SQL Account will auto-map the Customer/Supplier Code using the following conditions:
264276

265-
![purchase-invoice-single-import-form-select-supplier-error](../../../static/img/myinvois/einvoice/purchase-invoice-single-import-form-select-supplier-error.png)
277+
- Same **TIN** (prioritized)
278+
- Same **ID Number** or similar **Company Name**
266279

267-
5. Once you have selected the desired documents, click on the **Import** button to proceed with the single import
268-
269-
![purchase-invoice-single-import](../../../static/img/myinvois/einvoice/purchase-invoice-single-import.png)
280+
![purchase-invoice-batch-import-form-select-supplier](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form-select-supplier.png)
270281

271-
![purchase-invoice-single-import-details](../../../static/img/myinvois/einvoice/purchase-invoice-single-import-details.png)
282+
6. A tax code is required for an item if the tax amount is greater than 0
272283

273-
6. After reviewing the document details, click **Save** to complete the process
284+
![purchase-invoice-batch-import-form-select-tax](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form-select-tax.png)
274285

275-
![purchase-invoice-single-import-success](../../../static/img/myinvois/einvoice/purchase-invoice-single-import-success.png)
286+
7. You may click on the **Import** button to proceed with the import
276287

277-
### Batch Import
288+
![purchase-invoice-batch-import](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import.png)
278289

279-
You can view all received documents and batch import into SQL Account.
290+
8. A message dialog will indicate success or display an error, if any
280291

281-
1. Click on **MyInvois** > **Batch import E-Invoice**
292+
![purchase-invoice-batch-import-success](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-success.png)
282293

283-
![purchase-invoice-batch-import-button](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-button.png)
294+
![purchase-invoice-batch-import-error](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-error.png)
284295

285-
![purchase-invoice-batch-import-form](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form.png)
296+
### Linking
286297

287-
2. Choose the desired date range and press the **Apply** button to filter the documents
298+
You can view and link the received E-Invoice documents associated with the TIN of the selected document to update its E-Invoice related fields.
288299

289-
![purchase-invoice-batch-import-form-daterange](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form-daterange.png)
300+
1. Click on **🔍** of MyInvois UUID field in more panel
290301

291-
3. There are two tables inside the form:
302+
![purchase-invoice-linking](../../../static/img/myinvois/einvoice/purchase-invoice-linking.png)
292303

293-
- The upper table will display the list of E-Invoice documents your company has received
294-
- The lower table will show the item details for the document you have selected
304+
2. The form will display only documents related to the same TIN as the selected record
295305

296-
![purchase-invoice-batch-import-form-apply](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form-apply.png)
306+
![purchase-invoice-linking-form](../../../static/img/myinvois/einvoice/purchase-invoice-linking-form.png)
297307

298-
4. You can select multiple documents using the checkboxes provided
299-
5. SQL Account will auto-map the supplier code if the supplier's TIN matches the TIN in Maintain Supplier
308+
3. Select the appropriate document and click on the **Update** button to link it
300309

301-
:::info[NOTE]
302-
We suggest adding the TIN for existing suppliers or creating a new supplier record
303-
:::
310+
### Create / Update Customer or Supplier
304311

305-
![purchase-invoice-batch-import-form-select-supplier](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form-select-supplier.png)
312+
To create or update a customer or supplier from the import form, follow these steps:
306313

307-
6. A tax code is required for an item if the tax amount is greater than 0
314+
1. Click on the **Company Name** column
308315

309316
:::info[NOTE]
310-
The document will displayed in **red font** if the tax code is missing when it is required
317+
If the Customer/Supplier Code has value, SQL Account will update the existing record. If it is empty, a new customer/supplier will be created.
311318
:::
312319

313-
![purchase-invoice-batch-import-form-select-tax](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form-select-tax.png)
320+
![purchase-invoice-batch-import-update-supplier](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-update-supplier.png)
314321

315-
![purchase-invoice-batch-import-form-tax](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-form-tax.png)
322+
2. A comparison view will appear showing fields from the existing record in Maintain Customer/Supplier and the E-Invoice document
316323

317-
7. Once you have selected the desired documents, click on the **Import** button to proceed with the batch import
324+
:::info[NOTE]
325+
- The selected value will appear in **bold**
326+
- The unselected value will be shown with a ~~strikethrough~~
327+
- If both values (from E-Invoice and existing record) are identical, the cell will be merged
328+
:::
318329

319-
![purchase-invoice-batch-import](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import.png)
330+
![purchase-invoice-batch-import-supplier-form](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-supplier-form.png)
320331

321-
![purchase-invoice-batch-import-success](../../../static/img/myinvois/einvoice/purchase-invoice-batch-import-success.png)
332+
3. Click the **Create** or **Update** button to apply the changes to the customer or supplier record
322333

323334
## Rejection (Imported Documents)
324335

docs/usage/myinvois/einvoice.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ After saving your Sales Invoice or Cash Sales document, you can access E-Invoice
5252
- [Test E-Invoice Validation](e-invoice-operation#test-e-invoice-validation)
5353
- [Share PDF](e-invoice-operation#share-pdf-experimental)
5454
- [E-Invoice Request](e-invoice-operation#e-invoice-request)
55+
- [Batch Import](e-invoice-operation#batch-import)
56+
- [Linking](e-invoice-operation#linking)
5557

5658
### Credit Note
5759

@@ -141,6 +143,8 @@ After saving your Credit Note document, you can access E-Invoice operations thro
141143
- [Batch Refresh Status](e-invoice-operation#batch-refresh-status)
142144
- [Test E-Invoice Validation](e-invoice-operation#test-e-invoice-validation)
143145
- [Share PDF](e-invoice-operation#share-pdf-experimental)
146+
- [Batch Import](e-invoice-operation#batch-import)
147+
- [Linking](e-invoice-operation#linking)
144148

145149
### Debit Note
146150

@@ -192,6 +196,8 @@ After saving your Debit Note document, you can access E-Invoice operations throu
192196
- [Batch Refresh Status](e-invoice-operation#batch-refresh-status)
193197
- [Test E-Invoice Validation](e-invoice-operation#test-e-invoice-validation)
194198
- [Share PDF](e-invoice-operation#share-pdf-experimental)
199+
- [Batch Import](e-invoice-operation#batch-import)
200+
- [Linking](e-invoice-operation#linking)
195201

196202
## Purchase
197203

@@ -242,8 +248,8 @@ After saving your Purchase Invoice or Cash Purchase document, you can access E-I
242248

243249
- [Submission](e-invoice-operation#submission)
244250
- [Consolidate](e-invoice-operation#consolidate)
245-
- [Single Import](e-invoice-operation#single-import)
246251
- [Batch Import](e-invoice-operation#batch-import)
252+
- [Linking](e-invoice-operation#linking)
247253
- [Cancellation (Self-Billed)](e-invoice-operation#cancellation)
248254
- [Rejection (Imported)](e-invoice-operation#rejection-imported-documents)
249255
- [Refresh Status](e-invoice-operation#refresh-status)
@@ -334,8 +340,8 @@ Please ensure that the referenced documents are validated Self-Billed E-Invoices
334340
After saving your Purchase Returned document, you can access E-Invoice operations through the **MyInvois** button. These operations help you manage your E-Invoices efficiently. Use the links below to navigate to the specific operation section for detailed instructions:
335341

336342
- [Submission](e-invoice-operation#submission)
337-
- [Single Import](e-invoice-operation#single-import)
338343
- [Batch Import](e-invoice-operation#batch-import)
344+
- [Linking](e-invoice-operation#linking)
339345
- [Cancellation (Self-Billed)](e-invoice-operation#cancellation)
340346
- [Rejection (Imported)](e-invoice-operation#rejection-imported-documents)
341347
- [Refresh Status](e-invoice-operation#refresh-status)
@@ -388,8 +394,8 @@ Please ensure that the referenced documents are validated Self-Billed E-Invoices
388394
After saving your Purchase Debit Note document, you can access E-Invoice operations through the **MyInvois** button. These operations help you manage your E-Invoices efficiently. Use the links below to navigate to the specific operation section for detailed instructions:
389395

390396
- [Submission](e-invoice-operation#submission)
391-
- [Single Import](e-invoice-operation#single-import)
392397
- [Batch Import](e-invoice-operation#batch-import)
398+
- [Linking](e-invoice-operation#linking)
393399
- [Cancellation (Self-Billed)](e-invoice-operation#cancellation)
394400
- [Rejection (Imported)](e-invoice-operation#rejection-imported-documents)
395401
- [Refresh Status](e-invoice-operation#refresh-status)

docs/usage/myinvois/mandatory-fields.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,58 @@ An hourglass icon will appear next to customers or suppliers who has created Inf
111111

112112
![batch-retrieve-info-progress](../../../static/img/myinvois/guide/batch-retrieve-info-progress.png)
113113

114+
## Taxpayer's QR Code
115+
116+
This feature allows you to upload a customer's or supplier's MyInvois Taxpayer QR Code to automatically retrieve and update their information.
117+
118+
### Maintain Customer / Supplier
119+
120+
1. Enter detail mode for a new or existing customer or supplier
121+
122+
2. Go to the **Tax** tab and click on the **Upload File** button
123+
124+
![taxpayers-qr-maintain-customer](../../../static/img/myinvois/einvoice/taxpayers-qr-maintain-customer.png)
125+
126+
3. Click the **Open File** icon to select a QR code image from your device or click the **Paste** icon to paste a QR code image from your clipboard
127+
128+
![taxpayers-qr-form](../../../static/img/myinvois/einvoice/taxpayers-qr-form.png)
129+
130+
4. Once the QR code is uploaded, SQL Account will automatically retrieve and display the taxpayer's information in the memo field
131+
132+
:::info[NOTE]
133+
Upload Production Taxpayer's QR Code only
134+
:::
135+
136+
![taxpayers-qr-form-info](../../../static/img/myinvois/einvoice/taxpayers-qr-form-info.png)
137+
138+
5. Click the **OK** button to update the selected customer or supplier with the retrieved data
139+
140+
![taxpayers-qr-form-ok](../../../static/img/myinvois/einvoice/taxpayers-qr-form-ok.png)
141+
142+
### Sales / Purchase / Cashbook document
143+
144+
1. Enter detail mode for a new or existing document
145+
146+
2. Go to the **More** panel and click on the **QR Code** icon in MyInvois header
147+
148+
![taxpayers-qr-sales-invoice](../../../static/img/myinvois/einvoice/taxpayers-qr-sales-invoice.png)
149+
150+
3. Click the **Open File** icon to select a QR code image from your device or click the **Paste** icon to paste a QR code image from your clipboard
151+
152+
![taxpayers-qr-form](../../../static/img/myinvois/einvoice/taxpayers-qr-form.png)
153+
154+
4. Once the QR code is uploaded, SQL Account will automatically retrieve and display the taxpayer's information in the memo field
155+
156+
:::info[NOTE]
157+
Upload Production Taxpayer's QR Code only
158+
:::
159+
160+
![taxpayers-qr-form-info](../../../static/img/myinvois/einvoice/taxpayers-qr-form-info.png)
161+
162+
5. Click the **OK** button to update the selected document with the retrieved data
163+
164+
![taxpayers-qr-form-ok](../../../static/img/myinvois/einvoice/taxpayers-qr-form-ok.png)
165+
114166
## Customer / Supplier Tax Info
115167

116168
### Local Business (Companies registered with local authorities)
-7.57 KB
Loading
97.2 KB
Loading
19.2 KB
Loading
1.17 KB
Loading
13.7 KB
Loading
16.2 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)