Geeft de lijst van alle in een bepaalde periode ingevoerde verkoopbetalingen.
http[s]://<url>:<poort>/odapi/rest/TMethods/salesPayments/[key]/20200310/20200310/json
{
"data": {
"payments": [
{
"payment": {
"methodIndex": 0,
"paymentIndex": 1,
"entryDate": "20200310",
"paymentDate": "20200429",
"paymentDateString": "Gisteren",
"paymentDateTime": "20200429000000",
"amount": 157.65,
"cash": false,
"final": true,
"employee": {
"id": 2,
"name": "Johan van de Broek"
},
"sales invoice": {
"number": "M18223",
"date": "20200106",
"dateString": "Maandag 6 januari",
"totalExcludingVat": 130.29,
"totalIncludingVat": 157.65,
"amountsExcludingVat": true,
"discountColumn": false,
"salesOpportunityNumber": "",
"priceTypeId": 0,
"shipmentDate": "20200106",
"paymentMethod": "14 dagen",
"collectionDate": "20200120",
"invoiceDiscount": false,
"creditRestriction": false,
"vat": {
"apply": true,
"date": "20200203",
"transfer": false
},
"deferredDiscountAmount": 0,
"invoiceCodeID": 0,
"includeInContracts": true,
"showAsSales": true,
"printAsCashReceipt": false,
"printPrices": true,
"printSalesInfo": true,
"printImages": true,
"groupOnCodes": false,
"invoiceCode": "",
"departmentInvoiceNumber": "",
"creditOrderNumber": "",
"department": {
"index": 1,
"code": "O",
"name": "Order-Direct"
},
"employee": {
"id": 1,
"name": "Reinoud Berg"
},
"branch": {
"id": 0,
"code": "ALM",
"name": "Magazijn"
},
"relation": {
"number": "25922",
"shortName": "Wild Express",
"vatNumber": "",
"domesticVatNumber": "",
"cocNumber": "24347130",
"homepage": "www.americanip.us",
"relationship": {
"types": [
"customer"
],
"customerDepartments": [
{
"department": {
"index": 1,
"code": "O",
"name": "Order-Direct"
}
}
]
},
"currency": {
"id": 1,
"name": "EUR"
},
"language": {
"id": 1,
"code": "nl",
"name": "Nederlands"
},
"region": {
"id": 0,
"name": "geen",
"representative": "",
"mechanic": ""
},
"email": {
"address": "sales@wildexpress.nl",
"html": true,
"synchronize": true,
"folderMask": "",
"addressMask": "",
"store": true,
"mailCategory": {
"id": 0,
"name": "",
"completed": false
}
},
"customerPayments": {
"method": "",
"period": 14,
"paymentCondition": 0,
"deferredDiscount": 0
},
"collectionOrders": {
"period": 14,
"type": 1,
"typeName": "Algemeen",
"characteristic": "",
"signed": "20150320",
"signedString": "Vrijdag 20 maart 2015",
"first": true
},
"priceAgreements": {
"apply": true,
"synchronize": false
},
"priceType": {
"id": 0,
"name": "Verkoopadviesprijs"
},
"active": true,
"customerProductNumers": false,
"columnPricesOrders": true,
"columnPrices": false,
"columnDiscounts": false,
"columnDiscountsInvoice": false,
"reminders": {
"sendByEmail": true,
"useEmailAddress": false,
"sendToAccountsPayable": true,
"sendToInvoiceContact": false,
"email": {
"address": ""
}
},
"employee": {
"name": "Johan van de Broek"
},
"created": "20150320",
"modified": "20200220",
"logoAttachmentIndex": 0,
"addresses": [
{
"address": {
"owner": "relation",
"number": "25922",
"id": 1,
"index": 1,
"externalId": "",
"description": "Standaard adres",
"type": "office",
"name": "Wild Express",
"name2": "",
"street": "Stationsweg 45",
"street2": "",
"postalCode": "7812 PX",
"city": "Groningen",
"state": "",
"countryCode": "NL",
"countryName": "",
"telephone": "(042) 225 95 02",
"speedDial": "",
"fax": "",
"mobile": "",
"speedDialMobile": "",
"kix": "7812PX45",
"ean": "",
"latitude": 52.0060004,
"longitude": 5.8775146
}
}
]
},
"address": {
"owner": "relation",
"number": "25922",
"id": 2,
"index": 2,
"externalId": "",
"description": "Factuuradres",
"type": "office",
"name": "Wild Express",
"name2": "",
"street": "Stationsweg 45",
"street2": "",
"postalCode": "7812 PX",
"city": "Groningen",
"state": "",
"countryCode": "NL",
"countryName": "Nederland",
"telephone": "(042) 225 95 02",
"speedDial": "",
"fax": "",
"mobile": "",
"speedDialMobile": "",
"kix": "7812PX45",
"ean": "",
"latitude": 52.0060004,
"longitude": 5.8775146
}
}
}
}
]
}
}