namespace DocumentService.Application.Common.DTOs; /// /// Response containing extracted Swiss QR Code in dual format. /// /// Parsed Swiss QR Bill (structured format) /// Raw Swiss QR Code lines (original newline-separated format) /// /// { /// "bill": { /// "version": "V2_0", /// "amount": 630.20, /// "currency": "CHF", /// "account": "CH953000520280564701R", /// "creditor": { /// "type": "Structured", /// "name": "ALMAT AG", /// "town": "Tagelswangen" /// }, /// "referenceType": "QRR", /// "reference": "000000000000000000252080824" /// }, /// "rawLines": [ /// "SPC", /// "0200", /// "1", /// "CH953000520280564701R", /// "S", /// "ALMAT AG", /// "..." /// ] /// } /// public record SwissQrCodeExtractionResult( SwissQrBillDto Bill, IReadOnlyList RawLines );