實作範例 · 掃描 PDF 轉 EXCEL

將 50 頁掃描發票轉化為已核對的應付帳款分類帳

一位會計師收到了一份為市議會會議準備的 50 頁掃描 PDF 發票。他們要求 將其轉為 Excel 中的應付帳款分類帳,每張發票一行,所有金額皆直接從掃描發票中讀取。

讀取了掃描檔,建立了包含總計與封面備忘錄核對機制的分類帳,數值精確到分。接著,在同一個 Excel 檔案中,它為每張發票新增了總分類帳類別以及一個可加回總計的摘要工作表。

  • 50已讀取的掃描頁數
  • 9已找到並輸入的發票
  • $0.00與備忘錄的差額
  • 1Excel 檔案,為要求 2 再次編輯

開啟真實檔案

這些是執行時的實際檔案。請下載並在 Excel 中開啟它們。

檔案來源: City of Bunker Hill Village, Texas, 2026 年 8 月 18 日市議會會議資料,議程第 XII 項,「超過 50,000 美元的付款」。公開記錄。

01 · 起始檔案

一份打字備忘錄,接著是 49 頁的掃描檔

第 1 頁是一份打字備忘錄,列出了九張發票(A 至 I),每張金額均超過 50,000 美元。第 2 至 50 頁是掃描檔:水費帳單、附有審批備忘錄及分包商備份資料的工程發票、帶有流量記錄的廢水帳單,以及一張施工發票。

掃描頁面是沒有文字的圖片。 在詢問過其語言後,首先透過文字辨識 (OCR) 進行讀取。PDF 本身並未更改。

原始文件圖片第 1 頁:列出發票 A 至 I 的打字封面備忘錄
第 1 頁:封面備忘錄、九張發票及其金額。開啟原始檔案
原始文件圖片第 2 頁:掃描的休士頓市水費帳單
第 2 頁:第一張發票,一張掃描的休士頓市水費帳單。開啟原始檔案

02 · 要求 1

「建立應付帳款分類帳,每張發票一列」

會計師輸入的內容

This PDF is Item XII ('Payment(s) Above $50,000') from the Bunker Hill Village council packet for 18 August 2026. Page 1 is the typed cover memo listing nine invoices, A to I. Pages 2-50 are scans of those invoices plus backup (TGC approval memos, sub-consultant invoices, status reports, water flow records).

Please build an AP ledger in Excel with one row per memo item A-I. Do not add rows for the sub-consultant invoices (United Engineers, TEI, Cypress Environmental) - they are backup inside the HR Green packages. Columns:
1. Memo item (A-I)
2. Vendor
3. Invoice no. (for the City of Houston bills, use the account number)
4. Invoice / bill date
5. Service period or description
6. Amount due - read from the scanned invoice itself, not the memo
7. PDF page of the invoice's first page

Add a total row, and a reconciliation line showing the memo total, the ledger total and the difference.

的處理方式

  • 在掃描檔中找到九張發票中每一張的第一頁,並記錄其 PDF 頁碼。
  • 按要求,每個金額均直接從發票本身讀取,而非從備忘錄讀取。
  • 按要求略過了夾在工程文件包內的分包商發票。
  • 建立了一個新的 Excel 檔案,備忘錄中的每個項目(A 至 I)各佔一列。
  • 新增了作為公式的總計,以及三行檢查行:備忘錄總計、分類帳總計、差額。點擊下方綠色儲存格即可查看。
AP Ledger Item XII 2026-08-18.xlsx新檔案
F12=SUM(F3:F11)
ABCDEFG
1Bunker Hill Village - Council 18 Aug 2026 - Item XII Payments Above $50,000 - AP Ledger (one row per memo item A-I)
2Memo itemVendorInvoice no. (City of Houston = account no.)Invoice / bill dateService period or descriptionAmount due (USD, from scanned invoice)PDF page (invoice first page)
3ACity of Houston7099-3004-601206/19/2026May 2026 water purchase - treated water74323.35p.2
4BCity of Houston7099-3004-601207/22/2026June 2026 water purchase - treated water69767.5p.4
5CHR Green, Inc. (BHV Work Order #1)20250305/19/2026Professional services 04/01/2026-04/30/2026, Memorial/Gessner Phase II (Proj 2502530.01/.02)101219.8p.7
6DHR Green, Inc. (TIRZ Work Order #2)20371906/18/2026Professional services 05/01/2026-05/31/2026, Memorial/Gessner Phase II (Proj 2502530.03/.04)93264.32p.25
7EHR Green, Inc. (BHV Work Order #1)20489907/15/2026Professional services 06/01/2026-06/30/2026, Memorial/Gessner Phase II (Proj 2502530.01/.02)72728.61p.33
8FHR Green, Inc. (TIRZ Work Order #2)20490107/15/2026Professional services 06/01/2026-06/30/2026, Memorial/Gessner Phase II (Proj 2502530.03/.04)77070.36p.41
9GMemorial Villages Water Authority001-26-2706/01/2026 (due 07/10/2026)May 2026 wastewater treatment66669.83p.46
10HMemorial Villages Water Authority002-26-2707/01/2026 (due 08/10/2026)June 2026 wastewater treatment64160.86p.48
11IRed Oak Construction LLC105704/30/2026 (due 06/03/2026)BHV Water Plant #1-2 Chloramine Upgrades97231.03p.50
12TOTAL (ledger)716435.66
13
14Memo total (sum of memo items A-I)716435.66
15Ledger total (SUM formula cell reference)716435.66
16Difference (Ledger - Memo)0
Sheet1AP Ledger - Item XII新
交付的分類帳工作表。綠色數字為公式。

我們針對掃描檔進行了核對: 所有九個金額、發票號碼和頁碼皆正確無誤,且分類帳總計 716,435.66 美元與備忘錄總計相符。

03 · 要求 2

「現在加入總分類帳類別和摘要」

會計師輸入的內容

In the same workbook, extend the ledger:
1. Add a 'GL category' column using these categories: Water purchase; Wastewater treatment; Engineering - Memorial/Gessner Ph II - BHV Work Order #1; Engineering - Memorial/Gessner Ph II - TIRZ Work Order #2; Capital - water plant.
2. Add a 'Handwritten notes' column: transcribe any handwriting on that item's pages (e.g. marks on the TGC approval memo or the invoice itself). Write 'none' if there is no handwriting, and 'illegible' if you can't read it - please don't guess. Typed 'Approved by' stamps don't count.
3. Add a 'Summary' sheet with SUMIF totals by GL category, and a check that the category totals add back to the ledger total.

Don't change the turn-1 rows or amounts.

的處理方式

  • 開啟剛才製作的分類帳並編輯同一個 Excel 檔案。
  • 新增了「總分類帳類別」欄位,僅使用會計師提供的五個類別。
  • 新增了新的「摘要」工作表:每個類別一個 SUMIF 公式、一個總計,以及一個結果為 0 的核對。
  • 未更改要求 1 中的任何列或金額。我們檢查了每一個儲存格。
AP Ledger Item XII 2026-08-18.xlsx修改後
H3Water purchase
ABCDEFGH
1Bunker Hill Village - Council 18 Aug 2026 - Item XII Payments Above $50,000 - AP Ledger (one row per memo item A-I)
2Memo itemVendorInvoice no. (City of Houston = account no.)Invoice / bill dateService period or descriptionAmount due (USD, from scanned invoice)PDF page (invoice first page)GL category
3ACity of Houston7099-3004-601206/19/2026May 2026 water purchase - treated water74323.35p.2Water purchase
4BCity of Houston7099-3004-601207/22/2026June 2026 water purchase - treated water69767.5p.4Water purchase
5CHR Green, Inc. (BHV Work Order #1)20250305/19/2026Professional services 04/01/2026-04/30/2026, Memorial/Gessner Phase II (Proj 2502530.01/.02)101219.8p.7Engineering - Memorial/Gessner Ph II - BHV Work Order #1
6DHR Green, Inc. (TIRZ Work Order #2)20371906/18/2026Professional services 05/01/2026-05/31/2026, Memorial/Gessner Phase II (Proj 2502530.03/.04)93264.32p.25Engineering - Memorial/Gessner Ph II - TIRZ Work Order #2
7EHR Green, Inc. (BHV Work Order #1)20489907/15/2026Professional services 06/01/2026-06/30/2026, Memorial/Gessner Phase II (Proj 2502530.01/.02)72728.61p.33Engineering - Memorial/Gessner Ph II - BHV Work Order #1
8FHR Green, Inc. (TIRZ Work Order #2)20490107/15/2026Professional services 06/01/2026-06/30/2026, Memorial/Gessner Phase II (Proj 2502530.03/.04)77070.36p.41Engineering - Memorial/Gessner Ph II - TIRZ Work Order #2
9GMemorial Villages Water Authority001-26-2706/01/2026 (due 07/10/2026)May 2026 wastewater treatment66669.83p.46Wastewater treatment
10HMemorial Villages Water Authority002-26-2707/01/2026 (due 08/10/2026)June 2026 wastewater treatment64160.86p.48Wastewater treatment
11IRed Oak Construction LLC105704/30/2026 (due 06/03/2026)BHV Water Plant #1-2 Chloramine Upgrades97231.03p.50Capital - water plant
12TOTAL (ledger)716435.66
13
14Memo total (sum of memo items A-I)716435.66
15Ledger total (SUM formula cell reference)716435.66
16Difference (Ledger - Memo)0
Sheet1AP Ledger - Item XIISummary新
相同的分類帳工作表,帶有綠色的新總分類帳類別欄位。
AP Ledger Item XII 2026-08-18.xlsx修改後
B3=SUMIF('AP Ledger - Item XII'!H3:H11,A3,'AP Ledger - Item XII'!F3:F11)
AB
1Summary by GL category (SUMIF from AP Ledger - Item XII)
2GL categoryTotal (USD)
3Water purchase144090.85
4Wastewater treatment130830.69
5Engineering - Memorial/Gessner Ph II - BHV Work Order #1173948.41
6Engineering - Memorial/Gessner Ph II - TIRZ Work Order #2170334.68
7Capital - water plant97231.03
8Total of categories716435.66
9Ledger total (AP Ledger - Item XII!F12)716435.66
10Check (categories - ledger; must be 0)0
Sheet1AP Ledger - Item XIISummary新
同一個檔案中的新「摘要」工作表。每個總計都是對分類帳進行的 SUMIF 運算;最後一行檢查它們是否加總回原數。

從一堆掃描檔到可核對的數字

大多數 AI 工具僅在對話回覆中總結掃描檔。 會讀取每一頁,將資料放入帶有公式的真實試算表中,標註每筆資料來自哪一頁,並在你要求更多內容時,在同一個檔案中繼續處理。

繼續閱讀

繼續閱讀另一個實作案例

查看全部 19 個實作案例 會計師與審計師 的所有案例