{
    "data": {
        "refunds": {
            "getRefundCandidate": {
                "viewer": "OpsAgentViewer",
                "ticketSummary": {
                    "ticketId": 412094269,
                    "ticketNum": "0443583290849",
                    "pnr": "XXXXXX",
                    "iataCode": "XXXXXXXX",
                    "travelAgencyId": 70,
                    "travelAgencyName": "Agency_name",
                    "airlineName": "Aerolineas Arg",
                    "passengerName": "XXXXX/XXXXX",
                    "flightType": "International",
                    "gds": "SABRE",
                    "issueDate": "2024-10-31",
                    "validIssueDate": "2024-10-31",
                    "refundLimitDate": "2025-10-31",
                    "endorsements": "CUIT30641405554//NONEND/REF/PNTY APPL",
                    "totalFare": {
                        "amount": 607.70,
                        "currencyCode": "USD"
                    },
                    "paidBaseFare": {
                        "amount": 482.00,
                        "currencyCode": "USD"
                    },
                    "fopData": {
                        "equivalentFare": null,
                        "cardPayment": 0.00,
                        "cashPayment": 607.70,
                        "taxPayment": {
                            "amount": 125.70,
                            "currencyCode": "USD"
                        }
                    },
                    "fop": "CA",
                    "parentTicketNum": null,
                    "parentIssueDate": null,
                    "fareBasis": "QHOWAEP,HHOWAEP",
                    "commissionPercent": 0.00,
                    "commissionAmount": {
                        "amount": 0.0000,
                        "currencyCode": "USD"
                    },
                    "rfisc": null,
                    "isPocActive": false,
                    "isTicketExpired": false,
                    "pnrAirline": "SYYWJQ"
                },
                "refundCandidateSummary": {
                    "status": "REVIEW",
                    "product": "ARP",
                    "createdAt": "2025-02-13",
                    "waiver": null,
                    "freeText": null,
                    "ssr": null,
                    "osi": null,
                    "remark": null,
                    "endorsement": null,
                    "waiverForceFareRefundWithoutPenalty": true,
                    "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 AR 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\nWATCHOUT: Failed to update related refunds --> No need to check for related refunds",
                    "notes": null,
                    "operatorNotes": null,
                    "isAdminFeeApplicable": true,
                    "isVisibleToClient": true,
                    "calcError": null,
                    "calcTaxRefundability": "{\"QO\":[1,{\"tax_code\":\"QO\",\"total_paid\":{\"amount\":\"10.0\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"10.0\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"0.0\",\"currency_code\":\"USD\"},\"safe_refundable\":[],\"applied_in_segments\":[{\"origin\":\"AEP\",\"destination\":\"FLN\",\"is_taxable_segment_open\":false,\"is_flight_segment_open\":[false],\"tax_code\":\"QO\",\"tax_sequence\":6335,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"USE\",\"tax_amount\":\"10.0\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"219.00\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":false,\"computed_tax_amount\":{\"amount\":\"10.0\",\"currency_code\":\"USD\"},\"segment_idx\":[1],\"tax_name\":[\"Custom and Immigration Services Tax (International)\"],\"tax_country_code\":[\"AR\"],\"origin_country\":[\"AR\"],\"destination_country\":[\"BR\"],\"local_paid\":[{\"amount\":\"10.0\",\"currency_code\":\"USD\"}]}]}],\"S7\":[1,{\"tax_code\":\"S7\",\"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\":[],\"applied_in_segments\":[{\"origin\":\"AEP\",\"destination\":\"FLN\",\"is_taxable_segment_open\":false,\"is_flight_segment_open\":[false],\"tax_code\":\"S7\",\"tax_sequence\":38114,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"USE\",\"tax_amount\":\"1.4\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"219.00\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":false,\"computed_tax_amount\":{\"amount\":\"1.4\",\"currency_code\":\"USD\"},\"segment_idx\":[1],\"tax_name\":[\"Aviation Security Fee - PSA (International)\"],\"tax_country_code\":[\"AR\"],\"origin_country\":[\"AR\"],\"destination_country\":[\"BR\"],\"local_paid\":[{\"amount\":\"1.4\",\"currency_code\":\"USD\"}]}]}],\"TQ\":[1,{\"tax_code\":\"TQ\",\"total_paid\":{\"amount\":\"8.0\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"8.0\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"0.0\",\"currency_code\":\"USD\"},\"safe_refundable\":[],\"applied_in_segments\":[{\"origin\":\"AEP\",\"destination\":\"FLN\",\"is_taxable_segment_open\":false,\"is_flight_segment_open\":[false],\"tax_code\":\"TQ\",\"tax_sequence\":6749,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"USE\",\"tax_amount\":\"8.0\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"219.00\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":false,\"computed_tax_amount\":{\"amount\":\"8.0\",\"currency_code\":\"USD\"},\"segment_idx\":[1],\"tax_name\":[\"Security Tax (International)\"],\"tax_country_code\":[\"AR\"],\"origin_country\":[\"AR\"],\"destination_country\":[\"BR\"],\"local_paid\":[{\"amount\":\"8.0\",\"currency_code\":\"USD\"}]}]}],\"AR\":[1,{\"tax_code\":\"AR\",\"total_paid\":{\"amount\":\"33.7\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"33.69\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"-0.01\",\"currency_code\":\"USD\"},\"safe_refundable\":[{\"amount\":\"18.38545562481448501038883941822499\",\"currency_code\":\"USD\"}],\"applied_in_segments\":[{\"origin\":\"AEP\",\"destination\":\"FLN\",\"is_taxable_segment_open\":false,\"is_flight_segment_open\":[false],\"tax_code\":\"AR\",\"tax_sequence\":0,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"SALE\",\"tax_amount\":\"15.31\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"219.00\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":false,\"computed_tax_amount\":{\"amount\":\"15.31\",\"currency_code\":\"USD\"},\"segment_idx\":[1],\"tax_name\":[\"Ticket Tax\"],\"tax_country_code\":[\"AR\"],\"origin_country\":[\"AR\"],\"destination_country\":[\"BR\"],\"local_paid\":[{\"amount\":\"15.31\",\"currency_code\":\"USD\"}]},{\"origin\":\"FLN\",\"destination\":\"AEP\",\"is_taxable_segment_open\":true,\"is_flight_segment_open\":[true],\"tax_code\":\"AR\",\"tax_sequence\":0,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"SALE\",\"tax_amount\":\"18.38\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"263.00\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":true,\"computed_tax_amount\":{\"amount\":\"18.38\",\"currency_code\":\"USD\"},\"segment_idx\":[2],\"tax_name\":[\"Ticket Tax\"],\"tax_country_code\":[\"AR\"],\"origin_country\":[\"BR\"],\"destination_country\":[\"AR\"],\"local_paid\":[{\"amount\":\"18.38\",\"currency_code\":\"USD\"}]}]}],\"BR\":[1,{\"tax_code\":\"BR\",\"total_paid\":{\"amount\":\"15.6\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"15.6\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"0.0\",\"currency_code\":\"USD\"},\"safe_refundable\":[{\"amount\":\"15.6\",\"currency_code\":\"USD\"}],\"applied_in_segments\":[{\"origin\":\"FLN\",\"destination\":\"AEP\",\"is_taxable_segment_open\":true,\"is_flight_segment_open\":[true],\"tax_code\":\"BR\",\"tax_sequence\":5176,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"USE\",\"tax_amount\":\"90.18\",\"tax_currency\":[\"BRL\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"263.00\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":true,\"computed_tax_amount\":{\"amount\":\"90.18\",\"currency_code\":\"BRL\"},\"segment_idx\":[2],\"tax_name\":[\"Embarkation Fee (International)\"],\"tax_country_code\":[\"BR\"],\"origin_country\":[\"BR\"],\"destination_country\":[\"AR\"],\"local_paid\":[{\"amount\":\"15.6\",\"currency_code\":\"USD\"}]}]}],\"XR\":[1,{\"tax_code\":\"XR\",\"total_paid\":{\"amount\":\"57.0\",\"currency_code\":\"USD\"},\"total_computed\":{\"amount\":\"57.0\",\"currency_code\":\"USD\"},\"diff_with_charged_in_usd\":{\"amount\":\"0.0\",\"currency_code\":\"USD\"},\"safe_refundable\":[],\"applied_in_segments\":[{\"origin\":\"AEP\",\"destination\":\"FLN\",\"is_taxable_segment_open\":false,\"is_flight_segment_open\":[false],\"tax_code\":\"XR\",\"tax_sequence\":5133,\"tax_point\":\"DEPARTURE\",\"tax_remit\":\"USE\",\"tax_amount\":\"57.0\",\"tax_currency\":[\"USD\"],\"tax_percent_flat\":\"FLAT\",\"percent_over_amount\":[{\"amount\":\"219.00\",\"currency_code\":\"NUC\"}],\"is_part_refundable\":false,\"computed_tax_amount\":{\"amount\":\"57.0\",\"currency_code\":\"USD\"},\"segment_idx\":[1],\"tax_name\":[\"Airport Tax (International)\"],\"tax_country_code\":[\"AR\"],\"origin_country\":[\"AR\"],\"destination_country\":[\"BR\"],\"local_paid\":[{\"amount\":\"57.0\",\"currency_code\":\"USD\"}]}]}]}",
                    "amountsSummary": {
                        "baseFare": {
                            "amount": 482.00,
                            "currencyCode": "USD"
                        },
                        "fareToRefund": {
                            "amount": 263.00,
                            "currencyCode": "USD"
                        },
                        "taxesPaid": {
                            "amount": 125.70,
                            "currencyCode": "USD"
                        },
                        "taxesToRefund": {
                            "amount": 33.99,
                            "currencyCode": "USD"
                        },
                        "cancellationPenalty": {
                            "amount": 100.00,
                            "currencyCode": "USD"
                        },
                        "fixedCancellationFee": {
                            "amount": 0.00,
                            "currencyCode": "USD"
                        },
                        "adminFee": {
                            "amount": 0.00,
                            "currencyCode": "USD"
                        },
                        "agencyFee": null,
                        "cancellationFeeVat": {
                            "amount": 0,
                            "currencyCode": "USD"
                        },
                        "discountCode": null,
                        "discount": null,
                        "totalRefund": {
                            "amount": 196.99,
                            "currencyCode": "USD"
                        },
                        "cashRefund": {
                            "amount": 196.99,
                            "currencyCode": "USD"
                        },
                        "cardRefund": {
                            "amount": 0,
                            "currencyCode": "USD"
                        },
                        "additionalPenalty": null
                    },
                    "refundType": "PARTIAL",
                    "isPerSegmentRefundable": false,
                    "clientData": {
                        "isVoluntaryFlagModifiable": false,
                        "isVoluntaryRefund": true,
                        "metadata": null
                    },
                    "overrideTaxCalculations": false,
                    "overrideBaseFareSegments": null,
                    "isGuaranteedRefund": false,
                    "shouldCancelItinerary": false,
                    "isQuotationOk": true
                },
                "coupons": [
                    {
                        "id": 212479747,
                        "idx": 1,
                        "number": 1,
                        "segmentIdx": 1,
                        "isOpen": false,
                        "status": "USED",
                        "connectionType": "O",
                        "origin": "AEP",
                        "destination": "FLN",
                        "departedAt": "2025-01-22T18:00:00",
                        "fareClass": "Q",
                        "brandCode": null,
                        "fareBasis": "QHOWAEP",
                        "marketingAirline": "AR",
                        "flightNum": "1208"
                    },
                    {
                        "id": 212479748,
                        "idx": 2,
                        "number": 2,
                        "segmentIdx": 2,
                        "isOpen": true,
                        "status": "OPEN",
                        "connectionType": "O",
                        "origin": "FLN",
                        "destination": "AEP",
                        "departedAt": "2025-02-08T21:05:00",
                        "fareClass": "H",
                        "brandCode": null,
                        "fareBasis": "HHOWAEP",
                        "marketingAirline": "AR",
                        "flightNum": "1209"
                    }
                ],
                "fareConstructionSummary": {
                    "fareCalculation": "BUE AR FLN219.00AR BUE263.00NUC482.00END ROE1.00",
                    "eitherFareConstruction": {
                        "left": null,
                        "right": {
                            "segments": [
                                {
                                    "parts": [
                                        {
                                            "index": 1,
                                            "origin": "BUE",
                                            "airline": "AR",
                                            "destination": "FLN",
                                            "connectionType": "O",
                                            "qs": []
                                        }
                                    ],
                                    "extraQs": [],
                                    "fare": 219.00,
                                    "fareBasis": null
                                },
                                {
                                    "parts": [
                                        {
                                            "index": 2,
                                            "origin": "FLN",
                                            "airline": "AR",
                                            "destination": "BUE",
                                            "connectionType": "O",
                                            "qs": []
                                        }
                                    ],
                                    "extraQs": [],
                                    "fare": 263.00,
                                    "fareBasis": null
                                }
                            ],
                            "currencyCode": "NUC",
                            "gdsSurcharge": 0,
                            "total": 482.00,
                            "roe": 1.00,
                            "taxZP": null,
                            "combinedTaxes": [],
                            "facilityCharges": []
                        }
                    }
                },
                "badges": {
                    "ticketTypeBadge": {
                        "status": "Primary",
                        "message": "Ticket Type",
                        "label": null,
                        "value": "SIMPLE"
                    },
                    "usageBadge": {
                        "status": "Primary",
                        "message": "Ticket Usage",
                        "label": null,
                        "value": "PARTIALLY OPEN"
                    },
                    "historicPricingBadge": {
                        "status": "Success",
                        "message": "Ok, No HistoricPricing required and all segment taken from FareConstruction.",
                        "label": "HP:",
                        "value": "FC"
                    },
                    "fareConstructionBadge": {
                        "status": "Success",
                        "message": "FareConstruction OK",
                        "label": "FC:",
                        "value": "OK"
                    },
                    "refundRouteBadge": {
                        "status": "Success",
                        "message": "Valid FOP And RefundRoute combination",
                        "label": "Via:",
                        "value": "GDS"
                    },
                    "validFopBadge": {
                        "status": "Success",
                        "message": "Valid FOP And RefundRoute combination",
                        "label": "FOP:",
                        "value": "CA"
                    },
                    "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": "QO",
                        "value": {
                            "amount": 10.00,
                            "currencyCode": "USD"
                        }
                    },
                    {
                        "key": "S7",
                        "value": {
                            "amount": 1.40,
                            "currencyCode": "USD"
                        }
                    },
                    {
                        "key": "TQ",
                        "value": {
                            "amount": 8.00,
                            "currencyCode": "USD"
                        }
                    },
                    {
                        "key": "AR",
                        "value": {
                            "amount": 33.70,
                            "currencyCode": "USD"
                        }
                    },
                    {
                        "key": "BR",
                        "value": {
                            "amount": 15.60,
                            "currencyCode": "USD"
                        }
                    },
                    {
                        "key": "XR",
                        "value": {
                            "amount": 57.00,
                            "currencyCode": "USD"
                        }
                    }
                ],
                "eitherComputedTaxes": [
                    {
                        "key": "QO",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "QO",
                                "totalPaid": {
                                    "amount": 10.0,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 10.0,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.0,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": null,
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "AEP",
                                        "destination": "FLN",
                                        "isTaxableSegmentOpen": false,
                                        "isFlightSegmentOpen": false,
                                        "taxCode": "QO",
                                        "taxSequence": 6335,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "USE",
                                        "taxAmount": 10.0,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 219.00,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": false,
                                        "computedTaxAmount": {
                                            "amount": 10.0,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 1,
                                        "taxName": "Custom and Immigration Services Tax (International)",
                                        "taxCountryCode": "AR",
                                        "originCountry": "AR",
                                        "destinationCountry": "BR",
                                        "localPaid": {
                                            "amount": 10.0,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    {
                        "key": "S7",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "S7",
                                "totalPaid": {
                                    "amount": 1.4,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 1.4,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.0,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": null,
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "AEP",
                                        "destination": "FLN",
                                        "isTaxableSegmentOpen": false,
                                        "isFlightSegmentOpen": false,
                                        "taxCode": "S7",
                                        "taxSequence": 38114,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "USE",
                                        "taxAmount": 1.4,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 219.00,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": false,
                                        "computedTaxAmount": {
                                            "amount": 1.4,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 1,
                                        "taxName": "Aviation Security Fee - PSA (International)",
                                        "taxCountryCode": "AR",
                                        "originCountry": "AR",
                                        "destinationCountry": "BR",
                                        "localPaid": {
                                            "amount": 1.4,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    {
                        "key": "TQ",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "TQ",
                                "totalPaid": {
                                    "amount": 8.0,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 8.0,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.0,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": null,
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "AEP",
                                        "destination": "FLN",
                                        "isTaxableSegmentOpen": false,
                                        "isFlightSegmentOpen": false,
                                        "taxCode": "TQ",
                                        "taxSequence": 6749,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "USE",
                                        "taxAmount": 8.0,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 219.00,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": false,
                                        "computedTaxAmount": {
                                            "amount": 8.0,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 1,
                                        "taxName": "Security Tax (International)",
                                        "taxCountryCode": "AR",
                                        "originCountry": "AR",
                                        "destinationCountry": "BR",
                                        "localPaid": {
                                            "amount": 8.0,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    {
                        "key": "AR",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "AR",
                                "totalPaid": {
                                    "amount": 33.7,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 33.69,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": -0.01,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": {
                                    "amount": 18.38545562481448501038883941822499,
                                    "currencyCode": "USD"
                                },
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "AEP",
                                        "destination": "FLN",
                                        "isTaxableSegmentOpen": false,
                                        "isFlightSegmentOpen": false,
                                        "taxCode": "AR",
                                        "taxSequence": 0,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "SALE",
                                        "taxAmount": 15.31,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 219.00,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": false,
                                        "computedTaxAmount": {
                                            "amount": 15.31,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 1,
                                        "taxName": "Ticket Tax",
                                        "taxCountryCode": "AR",
                                        "originCountry": "AR",
                                        "destinationCountry": "BR",
                                        "localPaid": {
                                            "amount": 15.31,
                                            "currencyCode": "USD"
                                        }
                                    },
                                    {
                                        "origin": "FLN",
                                        "destination": "AEP",
                                        "isTaxableSegmentOpen": true,
                                        "isFlightSegmentOpen": true,
                                        "taxCode": "AR",
                                        "taxSequence": 0,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "SALE",
                                        "taxAmount": 18.38,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 263.00,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": true,
                                        "computedTaxAmount": {
                                            "amount": 18.38,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 2,
                                        "taxName": "Ticket Tax",
                                        "taxCountryCode": "AR",
                                        "originCountry": "BR",
                                        "destinationCountry": "AR",
                                        "localPaid": {
                                            "amount": 18.38,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    {
                        "key": "BR",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "BR",
                                "totalPaid": {
                                    "amount": 15.6,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 15.6,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.0,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": {
                                    "amount": 15.6,
                                    "currencyCode": "USD"
                                },
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "FLN",
                                        "destination": "AEP",
                                        "isTaxableSegmentOpen": true,
                                        "isFlightSegmentOpen": true,
                                        "taxCode": "BR",
                                        "taxSequence": 5176,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "USE",
                                        "taxAmount": 90.18,
                                        "taxCurrency": "BRL",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 263.00,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": true,
                                        "computedTaxAmount": {
                                            "amount": 90.18,
                                            "currencyCode": "BRL"
                                        },
                                        "segmentIdx": 2,
                                        "taxName": "Embarkation Fee (International)",
                                        "taxCountryCode": "BR",
                                        "originCountry": "BR",
                                        "destinationCountry": "AR",
                                        "localPaid": {
                                            "amount": 15.6,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    {
                        "key": "XR",
                        "value": {
                            "left": null,
                            "right": {
                                "taxCode": "XR",
                                "totalPaid": {
                                    "amount": 57.0,
                                    "currencyCode": "USD"
                                },
                                "totalComputed": {
                                    "amount": 57.0,
                                    "currencyCode": "USD"
                                },
                                "diffWithChargedInUsd": {
                                    "amount": 0.0,
                                    "currencyCode": "USD"
                                },
                                "safeRefundable": null,
                                "isPartialRefundable": null,
                                "appliedInSegments": [
                                    {
                                        "origin": "AEP",
                                        "destination": "FLN",
                                        "isTaxableSegmentOpen": false,
                                        "isFlightSegmentOpen": false,
                                        "taxCode": "XR",
                                        "taxSequence": 5133,
                                        "taxPoint": "DEPARTURE",
                                        "taxRemit": "USE",
                                        "taxAmount": 57.0,
                                        "taxCurrency": "USD",
                                        "taxPercentFlat": "FLAT",
                                        "percentOverAmount": {
                                            "amount": 219.00,
                                            "currencyCode": "NUC"
                                        },
                                        "isPartRefundable": false,
                                        "computedTaxAmount": {
                                            "amount": 57.0,
                                            "currencyCode": "USD"
                                        },
                                        "segmentIdx": 1,
                                        "taxName": "Airport Tax (International)",
                                        "taxCountryCode": "AR",
                                        "originCountry": "AR",
                                        "destinationCountry": "BR",
                                        "localPaid": {
                                            "amount": 57.0,
                                            "currencyCode": "USD"
                                        }
                                    }
                                ]
                            }
                        }
                    }
                ],
                "ticketFareRules": [
                    {
                        "fareBasis": "QHOWAEP",
                        "command": "RD31OCT24AEPFLN22JAN25QHOWAEP-AR",
                        "content": "CANCELLATIONS\n\n  ANY TIME\n    CHARGE USD 100.00 FOR CANCEL/REFUND.\n    CHILD/INFANT DISCOUNTS APPLY.\n    WAIVED FOR DEATH OF PASSENGER OR FAMILY MEMBER.\n      NOTE - TEXT BELOW NOT VALIDATED FOR AUTOPRICING.\n       NOTA 1//THE NON-REFUNDABLE AMOUNT MAY BE USED AS\n       CREDIT TOWARDS PAYMENT OF A HIGHER APPLICABLE\n       FARE. // UNUSED DOMESTIC FLIGHT CUPONS CANNOT BE\n       USED FOR INTERNATIONAL TRAVEL\n       NOTA 2//REEMBOLSO POR CAUSAS NO IMPUTABLES A LA\n       COMPANIA\n       DECESO DE PASAJERO //VER MANUAL COMERCIAL 13.8\n       DECESO DE FLIAR DIRECTO DE UN PASAJERO//SE\n       CONTEMPLA EN CASO DE PRODUCIRSE DENTRO DE LOS\n       30 DIAS DE LA FECHA DE VUELO Y CON PRESENTACION\n       DE DOCUMENTACION PROBATORIA DEL VINCULO.\n\nCHANGES\n\n  BEFORE DEPARTURE\n    CHARGE USD 50.00 FOR REISSUE/REVALIDATION.\n    CHILD/INFANT DISCOUNTS APPLY.\n      NOTE - TEXT BELOW NOT VALIDATED FOR AUTOPRICING.\n       --------------------------------------------------\n       REISSUE/REVALIDATION MUST BE COMPLETED BEFORE\n       DEPARTURE TIME OF THE ORIGINAL FLIGHT - OTHERWISE\n       IT WILL BE CONSIDERED NO SHOW AND SUCH PENALTY/\n       RESTRICTION WILL APPLY.\n       --------------------------------------------------\n       UNUSED DOMESTIC FLIGHT CUPONS CANNOT BE USED FOR\n       INTERNATIONAL TRAVEL\n\nAFTER DEPARTURE\n    CHARGE USD 75.00 FOR REISSUE/REVALIDATION.\n    CHILD/INFANT DISCOUNTS APPLY.\n      NOTE - TEXT BELOW NOT VALIDATED FOR AUTOPRICING.\n       --------------------------------------------------\n       REISSUE/REVALIDATION MUST BE COMPLETED BEFORE\n       DEPARTURE TIME OF THE ORIGINAL FLIGHT - OTHERWISE\n       IT WILL BE CONSIDERED NO SHOW AND SUCH PENALTY/\n       RESTRICTION WILL APPLY\n       --------------------------------------------------\n       CHARGE AFTER DEPARTURE ALSO APPLIES FOR NO-SHOW\n       -------------------------------------------------\n       UNUSED DOMESTIC FLIGHT CUPONS CANNOT BE USED FOR\n       INTERNATIONAL TRAVEL",
                        "isSafe": true,
                        "isFareRefundable": null,
                        "origin": "AEP",
                        "destination": "FLN",
                        "fareRuleSearchType": null,
                        "details": [
                            {
                                "id": 59796309,
                                "area": "",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CANCELLATIONS",
                                "isAllowed": true,
                                "timeOfEvent": "ANY TIME",
                                "reason": "CANCEL/REFUND",
                                "amountType": "FIXED",
                                "currencyCode": "USD",
                                "amount": 100.00,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": null
                            },
                            {
                                "id": 59796309,
                                "area": "",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CHANGES",
                                "isAllowed": true,
                                "timeOfEvent": "AFTER DEPARTURE",
                                "reason": "REISSUE/REVALIDATION",
                                "amountType": "FIXED",
                                "currencyCode": "USD",
                                "amount": 75.00,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": null
                            },
                            {
                                "id": 0,
                                "area": "",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CHANGES",
                                "isAllowed": true,
                                "timeOfEvent": "BEFORE DEPARTURE",
                                "reason": "REISSUE/REVALIDATION",
                                "amountType": "FIXED",
                                "currencyCode": "USD",
                                "amount": 50.00,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": null
                            }
                        ]
                    },
                    {
                        "fareBasis": "HHOWAEP",
                        "command": "RD31OCT24AEPFLN08FEB25HHOWAEP-AR",
                        "content": "CANCELLATIONS\n\n  ANY TIME\n    CHARGE USD 100.00 FOR CANCEL/REFUND.\n    CHILD/INFANT DISCOUNTS APPLY.\n    WAIVED FOR DEATH OF PASSENGER OR FAMILY MEMBER.\n      NOTE - TEXT BELOW NOT VALIDATED FOR AUTOPRICING.\n       NOTA 1//THE NON-REFUNDABLE AMOUNT MAY BE USED AS\n       CREDIT TOWARDS PAYMENT OF A HIGHER APPLICABLE\n       FARE. // UNUSED DOMESTIC FLIGHT CUPONS CANNOT BE\n       USED FOR INTERNATIONAL TRAVEL\n       NOTA 2//REEMBOLSO POR CAUSAS NO IMPUTABLES A LA\n       COMPANIA\n       DECESO DE PASAJERO //VER MANUAL COMERCIAL 13.8\n       DECESO DE FLIAR DIRECTO DE UN PASAJERO//SE\n       CONTEMPLA EN CASO DE PRODUCIRSE DENTRO DE LOS\n       30 DIAS DE LA FECHA DE VUELO Y CON PRESENTACION\n       DE DOCUMENTACION PROBATORIA DEL VINCULO.\n\nCHANGES\n\n  BEFORE DEPARTURE\n    CHARGE USD 50.00 FOR REISSUE/REVALIDATION.\n    CHILD/INFANT DISCOUNTS APPLY.\n      NOTE - TEXT BELOW NOT VALIDATED FOR AUTOPRICING.\n       --------------------------------------------------\n       REISSUE/REVALIDATION MUST BE COMPLETED BEFORE\n       DEPARTURE TIME OF THE ORIGINAL FLIGHT - OTHERWISE\n       IT WILL BE CONSIDERED NO SHOW AND SUCH PENALTY/\n       RESTRICTION WILL APPLY.\n       --------------------------------------------------\n       UNUSED DOMESTIC FLIGHT CUPONS CANNOT BE USED FOR\n       INTERNATIONAL TRAVEL\n\nAFTER DEPARTURE\n    CHARGE USD 75.00 FOR REISSUE/REVALIDATION.\n    CHILD/INFANT DISCOUNTS APPLY.\n      NOTE - TEXT BELOW NOT VALIDATED FOR AUTOPRICING.\n       --------------------------------------------------\n       REISSUE/REVALIDATION MUST BE COMPLETED BEFORE\n       DEPARTURE TIME OF THE ORIGINAL FLIGHT - OTHERWISE\n       IT WILL BE CONSIDERED NO SHOW AND SUCH PENALTY/\n       RESTRICTION WILL APPLY\n       --------------------------------------------------\n       CHARGE AFTER DEPARTURE ALSO APPLIES FOR NO-SHOW\n       -------------------------------------------------\n       UNUSED DOMESTIC FLIGHT CUPONS CANNOT BE USED FOR\n       INTERNATIONAL TRAVEL",
                        "isSafe": true,
                        "isFareRefundable": null,
                        "origin": "FLN",
                        "destination": "AEP",
                        "fareRuleSearchType": null,
                        "details": [
                            {
                                "id": 59796309,
                                "area": "",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CANCELLATIONS",
                                "isAllowed": true,
                                "timeOfEvent": "ANY TIME",
                                "reason": "CANCEL/REFUND",
                                "amountType": "FIXED",
                                "currencyCode": "USD",
                                "amount": 100.00,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": null
                            },
                            {
                                "id": 59796309,
                                "area": "",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CHANGES",
                                "isAllowed": true,
                                "timeOfEvent": "AFTER DEPARTURE",
                                "reason": "REISSUE/REVALIDATION",
                                "amountType": "FIXED",
                                "currencyCode": "USD",
                                "amount": 75.00,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": null
                            },
                            {
                                "id": 0,
                                "area": "",
                                "ticketingBefore": null,
                                "ticketingAfter": null,
                                "travelBefore": null,
                                "travelAfter": null,
                                "section": "CHANGES",
                                "isAllowed": true,
                                "timeOfEvent": "BEFORE DEPARTURE",
                                "reason": "REISSUE/REVALIDATION",
                                "amountType": "FIXED",
                                "currencyCode": "USD",
                                "amount": 50.00,
                                "chargeType": null,
                                "specialEmergencyRules": false,
                                "fareType": null
                            }
                        ]
                    }
                ],
                "ticketStructuredFareRule": null,
                "taxes": [
                    {
                        "code": "AR",
                        "amount": 18.39,
                        "currencyCode": "USD",
                        "isRefundable": true,
                        "willRefund": true,
                        "taxRemit": "SALE"
                    },
                    {
                        "code": "BR",
                        "amount": 15.60,
                        "currencyCode": "USD",
                        "isRefundable": true,
                        "willRefund": true,
                        "taxRemit": "USE"
                    },
                    {
                        "code": "QO",
                        "amount": 10.00,
                        "currencyCode": "USD",
                        "isRefundable": false,
                        "willRefund": false,
                        "taxRemit": "USE"
                    },
                    {
                        "code": "S7",
                        "amount": 1.40,
                        "currencyCode": "USD",
                        "isRefundable": false,
                        "willRefund": false,
                        "taxRemit": "USE"
                    },
                    {
                        "code": "TQ",
                        "amount": 8.00,
                        "currencyCode": "USD",
                        "isRefundable": false,
                        "willRefund": false,
                        "taxRemit": "USE"
                    },
                    {
                        "code": "XR",
                        "amount": 57.00,
                        "currencyCode": "USD",
                        "isRefundable": false,
                        "willRefund": false,
                        "taxRemit": "USE"
                    }
                ],
                "rules": [
                    {
                        "couponId": 212479747,
                        "segmentIdx": 1,
                        "penaltyType": "FIXED",
                        "penaltyPercent": null,
                        "penaltyAmount": {
                            "amount": 100.000,
                            "currencyCode": "USD"
                        },
                        "originalCurrencyPenaltyAmount": {
                            "amount": 100.000,
                            "currencyCode": "USD"
                        },
                        "ruleAllowsRefund": true,
                        "isWorthRefunding": true,
                        "cancellationFareRuleDetailId": -1,
                        "changeFareRuleDetailId": -1,
                        "isSecondPenalty": false
                    }
                ],
                "segments": [
                    {
                        "couponId": 212479747,
                        "segmentOrigin": "AEP",
                        "segmentDestination": "FLN",
                        "isOpen": false,
                        "baseFare": {
                            "amount": 219.00,
                            "currencyCode": "USD"
                        },
                        "originalCurrencyBaseFare": {
                            "amount": 219.00,
                            "currencyCode": "NUC"
                        },
                        "segmentQ": {
                            "amount": 0.00,
                            "currencyCode": "USD"
                        },
                        "originalCurrencySegmentQ": {
                            "amount": 0.00,
                            "currencyCode": "NUC"
                        }
                    },
                    {
                        "couponId": 212479748,
                        "segmentOrigin": "FLN",
                        "segmentDestination": "AEP",
                        "isOpen": true,
                        "baseFare": {
                            "amount": 263.00,
                            "currencyCode": "USD"
                        },
                        "originalCurrencyBaseFare": {
                            "amount": 263.00,
                            "currencyCode": "NUC"
                        },
                        "segmentQ": {
                            "amount": 0.00,
                            "currencyCode": "USD"
                        },
                        "originalCurrencySegmentQ": {
                            "amount": 0.00,
                            "currencyCode": "NUC"
                        }
                    }
                ],
                "historicalPricings": [],
                "parents": [],
                "attachments": [],
                "refundableNow": {
                    "isRefundableNow": false,
                    "isRefundingNow": false,
                    "isResubmit": false
                },
                "retryableNow": {
                    "isRetryableNow": false,
                    "isRefundableNow": false,
                    "isRefundingNow": false,
                    "isResubmit": false
                },
                "agencyAndAirlineReservationHistory": {
                    "agencyHistory": {
                        "pnrHistoryGroups": [
                            {
                                "savedBy": "Agency",
                                "savedDate": "2024-10-31",
                                "updatedAt": "12:27:00",
                                "ticketsIssued": [
                                    "0443583290849"
                                ],
                                "coupons": [
                                    {
                                        "status": "SS",
                                        "airline": "AR",
                                        "flightNum": "1208",
                                        "origin": "AEP",
                                        "destination": "FLN",
                                        "departure": "2024-01-22T17:55:00",
                                        "arrival": "2024-01-22T19:55:00",
                                        "bookingClass": "Q",
                                        "previousStatus": "NN",
                                        "actionCode": "AS"
                                    },
                                    {
                                        "status": "SS",
                                        "airline": "AR",
                                        "flightNum": "1209",
                                        "origin": "FLN",
                                        "destination": "AEP",
                                        "departure": "2024-02-08T21:05:00",
                                        "arrival": "2024-02-08T23:20:00",
                                        "bookingClass": "H",
                                        "previousStatus": "NN",
                                        "actionCode": "AS"
                                    }
                                ]
                            }
                        ],
                        "cancellationReasons": []
                    },
                    "airlineHistory": null
                },
                "additionalPenaltyRules": [],
                "maybeRejectionReason": null,
                "travelAgencyId": 70,
                "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
                }
            }
        }
    }
}