latestSwagger 2.02026-08-1766151238.8 KB
a444c5b1e78b
Payment
Marks an existing payment as deleted, will remove all amounts applied on invoices.
delete/api/payment
Query parameters
guidstring uuid required
Response
OK
Example response
{
"saleDocumentPayments": [
{
"guid": "00000000-0000-0000-0000-000000000000",
"saleDocument": {
"guid": "00000000-0000-0000-0000-000000000000"
},
"payment": {
"guid": "00000000-0000-0000-0000-000000000000"
},
"credit": {
"guid": "00000000-0000-0000-0000-000000000000",
"creditForSaleDocument": {
"guid": "00000000-0000-0000-0000-000000000000"
}
}
}
],
"lastModifiedBy": {
"guid": "00000000-0000-0000-0000-000000000000"
},
"projectGuid": "00000000-0000-0000-0000-000000000000",
"accountGuid": "00000000-0000-0000-0000-000000000000",
"bankAccountGuid": "00000000-0000-0000-0000-000000000000",
"account": {
"guid": "00000000-0000-0000-0000-000000000000"
},
"checkPayee": {
"guid": "00000000-0000-0000-0000-000000000000"
},
"project": {
"guid": "00000000-0000-0000-0000-000000000000",
"accountGuid": "00000000-0000-0000-0000-000000000000"
},
"createdBy": {
"guid": "00000000-0000-0000-0000-000000000000"
},
"bankAccount": {
"guid": "00000000-0000-0000-0000-000000000000"
},
"reconciledBy": {
"guid": "00000000-0000-0000-0000-000000000000"
},
"refundParentPaymentGuid": "00000000-0000-0000-0000-000000000000",
"guid": "00000000-0000-0000-0000-000000000000"
}