[
    {
        "service": "financial",
        "endpoint": "MatchSets",
        "uri": "/docs/XMLUpload.aspx?Topic=MatchSets&_Division_={division}",
        "doc": "",
        "webhook": false,
        "methods": ["POST"],
        "fields": [
            {
                "name": "MatchSets",
                "type": "Array[Object]",
                "mandatory": true,
                "filter": false,
                "webhook": false,
                "jsonType": "array",
                "description": "An array of MatchSet objects for reconciliation.",
                "example": [
                    {
                        "GLAccount": "1100",
                        "Account": "000123",
                        "MatchLines": [
                            { "finYear": 2024, "finPeriod": 1, "journal": "70", "entry": 101, "amountDC": 100.00 },
                            { "finYear": 2024, "finPeriod": 1, "journal": "80", "entry": 55, "amountDC": -100.00 }
                        ],
                        "WriteOff": {
                            "type": 4,
                            "GLAccount": "8010",
                            "Description": "Exchange rate diff.",
                            "FinYear": 2024,
                            "FinPeriod": 1,
                            "Date": "2024-01-15"
                        }
                    }
                ]
            }
        ]
    }
]
