Mews Bills 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": "bills_getAll",
"method": "POST",
"path": "/api/connector/v1/bills/getAll",
"summary": "Get all bills",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
"AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
"Client": "Sample Client 1.0.0",
"Extent": {
"Items": false
},
"ClosedUtc": {
"StartUtc": "2020-02-05T00:00:00Z",
"EndUtc": "2020-02-10T00:00:00Z"
},
"CreatedUtc": {
"StartUtc": "2020-02-05T00:00:00Z",
"EndUtc": "2020-02-10T00:00:00Z"
},
"UpdatedUtc": {
"StartUtc": "2020-02-05T00:00:00Z",
"EndUtc": "2020-02-10T00:00:00Z"
},
"BillIds": [
"e654f217-d1b5-46be-a820-e93ba568dfac"
],
"CustomerIds": [
"fe795f96-0b64-445b-89ed-c032563f2bac"
],
"State": "Closed",
"EnterpriseIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6",
"4d0201db-36f5-428b-8d11-4f0a65e960cc"
],
"Limitation": {
"Count": 100,
"Cursor": "e7f26210-10e7-462e-9da8-ae8300be8ab7"
}
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"Bills": [
{
"Id": "ea087d64-3901-4eee-b0b7-9fce4c58a005",
"Name": "Accommodation Charges",
"EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"AccountId": "c6f5c82d-621a-4c8a-903b-1b0a9a23b71f",
"AccountType": "Company",
"CustomerId": null,
"CompanyId": null,
"AssociatedAccountIds": [
"fadd5bb6-b428-45d5-94f8-fd0d89fece6d"
],
"CounterId": null,
"State": "Closed",
"Type": "Invoice",
"Number": "29",
"VariableSymbol": null,
"CreatedUtc": "2017-01-31T10:48:06Z",
"IssuedUtc": "2017-01-31T10:58:06Z",
"TaxedUtc": null,
"PaidUtc": null,
"DueUtc": null,
"LastReminderDateUtc": null,
"UpdatedUtc": "2017-01-31T10:58:06Z",
"PurchaseOrderNumber": "XX-123",
"Notes": "",
"Options": {
"DisplayCustomer": true,
"DisplayTaxation": true,
"TrackReceivable": true,
"DisplayCid": false,
"Rebated": false
},
"Revenue": [],
"Payments": [],
"OrderItems": [],
"PaymentItems": [],
"AssigneeData": null,
"OwnerData": {
"Discriminator": "BillCompanyData",
"Value": {
"Id": "26afba60-06c3-455b-92db-0e3983be0b1d",
"Address": {
"Line1": "I.P. Pavlova 5",
"Line2": null,
"City": "Prague",
"PostalCode": "12000",
"SubdivisionCode": "CZ-PR",
"CountryCode": "CZ"
},
"LegalIdentifiers": {
"TaxIdentifier": "CZ24227781",
"CityOfRegistration": "Prague"
},
"BillingCode": "Billing code value",
"Name": "Acme, Inc.",
"FiscalIdentifier": "Fiscal identifier",
"AdditionalTaxIdentifier": "Additional tax identifier",
"DUNS": "150483782",
"Telephone": "+420123456789",
"TaxIdentifier": "CZ24227781",
"InvoicingEmail": "billing@acme.example",
"Department": "Billing"
}
},
"CompanyDetails": null,
"AssociatedAccountData": [
{
"Discriminator": "BillCompanyData",
"BillCustomerData": null,
"BillCompanyData": {
"Id": "26afba60-06c3-455b-92db-0e3983be0b1d",
"Address": {
"Line1": "I.P. Pavlova 5",
"Line2": null,
"City": "Prague",
"PostalCode": "12000",
"SubdivisionCode": "CZ-PR",
"CountryCode": "CZ"
},
"LegalIdentifiers": {
"TaxIdentifier": "CZ24227781",
"CityOfRegistration": "Prague"
},
"BillingCode": "Billing code value",
"Name": "Acme, Inc.",
"FiscalIdentifier": "Fiscal identifier",
"AdditionalTaxIdentifier": "Additional tax identifier",
"DUNS": "150483782",
"Telephone": "+420123456789",
"TaxIdentifier": "CZ24227781",
"InvoicingEmail": "billing@acme.example",
"Department": "Billing"
}
}
],
"EnterpriseData": {
"AdditionalTaxIdentifier": "XY00112233445",
"CompanyName": "The Sample Hotel Group AS",
"BankAccount": "CZ3808000000000012345678",
"BankName": "CESKA SPORITELNA A.S.",
"Iban": "CZ6508000000192000145399",
"Bic": "GIBACZPX"
},
"CorrectionState": "Bill",
"CorrectionType": null,
"CorrectedBillId": null
}
],
"Cursor": "ea087d64-3901-4eee-b0b7-9fce4c58a005"
}
}
]
}