{
    "basePath": "http://api.basetax.co.uk/v4",
    "swaggerVersion": "1.2",
    "apiVersion": "1.0.0",
    "resourcePath": "/exports",
    "apis": [
        {
            "path": "/exports",
            "operations": [
                {
                    "method": "GET",
                    "summary": "Export index",
                    "nickname": "exports"
                }
            ]
        },
        {
            "path": "/exports/customer-income",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Export transactions customer income",
                    "nickname": "exports"
                }
            ]
        },
        {
            "path": "/exports/group-account",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Export transactions group by month",
                    "nickname": "exports"
                }
            ]
        },
        {
            "path": "/exports/group-month",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Export transactions group by month",
                    "nickname": "exports"
                }
            ]
        },
        {
            "path": "/exports/mileage",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Export mileage",
                    "nickname": "exports",
                    "parameters": [
                        {
                            "paramType": "body",
                            "name": "json",
                            "type": "json",
                            "description": "Json"
                        },
                        {
                            "paramType": "query",
                            "name": "type",
                            "type": "string",
                            "description": "pdf|csv|xlsx|xls"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/exports/profit-and-loss",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Export profit and loss",
                    "nickname": "exports",
                    "parameters": [
                        {
                            "paramType": "body",
                            "name": "content",
                            "type": "json",
                            "description": "Content"
                        },
                        {
                            "paramType": "query",
                            "name": "type",
                            "type": "string",
                            "description": "pdf|csv|xlsx|xls"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/exports/supplier-expense",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Export transactions supplier expanse",
                    "nickname": "exports"
                }
            ]
        },
        {
            "path": "/exports/tax-review-ps-pdf",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Export tax review",
                    "nickname": "exportTaxReview",
                    "parameters": [
                        {
                            "paramType": "body",
                            "name": "json",
                            "type": "json",
                            "description": "Json"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/exports/transaction",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Export transactions list",
                    "nickname": "exports",
                    "parameters": [
                        {
                            "paramType": "query",
                            "name": "tax_year_id",
                            "type": "string",
                            "description": "Tax year ID"
                        },
                        {
                            "paramType": "query",
                            "name": "from",
                            "type": "string",
                            "description": "From"
                        },
                        {
                            "paramType": "query",
                            "name": "to",
                            "type": "string",
                            "description": "To"
                        },
                        {
                            "paramType": "query",
                            "name": "business_id",
                            "type": "string",
                            "description": "Business ID"
                        },
                        {
                            "paramType": "query",
                            "name": "record_type_id",
                            "type": "string",
                            "description": "Address Line 1"
                        },
                        {
                            "paramType": "query",
                            "name": "order_by",
                            "type": "string",
                            "description": "order_by"
                        },
                        {
                            "paramType": "query",
                            "name": "reverse",
                            "type": "string",
                            "description": "Reverse"
                        },
                        {
                            "paramType": "query",
                            "name": "type",
                            "type": "string",
                            "description": "pdf|csv|xlsx|xls"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/exports/transaction-cis",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Export transactions CIS",
                    "nickname": "exports",
                    "parameters": [
                        {
                            "paramType": "query",
                            "name": "tax_year_id",
                            "type": "string",
                            "description": "Tax year ID"
                        },
                        {
                            "paramType": "query",
                            "name": "from",
                            "type": "string",
                            "description": "From"
                        },
                        {
                            "paramType": "query",
                            "name": "to",
                            "type": "string",
                            "description": "To"
                        },
                        {
                            "paramType": "query",
                            "name": "business_id",
                            "type": "string",
                            "description": "Business ID"
                        },
                        {
                            "paramType": "query",
                            "name": "record_type_id",
                            "type": "string",
                            "description": "Address Line 1"
                        },
                        {
                            "paramType": "query",
                            "name": "order_by",
                            "type": "string",
                            "description": "order_by"
                        },
                        {
                            "paramType": "query",
                            "name": "reverse",
                            "type": "string",
                            "description": "Reverse"
                        },
                        {
                            "paramType": "query",
                            "name": "type",
                            "type": "string",
                            "description": "pdf|csv|xlsx|xls"
                        }
                    ]
                }
            ]
        }
    ],
    "produces": [
        "application/json"
    ]
}