{
    "data": {
        "refunds": {
            "getRefundCandidate": {
                "viewer": "OpsAgentViewer",
                "ticketSummary": {
                    "ticketId": 399923783,
                    "ticketNum": "1343047389202",
                    "pnr": "XXXXXX",
                    "iataCode": "XXXXXXXX",
                    "travelAgencyId": 33,
                    "travelAgencyName": "Agency_name",
                    "airlineName": "Avianca Co",
                    "passengerName": "XXXXX/XXXXX",
                    "flightType": "International",
                    "gds": "AMADEUS",
                    "issueDate": "2024-07-31",
                    "validIssueDate": "2024-07-31",
                    "refundLimitDate": "2025-07-31",
                    "endorsements": "/C1-4 REFUNDS PERMITTED CHANGES RESTRICTED/ RESTRICTIONS APPLY FARE DIF MAY APPLY -BG AV",
                    "totalFare": {
                        "amount": 646.05,
                        "currencyCode": "USD"
                    },
                    "paidBaseFare": {
                        "amount": 542.00,
                        "currencyCode": "USD"
                    },
                    "fopData": {
                        "equivalentFare": 542.00,
                        "cardPayment": 646.05,
                        "cashPayment": 0.00,
                        "taxPayment": {
                            "amount": 104.05,
                            "currencyCode": "USD"
                        }
                    },
                    "fop": "CC",
                    "parentTicketNum": null,
                    "parentIssueDate": null,
                    "fareBasis": "SEOB3BR6/CH25",
                    "commissionPercent": 1.00,
                    "commissionAmount": {
                        "amount": 5.4200,
                        "currencyCode": "USD"
                    },
                    "rfisc": null,
                    "isPocActive": false,
                    "isTicketExpired": false,
                    "pnrAirline": null
                },
                "refundCandidateSummary": {
                    "status": "REVIEW",
                    "product": "ARP",
                    "createdAt": "2025-02-11",
                    "waiver": null,
                    "freeText": null,
                    "ssr": null,
                    "osi": null,
                    "remark": null,
                    "endorsement": null,
                    "waiverForceFareRefundWithoutPenalty": false,
                    "rucFoid": "XXXXXXXXX",
                    "emdNum": null,
                    "emdIssueDate": null,
                    "refundRoute": "GDS",
                    "overrideRefundRoute": "GDS",
                    "availableRefundRoutes": [
                        "BSP",
                        "GDS"
                    ],
                    "identificationNotes": "CANDIDATE SEGMENTS TAKEN FROM FARE CONSTRUCTION, DIDN'T NEED TO QUOTE\n\nTax CA marked as willRefund=true\nTax XQ marked as willRefund=true\nTax XG marked as willRefund=true\nStatus changed NEW->REVIEW\nStatus locked to REVIEW\nARP Refund for Agency always REVIEW\nTried to change from locked status REVIEW to READY\nARP READY - FULL REFUND, SIMPLE, NOT Airline 125\nTried to change from locked status REVIEW to READY\nHas related refunds: \nUpdated -> waiver Force Fare Refund Without Penalty changed by agent@agency.com from true to false at 2025-02-12T00:37:31.840653618",
                    "notes": null,
                    "operatorNotes": "GASTOS ADM USD 20.00 + IGV",
                    "isAdminFeeApplicable": true,
                    "isVisibleToClient": true,
                    "calcError": null,
                    "calcTaxRefundability": "{\"SQ\":[1,{\"tax_code\":\"SQ\",\"total_paid\":{\"amount\":\"28.9\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"28.9\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"0.0\",\"currency_code\":\"USD\"},\"safe_refundable\":[{\"amount\":\"28.9\",\"currency_code\":\"USD\"}],\"applied_in_segments\":[{\"origin\":\"YUL\",\"destination\":\"BOG\",\"is_taxable_segment_open\":true,\"is_flight_segment_open\":[true],\"tax_code\":\"SQ\",\"tax_sequence\":6676,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"USE\",\"tax_amount\":\"40.0\",\"tax_currency\":[\"CAD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"273.88\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":true,\"computed_tax_amount\":{\"amount\":\"40.0\",\"currency_code\":\"CAD\"},\"segment_idx\":[1],\"tax_name\":[\"Airport Improvement Fee (AIF), Intl.\"],\"tax_country_code\":[\"CA\"],\"origin_country\":[\"CA\"],\"destination_country\":[\"CO\"],\"local_paid\":[{\"amount\":\"28.9\",\"currency_code\":\"USD\"}]}]}],\"HW\":[1,{\"tax_code\":\"HW\",\"total_paid\":{\"amount\":\"30.95\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"30.95\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"0.00\",\"currency_code\":\"USD\"},\"safe_refundable\":[{\"amount\":\"30.95\",\"currency_code\":\"USD\"}],\"applied_in_segments\":[{\"origin\":\"LIM\",\"destination\":\"BOG\",\"is_taxable_segment_open\":true,\"is_flight_segment_open\":[true],\"tax_code\":\"HW\",\"tax_sequence\":7410,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"USE\",\"tax_amount\":\"30.95\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"273.88\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":true,\"computed_tax_amount\":{\"amount\":\"30.95\",\"currency_code\":\"USD\"},\"segment_idx\":[2],\"tax_name\":[\"Airport Departure Tax (International)\"],\"tax_country_code\":[\"PE\"],\"origin_country\":[\"PE\"],\"destination_country\":[\"CO\"],\"local_paid\":[{\"amount\":\"30.95\",\"currency_code\":\"USD\"}]}]}],\"DY\":[1,{\"tax_code\":\"DY\",\"total_paid\":{\"amount\":\"15.0\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"15.0\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"0.0\",\"currency_code\":\"USD\"},\"safe_refundable\":[{\"amount\":\"15.0\",\"currency_code\":\"USD\"}],\"applied_in_segments\":[{\"origin\":\"BOG\",\"destination\":\"LIM\",\"is_taxable_segment_open\":true,\"is_flight_segment_open\":[true],\"tax_code\":\"DY\",\"tax_sequence\":7247,\"tax_point\":\"ARRIVAL\",\"tax_remit\":\"USE\",\"tax_amount\":\"15.0\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"273.88\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":true,\"computed_tax_amount\":{\"amount\":\"15.0\",\"currency_code\":\"USD\"},\"segment_idx\":[1],\"tax_name\":[\"Tourism Arrival Tax\"],\"tax_country_code\":[\"PE\"],\"origin_country\":[\"CO\"],\"destination_country\":[\"PE\"],\"local_paid\":[{\"amount\":\"15.0\",\"currency_code\":\"USD\"}]}]}],\"CA\":[1,{\"tax_code\":\"CA\",\"total_paid\":{\"amount\":\"24.9\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"24.9\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"0.0\",\"currency_code\":\"USD\"},\"safe_refundable\":[{\"amount\":\"24.9\",\"currency_code\":\"USD\"}],\"applied_in_segments\":[{\"origin\":\"YUL\",\"destination\":\"BOG\",\"is_taxable_segment_open\":true,\"is_flight_segment_open\":[true],\"tax_code\":\"CA\",\"tax_sequence\":7160,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"SALE\",\"tax_amount\":\"34.42\",\"tax_currency\":[\"CAD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"273.88\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":true,\"computed_tax_amount\":{\"amount\":\"34.42\",\"currency_code\":\"CAD\"},\"segment_idx\":[1],\"tax_name\":[\"Air Travellers Security Charge (Intl)\"],\"tax_country_code\":[\"CA\"],\"origin_country\":[\"CA\"],\"destination_country\":[\"CO\"],\"local_paid\":[{\"amount\":\"24.9\",\"currency_code\":\"USD\"}]}]}],\"XQ\":[1,{\"tax_code\":\"XQ\",\"total_paid\":{\"amount\":\"2.9\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"2.90\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"0.00\",\"currency_code\":\"USD\"},\"safe_refundable\":[{\"amount\":\"2.9\",\"currency_code\":\"USD\"}],\"applied_in_segments\":[{\"origin\":\"YUL\",\"destination\":\"BOG\",\"is_taxable_segment_open\":true,\"is_flight_segment_open\":[true],\"tax_code\":\"XQ\",\"tax_sequence\":0,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"SALE\",\"tax_amount\":\"1.45\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"273.88\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":true,\"computed_tax_amount\":{\"amount\":\"1.45\",\"currency_code\":\"USD\"},\"segment_idx\":[1],\"tax_name\":[\"Quebec Sales Tax\"],\"tax_country_code\":[\"CA\"],\"origin_country\":[\"CA\"],\"destination_country\":[\"CO\"],\"local_paid\":[{\"amount\":\"1.45\",\"currency_code\":\"USD\"}]},{\"origin\":\"LIM\",\"destination\":\"BOG\",\"is_taxable_segment_open\":true,\"is_flight_segment_open\":[true],\"tax_code\":\"XQ\",\"tax_sequence\":0,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"SALE\",\"tax_amount\":\"1.45\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"273.88\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":true,\"computed_tax_amount\":{\"amount\":\"1.45\",\"currency_code\":\"USD\"},\"segment_idx\":[2],\"tax_name\":[\"Quebec Sales Tax\"],\"tax_country_code\":[\"CA\"],\"origin_country\":[\"PE\"],\"destination_country\":[\"CO\"],\"local_paid\":[{\"amount\":\"1.45\",\"currency_code\":\"USD\"}]}]}],\"XG\":[1,{\"tax_code\":\"XG\",\"total_paid\":{\"amount\":\"1.4\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"1.4\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"0.0\",\"currency_code\":\"USD\"},\"safe_refundable\":[{\"amount\":\"1.4\",\"currency_code\":\"USD\"}],\"applied_in_segments\":[{\"origin\":\"YUL\",\"destination\":\"BOG\",\"is_taxable_segment_open\":true,\"is_flight_segment_open\":[true],\"tax_code\":\"XG\",\"tax_sequence\":0,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"SALE\",\"tax_amount\":\"0.7\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"273.88\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":true,\"computed_tax_amount\":{\"amount\":\"0.7\",\"currency_code\":\"USD\"},\"segment_idx\":[1],\"tax_name\":[\"Goods and Services Tax (GST)\"],\"tax_country_code\":[\"CA\"],\"origin_country\":[\"CA\"],\"destination_country\":[\"CO\"],\"local_paid\":[{\"amount\":\"0.7\",\"currency_code\":\"USD\"}]},{\"origin\":\"LIM\",\"destination\":\"BOG\",\"is_taxable_segment_open\":true,\"is_flight_segment_open\":[true],\"tax_code\":\"XG\",\"tax_sequence\":0,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"SALE\",\"tax_amount\":\"0.7\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"273.88\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":true,\"computed_tax_amount\":{\"amount\":\"0.7\",\"currency_code\":\"USD\"},\"segment_idx\":[2],\"tax_name\":[\"Goods and Services Tax (GST)\"],\"tax_country_code\":[\"CA\"],\"origin_country\":[\"PE\"],\"destination_country\":[\"CO\"],\"local_paid\":[{\"amount\":\"0.7\",\"currency_code\":\"USD\"}]}]}]}",
                    "amountsSummary": {
                        "baseFare": {
                            "amount": 542.00,
                            "currencyCode": "USD"
                        },
                        "fareToRefund": {
                            "amount": 542.00,
                            "currencyCode": "USD"
                        },
                        "taxesPaid": {
                            "amount": 104.05,
                            "currencyCode": "USD"
                        },
                        "taxesToRefund": {
                            "amount": 104.05,
                            "currencyCode": "USD"
                        },
                        "cancellationPenalty": {
                            "amount": 0.00,
                            "currencyCode": "USD"
                        },
                        "fixedCancellationFee": {
                            "amount": 0.00,
                            "currencyCode": "USD"
                        },
                        "adminFee": {
                            "amount": 0.00,
                            "currencyCode": "USD"
                        },
                        "agencyFee": {
                            "amount": 16.95,
                            "currencyCode": "USD"
                        },
                        "cancellationFeeVat": {
                            "amount": 0,
                            "currencyCode": "USD"
                        },
                        "discountCode": null,
                        "discount": null,
                        "totalRefund": {
                            "amount": 646.05,
                            "currencyCode": "USD"
                        },
                        "cashRefund": {
                            "amount": 0,
                            "currencyCode": "USD"
                        },
                        "cardRefund": {
                            "amount": 646.05,
                            "currencyCode": "USD"
                        },
                        "additionalPenalty": null
                    },
                    "refundType": "FULL",
                    "isPerSegmentRefundable": false,
                    "clientData": {
                        "isVoluntaryFlagModifiable": true,
                        "isVoluntaryRefund": true,
                        "metadata": null
                    },
                    "overrideTaxCalculations": false,
                    "overrideBaseFareSegments": null,
                    "isGuaranteedRefund": false,
                    "shouldCancelItinerary": false,
                    "isQuotationOk": true
                },
                "coupons": [
                    {
                        "id": 201959364,
                        "idx": 1,
                        "number": 1,
                        "segmentIdx": 1,
                        "isOpen": true,
                        "status": "I",
                        "connectionType": "O",
                        "origin": "YUL",
                        "destination": "BOG",
                        "departedAt": "2025-02-26T22:25:00",
                        "fareClass": "S",
                        "brandCode": "FLEX",
                        "fareBasis": "SEOB3BR6/CH25",
                        "marketingAirline": "AV",
                        "flightNum": "201"
                    },
                    {
                        "id": 201959365,
                        "idx": 2,
                        "number": 2,
                        "segmentIdx": 1,
                        "isOpen": true,
                        "status": "I",
                        "connectionType": "X",
                        "origin": "BOG",
                        "destination": "LIM",
                        "departedAt": "2025-02-27T06:50:00",
                        "fareClass": "S",
                        "brandCode": "FLEX",
                        "fareBasis": "SEOB3BR6/CH25",
                        "marketingAirline": "AV",
                        "flightNum": "49"
                    },
                    {
                        "id": 201959366,
                        "idx": 3,
                        "number": 3,
                        "segmentIdx": 2,
                        "isOpen": true,
                        "status": "I",
                        "connectionType": "O",
                        "origin": "LIM",
                        "destination": "BOG",
                        "departedAt": "2025-03-09T06:35:00",
                        "fareClass": "S",
                        "brandCode": "FLEX",
                        "fareBasis": "SEOB3BR6/CH25",
                        "marketingAirline": "AV",
                        "flightNum": "102"
                    },
                    {
                        "id": 201959367,
                        "idx": 4,
                        "number": 4,
                        "segmentIdx": 2,
                        "isOpen": true,
                        "status": "I",
                        "connectionType": "X",
                        "origin": "BOG",
                        "destination": "YUL",
                        "departedAt": "2025-03-09T14:20:00",
                        "fareClass": "S",
                        "brandCode": "FLEX",
                        "fareBasis": "SEOB3BR6/CH25",
                        "marketingAirline": "AV",
                        "flightNum": "200"
                    }
                ],
                "fareConstructionSummary": {
                    "fareCalculation": "YMQ AV X/BOG Q8.00AV LIM Q8.00Q YMQLIM56.25 201.63AV X/BOG Q8.00AV YMQ Q8.00Q LIMYMQ56.25 201.63NUC547.76END ROE1.368817",
                    "eitherFareConstruction": {
                        "left": null,
                        "right": {
                            "segments": [
                                {
                                    "parts": [
                                        {
                                            "index": 1,
                                            "origin": "YMQ",
                                            "airline": "AV",
                                            "destination": "BOG",
                                            "connectionType": "O",
                                            "qs": [
                                                {
                                                    "origin": "YMQ",
                                                    "destination": "BOG",
                                                    "amount": 8.00
                                                }
                                            ]
                                        },
                                        {
                                            "index": 2,
                                            "origin": "BOG",
                                            "airline": "AV",
                                            "destination": "LIM",
                                            "connectionType": "X",
                                            "qs": [
                                                {
                                                    "origin": "BOG",
                                                    "destination": "LIM",
                                                    "amount": 8.00
                                                },
                                                {
                                                    "origin": "YMQ",
                                                    "destination": "LIM",
                                                    "amount": 56.25
                                                }
                                            ]
                                        }
                                    ],
                                    "extraQs": [],
                                    "fare": 201.63,
                                    "fareBasis": null
                                },
                                {
                                    "parts": [
                                        {
                                            "index": 3,
                                            "origin": "LIM",
                                            "airline": "AV",
                                            "destination": "BOG",
                                            "connectionType": "O",
                                            "qs": [
                                                {
                                                    "origin": "LIM",
                                                    "destination": "BOG",
                                                    "amount": 8.00
                                                }
                                            ]
                                        },
                                        {
                                            "index": 4,
                                            "origin": "BOG",
                                            "airline": "AV",
                                            "destination": "YMQ",
                                            "connectionType": "X",
                                            "qs": [
                                                {
                                                    "origin": "BOG",
                                                    "destination": "YMQ",
                                                    "amount": 8.00
                                                },
                                                {
                                                    "origin": "LIM",
                                                    "destination": "YMQ",
                                                    "amount": 56.25
                                                }
                                            ]
                                        }
                                    ],
                                    "extraQs": [],
                                    "fare": 201.63,
                                    "fareBasis": null
                                }
                            ],
                            "currencyCode": "NUC",
                            "gdsSurcharge": 0,
                            "total": 547.76,
                            "roe": 1.368817,
                            "taxZP": null,
                            "combinedTaxes": [],
                            "facilityCharges": []
                        }
                    }
                },
                "badges": {
                    "ticketTypeBadge": {
                        "status": "Primary",
                        "message": "Ticket Type",
                        "label": null,
                        "value": "SIMPLE"
                    },
                    "usageBadge": {
                        "status": "Success",
                        "message": "Ticket Usage",
                        "label": null,
                        "value": "FULLY OPEN"
                    },
                    "historicPricingBadge": {
                        "status": "Success",
                        "message": "Ok, No HistoricPricing required since ticket is not partial refund.",
                        "label": "HP:",
                        "value": "OK"
                    },
                    "fareConstructionBadge": {
                        "status": "Success",
                        "message": "FareConstruction OK",
                        "label": "FC:",
                        "value": "OK"
                    },
                    "refundRouteBadge": {
                        "status": "Success",
                        "message": "FOP is CC and RefundRoute GDS",
                        "label": "Via:",
                        "value": "GDS"
                    },
                    "validFopBadge": {
                        "status": "Success",
                        "message": "FOP is CC and RefundRoute GDS",
                        "label": "FOP:",
                        "value": "CC-CLIENT"
                    },
                    "fareRefBadge": {
                        "status": "Success",
                        "message": "Fare is Refundable",
                        "label": "Fare:",
                        "value": "Ref✓"
                    },
                    "groupFareBadge": null,
                    "taxCalculationBadge": {
                        "status": "Success",
                        "message": "Tax Calculator OK",
                        "label": "Calc:",
                        "value": "OK"
                    },
                    "quoteExpiryBadge": {
                        "status": "Success",
                        "message": "Quote is up to date",
                        "label": "Up to date:",
                        "value": "YES"
                    },
                    "quoteSafetyBadge": {
                        "status": "Success",
                        "message": "Quote is safe to refund",
                        "label": "Safe:",
                        "value": "OK"
                    },
                    "guaranteedRefundBadge": null
                },
                "paidTaxes": [
                    {
                        "key": "SQ",
                        "value": {
                            "amount": 28.90,
                            "currencyCode": "USD"
                        }
                    },
                    {
                        "key": "HW",
                        "value": {
                            "amount": 30.95,
                            "currencyCode": "USD"
                        }
                    },
                    {
                        "key": "DY",
                        "value": {
                            "amount": 15.00,
                            "currencyCode": "USD"
                        }
                    },
                    {
                        "key": "CA",
                        "value": {
                            "amount": 24.90,
                            "currencyCode": "USD"
                        }
                    },
                    {
                        "key": "XQ",
                        "value": {
                            "amount": 2.90,
                            "currencyCode": "USD"
                        }
                    },
                    {
                        "key": "XG",
                        "value": {
                            "amount": 1.40,
                            "currencyCode": "USD"
                        }
                    }
                ],
                "eitherComputedTaxes": [
                    {
                        "key": "SQ",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "SQ",
                                "totalPaid": {
                                    "amount": 28.9,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 28.9,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.0,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": {
                                    "amount": 28.9,
                                    "currencyCode": "USD"
                                },
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "YUL",
                                        "destination": "BOG",
                                        "isTaxableSegmentOpen": true,
                                        "isFlightSegmentOpen": true,
                                        "taxCode": "SQ",
                                        "taxSequence": 6676,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "USE",
                                        "taxAmount": 40.0,
                                        "taxCurrency": "CAD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 273.88,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": true,
                                        "computedTaxAmount": {
                                            "amount": 40.0,
                                            "currencyCode": "CAD"
                                        },
                                        "segmentIdx": 1,
                                        "taxName": "Airport Improvement Fee (AIF), Intl.",
                                        "taxCountryCode": "CA",
                                        "originCountry": "CA",
                                        "destinationCountry": "CO",
                                        "localPaid": {
                                            "amount": 28.9,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    {
                        "key": "HW",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "HW",
                                "totalPaid": {
                                    "amount": 30.95,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 30.95,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.00,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": {
                                    "amount": 30.95,
                                    "currencyCode": "USD"
                                },
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "LIM",
                                        "destination": "BOG",
                                        "isTaxableSegmentOpen": true,
                                        "isFlightSegmentOpen": true,
                                        "taxCode": "HW",
                                        "taxSequence": 7410,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "USE",
                                        "taxAmount": 30.95,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 273.88,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": true,
                                        "computedTaxAmount": {
                                            "amount": 30.95,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 2,
                                        "taxName": "Airport Departure Tax (International)",
                                        "taxCountryCode": "PE",
                                        "originCountry": "PE",
                                        "destinationCountry": "CO",
                                        "localPaid": {
                                            "amount": 30.95,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    {
                        "key": "DY",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "DY",
                                "totalPaid": {
                                    "amount": 15.0,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 15.0,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.0,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": {
                                    "amount": 15.0,
                                    "currencyCode": "USD"
                                },
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "BOG",
                                        "destination": "LIM",
                                        "isTaxableSegmentOpen": true,
                                        "isFlightSegmentOpen": true,
                                        "taxCode": "DY",
                                        "taxSequence": 7247,
                                        "taxPoint": "ARRIVAL",
                                        "taxRemit": "USE",
                                        "taxAmount": 15.0,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 273.88,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": true,
                                        "computedTaxAmount": {
                                            "amount": 15.0,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 1,
                                        "taxName": "Tourism Arrival Tax",
                                        "taxCountryCode": "PE",
                                        "originCountry": "CO",
                                        "destinationCountry": "PE",
                                        "localPaid": {
                                            "amount": 15.0,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    {
                        "key": "CA",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "CA",
                                "totalPaid": {
                                    "amount": 24.9,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 24.9,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.0,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": {
                                    "amount": 24.9,
                                    "currencyCode": "USD"
                                },
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "YUL",
                                        "destination": "BOG",
                                        "isTaxableSegmentOpen": true,
                                        "isFlightSegmentOpen": true,
                                        "taxCode": "CA",
                                        "taxSequence": 7160,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "SALE",
                                        "taxAmount": 34.42,
                                        "taxCurrency": "CAD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 273.88,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": true,
                                        "computedTaxAmount": {
                                            "amount": 34.42,
                                            "currencyCode": "CAD"
                                        },
                                        "segmentIdx": 1,
                                        "taxName": "Air Travellers Security Charge (Intl)",
                                        "taxCountryCode": "CA",
                                        "originCountry": "CA",
                                        "destinationCountry": "CO",
                                        "localPaid": {
                                            "amount": 24.9,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    {
                        "key": "XQ",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "XQ",
                                "totalPaid": {
                                    "amount": 2.9,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 2.90,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.00,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": {
                                    "amount": 2.9,
                                    "currencyCode": "USD"
                                },
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "YUL",
                                        "destination": "BOG",
                                        "isTaxableSegmentOpen": true,
                                        "isFlightSegmentOpen": true,
                                        "taxCode": "XQ",
                                        "taxSequence": 0,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "SALE",
                                        "taxAmount": 1.45,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 273.88,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": true,
                                        "computedTaxAmount": {
                                            "amount": 1.45,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 1,
                                        "taxName": "Quebec Sales Tax",
                                        "taxCountryCode": "CA",
                                        "originCountry": "CA",
                                        "destinationCountry": "CO",
                                        "localPaid": {
                                            "amount": 1.45,
                                            "currencyCode": "USD"
                                        }
                                    },
                                    {
                                        "origin": "LIM",
                                        "destination": "BOG",
                                        "isTaxableSegmentOpen": true,
                                        "isFlightSegmentOpen": true,
                                        "taxCode": "XQ",
                                        "taxSequence": 0,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "SALE",
                                        "taxAmount": 1.45,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 273.88,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": true,
                                        "computedTaxAmount": {
                                            "amount": 1.45,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 2,
                                        "taxName": "Quebec Sales Tax",
                                        "taxCountryCode": "CA",
                                        "originCountry": "PE",
                                        "destinationCountry": "CO",
                                        "localPaid": {
                                            "amount": 1.45,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    {
                        "key": "XG",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "XG",
                                "totalPaid": {
                                    "amount": 1.4,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 1.4,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.0,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": {
                                    "amount": 1.4,
                                    "currencyCode": "USD"
                                },
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "YUL",
                                        "destination": "BOG",
                                        "isTaxableSegmentOpen": true,
                                        "isFlightSegmentOpen": true,
                                        "taxCode": "XG",
                                        "taxSequence": 0,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "SALE",
                                        "taxAmount": 0.7,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 273.88,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": true,
                                        "computedTaxAmount": {
                                            "amount": 0.7,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 1,
                                        "taxName": "Goods and Services Tax (GST)",
                                        "taxCountryCode": "CA",
                                        "originCountry": "CA",
                                        "destinationCountry": "CO",
                                        "localPaid": {
                                            "amount": 0.7,
                                            "currencyCode": "USD"
                                        }
                                    },
                                    {
                                        "origin": "LIM",
                                        "destination": "BOG",
                                        "isTaxableSegmentOpen": true,
                                        "isFlightSegmentOpen": true,
                                        "taxCode": "XG",
                                        "taxSequence": 0,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "SALE",
                                        "taxAmount": 0.7,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 273.88,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": true,
                                        "computedTaxAmount": {
                                            "amount": 0.7,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 2,
                                        "taxName": "Goods and Services Tax (GST)",
                                        "taxCountryCode": "CA",
                                        "originCountry": "PE",
                                        "destinationCountry": "CO",
                                        "localPaid": {
                                            "amount": 0.7,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    }
                ],
                "ticketFareRules": [
                    {
                        "fareBasis": "SEOB3BR6/CH25",
                        "command": "no command",
                        "content": "BETWEEN CANADA AND AREA 1 FOR SEOB3BR6 TYPE FARES   NOTE -\nGENERAL RULE DOES NOT APPLY\n \n  CANCELLATIONS\n \n    BEFORE DEPARTURE\n      CANCELLATIONS PERMITTED.\n \n    AFTER DEPARTURE\n      TICKET IS NON-REFUNDABLE.\n      WAIVED FOR SCHEDULE CHANGE/ILLNESS OR DEATH OF\n        PASSENGER OR FAMILY MEMBER.\n \n  CHANGES\n \n    BEFORE DEPARTURE\n      CHANGES PERMITTED.\n         NOTE -\n          UNFLOWN FARE COMPONENTS MUST BE CHANGED AND\n          REISSUED BEFORE ORIGINAL SCHEDULED FLIGHT.\n          CHANGES AND REISSUES TO UNFLOWN FARE\n          COMPONENTS AFTER TIME OF SCHEDULED DEPARTURE ARE\n          NOT PERMITTED.\n          NOTE-\n          -TICKETS MUST BE REISSUED WHEN ANY VOLUNTARY\n          CHANGE IS MADE BEFORE ORIGINAL SCHEDULED FLIGHT.\n \n    AFTER DEPARTURE\n      CHANGES NOT PERMITTED.\n      WAIVED FOR SCHEDULE CHANGE/ILLNESS OR DEATH OF\n        PASSENGER OR FAMILY MEMBER.\n",
                        "isSafe": true,
                        "isFareRefundable": null,
                        "origin": "YUL",
                        "destination": "LIM",
                        "fareRuleSearchType": null,
                        "details": [
                            {
                                "id": 56550930,
                                "area": "CANADA",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CANCELLATIONS",
                                "isAllowed": true,
                                "timeOfEvent": "BEFORE DEPARTURE",
                                "reason": "",
                                "amountType": "NONE",
                                "currencyCode": null,
                                "amount": null,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": "SEOB3BR6"
                            },
                            {
                                "id": 0,
                                "area": "CANADA",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CANCELLATIONS",
                                "isAllowed": false,
                                "timeOfEvent": "AFTER DEPARTURE",
                                "reason": "",
                                "amountType": "NONE",
                                "currencyCode": null,
                                "amount": null,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": "SEOB3BR6"
                            },
                            {
                                "id": 56550930,
                                "area": "CANADA",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CHANGES",
                                "isAllowed": true,
                                "timeOfEvent": "BEFORE DEPARTURE",
                                "reason": "",
                                "amountType": "NONE",
                                "currencyCode": null,
                                "amount": null,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": "SEOB3BR6"
                            },
                            {
                                "id": 0,
                                "area": "CANADA",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CHANGES",
                                "isAllowed": false,
                                "timeOfEvent": "AFTER DEPARTURE",
                                "reason": "",
                                "amountType": "NONE",
                                "currencyCode": null,
                                "amount": null,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": "SEOB3BR6"
                            }
                        ]
                    },
                    {
                        "fareBasis": "SEOB3BR6/CH25",
                        "command": "no command",
                        "content": "BETWEEN CANADA AND AREA 1 FOR SEOB3BR6 TYPE FARES   NOTE -\nGENERAL RULE DOES NOT APPLY\n \n  CANCELLATIONS\n \n    BEFORE DEPARTURE\n      CANCELLATIONS PERMITTED.\n \n    AFTER DEPARTURE\n      TICKET IS NON-REFUNDABLE.\n      WAIVED FOR SCHEDULE CHANGE/ILLNESS OR DEATH OF\n        PASSENGER OR FAMILY MEMBER.\n \n  CHANGES\n \n    BEFORE DEPARTURE\n      CHANGES PERMITTED.\n         NOTE -\n          UNFLOWN FARE COMPONENTS MUST BE CHANGED AND\n          REISSUED BEFORE ORIGINAL SCHEDULED FLIGHT.\n          CHANGES AND REISSUES TO UNFLOWN FARE\n          COMPONENTS AFTER TIME OF SCHEDULED DEPARTURE ARE\n          NOT PERMITTED.\n          NOTE-\n          -TICKETS MUST BE REISSUED WHEN ANY VOLUNTARY\n          CHANGE IS MADE BEFORE ORIGINAL SCHEDULED FLIGHT.\n \n    AFTER DEPARTURE\n      CHANGES NOT PERMITTED.\n      WAIVED FOR SCHEDULE CHANGE/ILLNESS OR DEATH OF\n        PASSENGER OR FAMILY MEMBER.\n",
                        "isSafe": true,
                        "isFareRefundable": null,
                        "origin": "LIM",
                        "destination": "YUL",
                        "fareRuleSearchType": null,
                        "details": [
                            {
                                "id": 56550930,
                                "area": "CANADA",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CANCELLATIONS",
                                "isAllowed": true,
                                "timeOfEvent": "BEFORE DEPARTURE",
                                "reason": "",
                                "amountType": "NONE",
                                "currencyCode": null,
                                "amount": null,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": "SEOB3BR6"
                            },
                            {
                                "id": 0,
                                "area": "CANADA",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CANCELLATIONS",
                                "isAllowed": false,
                                "timeOfEvent": "AFTER DEPARTURE",
                                "reason": "",
                                "amountType": "NONE",
                                "currencyCode": null,
                                "amount": null,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": "SEOB3BR6"
                            },
                            {
                                "id": 56550930,
                                "area": "CANADA",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CHANGES",
                                "isAllowed": true,
                                "timeOfEvent": "BEFORE DEPARTURE",
                                "reason": "",
                                "amountType": "NONE",
                                "currencyCode": null,
                                "amount": null,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": "SEOB3BR6"
                            },
                            {
                                "id": 0,
                                "area": "CANADA",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CHANGES",
                                "isAllowed": false,
                                "timeOfEvent": "AFTER DEPARTURE",
                                "reason": "",
                                "amountType": "NONE",
                                "currencyCode": null,
                                "amount": null,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": "SEOB3BR6"
                            }
                        ]
                    }
                ],
                "ticketStructuredFareRule": null,
                "taxes": [
                    {
                        "code": "CA",
                        "amount": 24.90,
                        "currencyCode": "USD",
                        "isRefundable": true,
                        "willRefund": true,
                        "taxRemit": "SALE"
                    },
                    {
                        "code": "DY",
                        "amount": 15.00,
                        "currencyCode": "USD",
                        "isRefundable": true,
                        "willRefund": true,
                        "taxRemit": "USE"
                    },
                    {
                        "code": "HW",
                        "amount": 30.95,
                        "currencyCode": "USD",
                        "isRefundable": true,
                        "willRefund": true,
                        "taxRemit": "USE"
                    },
                    {
                        "code": "SQ",
                        "amount": 28.90,
                        "currencyCode": "USD",
                        "isRefundable": true,
                        "willRefund": true,
                        "taxRemit": "USE"
                    },
                    {
                        "code": "XG",
                        "amount": 1.40,
                        "currencyCode": "USD",
                        "isRefundable": true,
                        "willRefund": true,
                        "taxRemit": "SALE"
                    },
                    {
                        "code": "XQ",
                        "amount": 2.90,
                        "currencyCode": "USD",
                        "isRefundable": true,
                        "willRefund": true,
                        "taxRemit": "SALE"
                    }
                ],
                "rules": [
                    {
                        "couponId": 201959364,
                        "segmentIdx": 1,
                        "penaltyType": "NONE",
                        "penaltyPercent": null,
                        "penaltyAmount": {
                            "amount": 0,
                            "currencyCode": "USD"
                        },
                        "originalCurrencyPenaltyAmount": null,
                        "ruleAllowsRefund": true,
                        "isWorthRefunding": true,
                        "cancellationFareRuleDetailId": -1,
                        "changeFareRuleDetailId": -1,
                        "isSecondPenalty": false
                    }
                ],
                "segments": [
                    {
                        "couponId": 201959364,
                        "segmentOrigin": "YUL",
                        "segmentDestination": "LIM",
                        "isOpen": true,
                        "baseFare": {
                            "amount": 199.425778553003659800,
                            "currencyCode": "USD"
                        },
                        "originalCurrencyBaseFare": {
                            "amount": 201.63,
                            "currencyCode": "NUC"
                        },
                        "segmentQ": {
                            "amount": 71.460162180501485000,
                            "currencyCode": "USD"
                        },
                        "originalCurrencySegmentQ": {
                            "amount": 72.25,
                            "currencyCode": "NUC"
                        }
                    },
                    {
                        "couponId": 201959366,
                        "segmentOrigin": "LIM",
                        "segmentDestination": "YUL",
                        "isOpen": true,
                        "baseFare": {
                            "amount": 199.425778553003659800,
                            "currencyCode": "USD"
                        },
                        "originalCurrencyBaseFare": {
                            "amount": 201.63,
                            "currencyCode": "NUC"
                        },
                        "segmentQ": {
                            "amount": 71.460162180501485000,
                            "currencyCode": "USD"
                        },
                        "originalCurrencySegmentQ": {
                            "amount": 72.25,
                            "currencyCode": "NUC"
                        }
                    }
                ],
                "historicalPricings": [],
                "parents": [],
                "attachments": [],
                "refundableNow": {
                    "isRefundableNow": false,
                    "isRefundingNow": false,
                    "isResubmit": false
                },
                "retryableNow": {
                    "isRetryableNow": false,
                    "isRefundableNow": false,
                    "isRefundingNow": false,
                    "isResubmit": false
                },
                "agencyAndAirlineReservationHistory": {
                    "agencyHistory": null,
                    "airlineHistory": null
                },
                "additionalPenaltyRules": [],
                "maybeRejectionReason": null,
                "travelAgencyId": 33,
                "requestAt": null,
                "clientData": {
                    "ticketNum": null,
                    "emailReservation": null,
                    "channel": null,
                    "subChannel": null,
                    "activeReserve": null,
                    "firstName": null,
                    "middleName": null,
                    "lastName": null,
                    "secondLastName": null,
                    "isSplitPnr": null,
                    "pnrNew": null,
                    "cancelPnrDateNew": null,
                    "cancelPnrDate": null,
                    "frequentFlyerNumber": null,
                    "saleCountry": null,
                    "coupons": [
                        {
                            "idx": null,
                            "cancelCouponDate": null
                        }
                    ],
                    "isOriginalSale": null,
                    "formOfPayment": [
                        {
                            "fop": null,
                            "franchise": null,
                            "cardNumber": null,
                            "expDate": null,
                            "approvalCode": null
                        }
                    ],
                    "statusRefund": null,
                    "refcalRefundReason": null,
                    "refcalRefundReject": null,
                    "agentRemark": null,
                    "feeEmd": null,
                    "feeIndicator": null,
                    "feeAmount": null,
                    "feeCurrency": null,
                    "feePaymentdate": null,
                    "extraParams": null
                }
            }
        }
    }
}