---
# System prepended metadata

title: E-Tax

---

<style>
    /*
    */
    .markdown-body { min-width: 70%; }
    svg[id^="mermaid-"] { min-width: 125%; max-width: 130%; }
</style>

# <font color='darkred'>E-Tax</font>

:::info
:information_source: [H O M E](https://hackmd.io/JSbAl5fuQaCUFSE-vIRH-g?view)
:::

[toc]

---


:::danger 
<b>Notes</b>
E-Tax: การออกเอกสารต้องออกภายในวันที่มีการชำระเท่านั้น เนื่องจาก Digital Signature จะบันทึกวันเวลาจากระบบ ณ วันที่สร้างเอกสาร (หากวันที่ชำระบนเอกสาร กับวันที่ของ Digital Signature ไม่ตรงกัน ถือว่าขัดกับข้อกำหนดของกรมสรรพากร) `02aug23`
:::


# <font color='seagreen'>Timeline</font>


## <font color='green'>2023</font>
```mermaid
gantt
title E-Tax
dateFormat YYYY-MM-DD
todayMarker stroke:#ADFF2F, opacity:0.7
%%axisFormat %Y-%b
%%axisFormat %a-%d
axisFormat %b%y
%%tickInterval 1month

section Request 1 Payment
   Review steps: done, 2023-04-20, 2w
   Go Live (1 Payment) (23jun - miss): crit, 2023-05-15, 15w
   
section More Payment Method & SSR (Phase 2)
   Develop (Pum): crit, 2023-09-01, 8w
   Go Live: milestone, crit, 1d
   
section Request Separate Pax/Flight (Phase 3)
   Develop (Pum): crit, 2023-11-01, 12w
   Go Live: milestone, crit, 1d

section Cancel
   Review steps: done, 2023-04-20, 1d

section Credit Note
   Form: done, cn1, 2023-04-10, 2w
   UAT-1: done, after cn1, 1w
   Create fields template for XML (Pum): crit, 2023-06-06, 1w
   UAT-2: crit, 2023-08-08, 1w
   Go Live (23jun): crit, milestone, 1d

section Consolidation Report
   Template Report on Navision: done, 2023-03-07, 2w
   Interface Data from E-Tax: crit, r1, 2023-03-07, 6w
   Merge data into the template: crit, 1w
   Go Live: milestone, crit, 2023-07-01, 1d
   
section GinkGo
    Review with CFO (Acc.): crit, 2023-06-06, 2w
    Contract signing (Acc.): crit, 8w
    Credit Note quotation (3,000 THB): done, 2023-06-06, 9d
    Credit Note PO: crit, 7w
    Credit Note Template: crit, 1w
    
section Meeting
    Status Update 06jun: done, milestone, 2023-06-06, 1d
    Status Update 13jun: done, milestone, 2023-06-13, 1d
    Project Timeline Discuss 02aug: done, milestone, 2023-08-02, 1d



```


<br><br>


## <font color='gray'>2022-2023</font>

```mermaid
gantt
title E-Tax (2022-2023)
dateFormat YYYY-MM-DD
todayMarker stroke:#ADFF2F, opacity:0.7
%%axisFormat %Y-%b
%%axisFormat %a-%d
axisFormat %b-%y
%%tickInterval 1month

section Google Sheet Form
   Adjust Excel file: done, 2022-02-21, 1w
   Go Live: milestone, done, 2022-03-01, 1d

section PHASE (History)
   Go Live (requested by K.Wut): milestone, crit, 2022-03-22, 1d
   Go Live (Separate Pax): milestone, crit, 2022-07-01, 1d
   Go Live (Separate Flight): milestone, crit, 2022-08-01, 1d
   Go Live (1 Payment): milestone, crit, 2023-07-01

```



<br><br><br>

# <font color='darkred'>Apps Flow</font>
``` mermaid
flowchart LR;

classDef coral fill: #FF7F50, stroke: #FF6347, stroke-width: 2px, color: #FFF
classDef tomato fill: #FF6347, stroke: #FF4500, stroke-width: 2px, color: #FFF
classDef seagreen fill: #20B2AA, stroke: #66CDAA, stroke-width: 2px, color: #FFF

st((Start)) --> f(Fill Form)
f --> xType{Filter}:::coral --> a[Payment > 1]
xType --> b[Payment = 1] --> cal
a --> cal(Calculate Data)
cal --> v(Acc. Verify??):::tomato

nc[(Radixx)]:::seagreen  -..-> cal

v --> g(Send XML to Gingko)
g --> gp(Issue e-Tax to Passenger)
gp --> sp((Stop))
```

<br><br><br>
# <font color='darkkhaki'>Contact</font>



<br><br><br>
# <font color='darkred'>Infrastructure</font>
``` mermaid
flowchart

subgraph app["App"]
    ap[10.x.x.x]
end

subgraph db["Database<br><br><br>10.94.23.165 "]
    d1[NokETaxV2]
end
```





<br><br><br>
# <font color='mediumseagreen'>Links</font>
1. [E-Tax Status Update `aug22`](https://nok365.sharepoint.com/:p:/r/sites/NokIT/Shared%20Documents/General/E-Tax/E-Tax%20Invoice%20Presentation%20-%20Pum.pptx?d=w7e0d2bac1b6a4ff8a7a38c3da7f5bffd&csf=1&web=1&e=ewrgCq)
1. [ETDA on ICT Standard](https://www.etda.or.th/getattachment/7620891b-1d63-4c4f-8510-817b04bf8218/%E0%B8%94%E0%B8%B2%E0%B8%A7%E0%B8%99%E0%B9%82%E0%B8%AB%E0%B8%A5%E0%B8%94%E0%B8%82%E0%B8%AD%E0%B9%80%E0%B8%AA%E0%B8%99%E0%B8%AD%E0%B9%81%E0%B8%99%E0%B8%B0%E0%B8%A1%E0%B8%B2%E0%B8%95%E0%B8%A3%E0%B8%90%E0%B8%B2%E0%B8%99%E0%B8%AF-e-Invoice-e-Tax-Invoice.aspx)