OCR overview

สลิปเงินเดือน

Reading a Thai payslip

Two columns of money that mean opposite things, printed side by side and easy to fuse into one.

สลิปเงินเดือน records one pay period for one employee. Earnings sit on one side, deductions on the other, and the net figure is the difference between the two totals.

It is the document people are asked for outside payroll. Lenders, landlords, and visa applications all ask for recent payslips, which is why they end up being photographed and uploaded far from the system that printed them.

The specimen#

This sheet is typeset from the document's real field list. Every name and figure on it is invented, and none of it comes from anyone's paperwork.

บริษัท ศตวรรษการค้า จำกัด

๙๙ ถนนพระราม ๙ แขวงห้วยขวาง เขตห้วยขวาง กรุงเทพมหานคร ๑๐๓๑๐

ใบแจ้งเงินเดือน

PAY SLIP

เอกสารลับเฉพาะบุคคล

ชื่อพนักงาน
นายธนกฤต แสงทองดี
รหัสพนักงาน
EMP-004218
ตำแหน่ง
วิศวกรระบบอาวุโส
แผนก
ฝ่ายเทคโนโลยีสารสนเทศ
งวดการจ่าย
๑ ถึง ๓๑ กรกฎาคม ๒๕๖๙
วันที่จ่าย
๓๑ กรกฎาคม ๒๕๖๙

รายได้

เงินเดือน
62,000.00
ค่าล่วงเวลา
4,350.00
เบี้ยขยัน
1,000.00
ค่าเดินทาง
2,500.00

รวมรายได้69,850.00

รายการหัก

ประกันสังคม
750.00
ภาษีเงินได้หัก ณ ที่จ่าย
4,120.00
กองทุนสำรองเลี้ยงชีพ
3,100.00
เงินกู้สวัสดิการ
2,000.00

รวมรายการหัก9,970.00

เงินได้สุทธิ59,880.00

( ห้าหมื่นเก้าพันแปดร้อยแปดสิบบาทถ้วน )

ยอดสะสมตั้งแต่ต้นปี

รายได้สะสม
488,950.00
ภาษีสะสม
28,840.00
ประกันสังคมสะสม
5,250.00

เอกสารนี้ออกจากระบบเงินเดือน ไม่ต้องลงลายมือชื่อ

What the model read#

paxa-ocr-lite-v1 · captured Aug 30, 2026 · unedited

The Markdown it returned

# บริษัท ศตวรรษการค้า จำกัด
๙๙ ถนนพระราม ๙ แขวงห้วยขวาง เขตห้วยขวาง กรุงเทพมหานคร ๑๐๓๑๐

# ใบแจ้งเงินเดือน
PAY SLIP

เอกสารลับเฉพาะบุคคล

| | | | |
| :--- | :--- | :--- | :--- |
| ชื่อพนักงาน | นายธนกฤต แสงทองดี | รหัสพนักงาน | EMP-004218 |
| ตำแหน่ง | วิศวกรระบบอาวุโส | แผนก | ฝ่ายเทคโนโลยีสารสนเทศ |
| งวดการจ่าย | ๑ ถึง ๓๑ กรกฎาคม ๒๕๖๙ | วันที่จ่าย | ๓๑ กรกฎาคม ๒๕๖๙ |

| รายได้ | | รายการหัก | |
| :--- | :--- | :--- | :--- |
| เงินเดือน | 62,000.00 | ประกันสังคม | 750.00 |
| ค่าล่วงเวลา | 4,350.00 | ภาษีเงินได้หัก ณ ที่จ่าย | 4,120.00 |
| เบี้ยขยัน | 1,000.00 | กองทุนสำรองเลี้ยงชีพ | 3,100.00 |
| ค่าเดินทาง | 2,500.00 | เงินกู้สวัสดิการ | 2,000.00 |
| **รวมรายได้** | **69,850.00** | **รวมรายการหัก** | **9,970.00** |

# เงินได้สุทธิ 59,880.00

( ห้าหมื่นเก้าพันแปดร้อยแปดสิบบาทถ้วน )

ยอดสะสมตั้งแต่ต้นปี

รายได้สะสม 488,950.00

ภาษีสะสม 28,840.00

ประกันสังคมสะสม 5,250.00

เอกสารนี้ออกจากระบบเงินเดือน ไม่ต้องลงลายมือชื่อ

The structured blocks, typeset back into a page

  1. headingL1

    บริษัท ศตวรรษการค้า จำกัด

  2. headingL1

    ใบแจ้งเงินเดือน

  3. paragraph

    ๙๙ ถนนพระราม ๙ แขวงห้วยขวาง เขตห้วยขวาง กรุงเทพมหานคร ๑๐๓๑๐

  4. paragraph

    PAY SLIP

  5. paragraph

    เอกสารลับเฉพาะบุคคล

  6. table
    The table the model reconstructed
    ชื่อพนักงานนายธนกฤต แสงทองดีรหัสพนักงานEMP-004218
    ตำแหน่งวิศวกรระบบอาวุโสแผนกฝ่ายเทคโนโลยีสารสนเทศ
    งวดการจ่าย๑ ถึง ๓๑ กรกฎาคม ๒๕๖๙วันที่จ่าย๓๑ กรกฎาคม ๒๕๖๙
  7. table
    The table the model reconstructed
    รายได้รายการหัก
    เงินเดือน62,000.00ประกันสังคม750.00
    ค่าล่วงเวลา4,350.00ภาษีเงินได้หัก ณ ที่จ่าย4,120.00
    เบี้ยขยัน1,000.00กองทุนสำรองเลี้ยงชีพ3,100.00
    ค่าเดินทาง2,500.00เงินกู้สวัสดิการ2,000.00
    รวมรายได้69,850.00รวมรายการหัก9,970.00
  8. paragraph

    เงินได้สุทธิ 59,880.00

  9. paragraph

    ( ห้าหมื่นเก้าพันแปดร้อยแปดสิบบาทถ้วน )

  10. paragraph

    ยอดสะสมตั้งแต่ต้นปี

  11. table
    The table the model reconstructed
    รายได้สะสม488,950.00
    ภาษีสะสม28,840.00
    ประกันสังคมสะสม5,250.00
  12. paragraph

    เอกสารนี้ออกจากระบบเงินเดือน ไม่ต้องลงลายมือชื่อ

The exact image the model read

What is on this document#

Common commercial shape

ชื่อพนักงานและรหัสพนักงาน
Who the slip belongs to.
ตำแหน่งและแผนก
Role and department, where printed.
งวดการจ่าย
The period covered, and the pay date.
รายได้
Earnings, one labelled amount per line.
รายการหัก
Deductions, in a parallel column.
รวมรายได้ และ รวมรายการหัก
The two column totals.
เงินได้สุทธิ
Net pay, the figure everything leads to.
ยอดสะสมตั้งแต่ต้นปี
Year-to-date running figures.

No statute fixes this layout. Every payroll system prints its own, and the only reliable constant is that earnings and deductions are separated somehow.

Why this one is hard to read#

Two columns, one meaning each
Earnings and deductions are the same shape and opposite in effect. A reader that fuses the columns produces a list of amounts with no sign, which is worse than returning nothing.
Labels repeat across both sides
The word รวม appears as a total on each column. Position is the only thing separating the two, and position is what a line-by-line reader discards first.
The net figure is derived
Net pay is printed, and it is also the difference of two totals on the same page. A reading that returns all three lets you check it, and one that returns only the net does not.

From blocks to fields#

Each column comes back as its own block, in the order the page lays them out. Summing a column and comparing it against the printed total is the check this document invites, and it costs nothing beyond the read you already paid for.

Rate
6.5 credits per page
Per request
50 pages, 10 MB, PDF, PNG, JPEG, WEBP
Free credits
100 credits, about 15 pages

See full pricing

Questions#

Can it read a photographed payslip?
Yes, as PNG, JPEG or WebP, one page each. Payslips reach systems as photographs constantly, which is the case this document is usually met in.
Does it separate earnings from deductions?
It returns the page's structure, and the two columns come back as separate blocks in reading order. Which one is which is decided by their headings, which come back with them.
Do you extract the net pay as a field?
It comes back as text in its block, with its label beside it. Naming it as a field is your code's step, and it is a short one once the structure survived.

Send it your own documents.

New accounts start with 100 free credits, enough for about 15 pages. Try it on a real file in the playground.