← 返回 stripe 的题目列表Parse and Match Payment Invoices
类型:online_judge
You are given two kinds of payment-related text records (e.g., invoices and payments/events). Each record is a string containing multiple fields. You need to:
Parse each record into structured fields (e.g., id, customer, amount, currency, timestamp, status, etc.).
Match payments/events to the correct invoices according to the specified rules (e.g., by invoice id or other derived keys).
Output the final settlement result per invoice (e.g., paid/unpaid, total paid amount, unmatched payments, or updated invoice status).
Note: The post does not include the exact I/O format, field definitions, or tie-breaking rules; follow the specification provided in the interview.