Mews Ledgerbalances Getall Example is an example object payload from Mews, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationIdmethodpathsummaryrequestExamplesresponseExamples
Example Payload
{
"operationId": "ledgerBalances_getAll",
"method": "POST",
"path": "/api/connector/v1/ledgerBalances/getAll",
"summary": "Get all ledger balances",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
"AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
"Client": "Sample Client 1.0.0",
"Date": {
"Start": "2024-01-01",
"End": "2024-01-02"
},
"LedgerTypes": [
"Revenue",
"Payment",
"Guest"
],
"EnterpriseIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6",
"4d0201db-36f5-428b-8d11-4f0a65e960cc"
],
"Limitation": {
"Count": 100
}
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"LedgerBalances": [
{
"EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"Date": "2024-01-15",
"LedgerType": "Revenue",
"OpeningBalance": {
"Currency": "EUR",
"NetValue": 15000.0,
"GrossValue": 18000.0,
"TaxValues": [
{
"Code": "VAT",
"Value": 3000.0
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "VAT",
"NetValue": 15000.0,
"TaxValue": 3000.0
}
]
}
},
"ClosingBalance": {
"Currency": "EUR",
"NetValue": 25000.0,
"GrossValue": 30000.0,
"TaxValues": [
{
"Code": "VAT",
"Value": 5000.0
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "VAT",
"NetValue": 25000.0,
"TaxValue": 5000.0
}
]
}
}
},
{
"EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"Date": "2024-01-15",
"LedgerType": "Payment",
"OpeningBalance": {
"Currency": "EUR",
"NetValue": 5000.0,
"GrossValue": 5000.0,
"TaxValues": [
{
"Code": "VAT",
"Value": 0.0
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "VAT",
"NetValue": 5000.0,
"TaxValue": 0.0
}
]
}
},
"ClosingBalance": {
"Currency": "EUR",
"NetValue": 12000.0,
"GrossValue": 12000.0,
"TaxValues": [
{
"Code": "VAT",
"Value": 0.0
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "VAT",
"NetValue": 12000.0,
"TaxValue": 0.0
}
]
}
}
},
{
"EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"Date": "2024-01-15",
"LedgerType": "Guest",
"OpeningBalance": {
"Currency": "EUR",
"NetValue": -2000.0,
"GrossValue": -2400.0,
"TaxValues": [
{
"Code": "VAT",
"Value": -400.0
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "VAT",
"NetValue": -2000.0,
"TaxValue": -400.0
}
]
}
},
"ClosingBalance": {
"Currency": "EUR",
"NetValue": -5000.0,
"GrossValue": -6000.0,
"TaxValues": [
{
"Code": "VAT",
"Value": -1000.0
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "VAT",
"NetValue": -5000.0,
"TaxValue": -1000.0
}
]
}
}
}
],
"Cursor": "145a6ece-e15e-4b22-922d-eeac973478c8"
}
}
]
}