TaiwanStar_general_size_s_C.../app
sky121113 ff65559b4c [FEAT] 電子發票改由後台開立:機台只隨 finalize 上報發票輸入
1. TransactionFinalizePayload 新增 InvoicePayload 物件(status/amount/carrier_id/business_tax_id/love_code 等),讓 finalize 一併帶上發票開立輸入。
2. TransactionFinalizeBuilder:有發票需求(invoiceInfo 非空)時,從 InvoiceData 組發票輸入並固定 status=pending 帶進 finalize;機台不再判定開立結果。
3. DispatchDialog:移除機台直連綠界開票,改為進出貨流程僅上報;發票由後台收到 finalize 後建 pending 並去綠界開立(避免機台網路不確定性與等待)。
4. ReportInvoiceInfoStructure:保留 relateNumber 欄位(冪等鍵相關)。
5. 開票邏輯不放在即將淘汰的 HttpAPI(先前暫放 StarCloudAPI 的機台開票方法亦已移除)。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 16:18:11 +08:00
..
libs refactor: move project files to root and cleanup structure 2026-05-06 11:13:45 +08:00
src [FEAT] 電子發票改由後台開立:機台只隨 finalize 上報發票輸入 2026-06-15 16:18:11 +08:00
.gitignore refactor: move project files to root and cleanup structure 2026-05-06 11:13:45 +08:00
build.gradle [FIX] 升版 v91(OTA 版號遞增,內容同 v90 支付 MQTT finalize 修正) 2026-06-15 14:03:17 +08:00
proguard-rules.pro refactor: move project files to root and cleanup structure 2026-05-06 11:13:45 +08:00