curl --location 'https://stg-gateway.invora.app/api/v2/tax-reports/list' \
--header 'Content-Type: application/json' \
--data '{
"filter": {
"part": {
"key": {
"inValues": [
"string"
]
},
"createdAt": {
"exact": "2019-08-24",
"range": {
"fromInclusive": "2019-08-24",
"toExclusive": "2019-08-24"
},
"rangeTimestamp": {
"fromInclusive": "2019-08-24T14:15:22.123Z",
"toExclusive": "2019-08-24T14:15:22.123Z"
}
},
"periodFrom": {},
"periodTo": {},
"branchId": {
"inValues": [
"string"
]
},
"status": {
"inValues": [
"TAX_REPORT_STATUS_UNSPECIFIED"
]
},
"updatedAt": {},
"and": {
"operands": [
{}
]
},
"or": {
"operands": [
{}
]
},
"not": {}
},
"textSearch": "string",
"timeReference": {
"referenceDate": "2019-08-24T14:15:22.123Z",
"historicalData": true
}
},
"sort": {
"rules": [
{
"createdAt": "SORT_DIRECTION_UNSPECIFIED",
"periodFrom": "SORT_DIRECTION_UNSPECIFIED",
"netTaxPayable": "SORT_DIRECTION_UNSPECIFIED",
"updatedAt": "SORT_DIRECTION_UNSPECIFIED"
}
]
},
"pagination": {
"limit": "string",
"skip": "string",
"cursor": "string"
},
"mask": "string"
}'{
"items": [
{
"key": "string",
"concurrencyStamp": "string",
"audit": {
"creationInfo": {
"createdAt": "2019-08-24T14:15:22.123Z",
"creatorId": "string"
},
"lastModificationTime": "2019-08-24T14:15:22.123Z",
"lastModifierId": "string"
},
"name": "string",
"periodFrom": "2019-08-24",
"periodTo": "2019-08-24",
"currencyCode": "string",
"status": "TAX_REPORT_STATUS_UNSPECIFIED",
"branchId": "string",
"sales": {
"documentCount": "string",
"breakdown": [
{
"taxCategory": "string",
"taxPercent": {
"units": "string",
"nanos": 0
},
"amountBeforeTax": {
"units": "string",
"nanos": 0
},
"taxAmount": {
"units": "string",
"nanos": 0
}
}
]
},
"purchases": {
"documentCount": "string",
"breakdown": [
{
"taxCategory": "string",
"taxPercent": {
"units": "string",
"nanos": 0
},
"amountBeforeTax": {
"units": "string",
"nanos": 0
},
"taxAmount": {
"units": "string",
"nanos": 0
}
}
]
},
"totals": {
"netSales": {
"units": "string",
"nanos": 0
},
"netPurchases": {
"units": "string",
"nanos": 0
},
"salesTax": {
"units": "string",
"nanos": 0
},
"purchaseTax": {
"units": "string",
"nanos": 0
},
"netTaxPayable": {
"units": "string",
"nanos": 0
},
"totalDocuments": "string",
"breakdown": [
{
"taxCategory": "string",
"taxPercent": {
"units": "string",
"nanos": 0
},
"amountBeforeTax": {
"units": "string",
"nanos": 0
},
"taxAmount": {
"units": "string",
"nanos": 0
}
}
]
}
}
],
"totalCount": "string",
"nextPageCursor": "string"
}