POST api/receipt/recordpayment
Makes payment to supplied account.
Request Information
URI Parameters
None.
Body Parameters
RecordPaymentDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentItemId | integer |
None. |
|
| InvoiceId | integer |
None. |
|
| AllocationCollectionId | integer |
None. |
|
| SourceAccountId | integer |
None. |
|
| DestinationBankAccountId | integer |
None. |
|
| AccountType | AccountType |
None. |
|
| Amount | decimal number |
None. |
|
| PaymentType | PaymentType |
None. |
|
| ClientBankAccountId | integer |
None. |
|
| Date | date |
None. |
|
| Description | string |
None. |
|
| IsCleared | boolean |
None. |
|
| NegotiatorId | integer |
None. |
|
| PropertyAccountId | integer |
None. |
|
| PropertyRetentionAmount | decimal number |
None. |
|
| InvoicePaymentCollection | Collection of PaymentInvoiceCollectionDataContract |
None. |
|
| InvoiceDeductionCollection | Collection of PaymentInvoiceCollectionDataContract |
None. |
|
| ReceiptsCollection | Collection of PaymentInvoiceCollectionDataContract |
None. |
|
| RefundsCollection | Collection of PaymentInvoiceCollectionDataContract |
None. |
|
| RefundDeductionsCollection | Collection of PaymentInvoiceCollectionDataContract |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"PaymentItemId": 1,
"InvoiceId": 1,
"AllocationCollectionId": 2,
"SourceAccountId": 3,
"DestinationBankAccountId": 4,
"AccountType": 0,
"Amount": 5.0,
"PaymentType": 0,
"ClientBankAccountId": 6,
"Date": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 7",
"IsCleared": true,
"NegotiatorId": 9,
"PropertyAccountId": 1,
"PropertyRetentionAmount": 1.0,
"InvoicePaymentCollection": [
{
"InvoiceId": 1,
"Amount": 1.0,
"SubTotalAmount": 2.0,
"TaxTotalAmount": 3.0,
"AllocationId": 1,
"ReceiptId": 1,
"RefundId": 1,
"RefundDeductionId": 1,
"PropertyAccountId": 1,
"CreatedDate": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 5",
"Type": "sample string 6",
"AllocationIdentifier": 1
},
{
"InvoiceId": 1,
"Amount": 1.0,
"SubTotalAmount": 2.0,
"TaxTotalAmount": 3.0,
"AllocationId": 1,
"ReceiptId": 1,
"RefundId": 1,
"RefundDeductionId": 1,
"PropertyAccountId": 1,
"CreatedDate": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 5",
"Type": "sample string 6",
"AllocationIdentifier": 1
}
],
"InvoiceDeductionCollection": [
{
"InvoiceId": 1,
"Amount": 1.0,
"SubTotalAmount": 2.0,
"TaxTotalAmount": 3.0,
"AllocationId": 1,
"ReceiptId": 1,
"RefundId": 1,
"RefundDeductionId": 1,
"PropertyAccountId": 1,
"CreatedDate": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 5",
"Type": "sample string 6",
"AllocationIdentifier": 1
},
{
"InvoiceId": 1,
"Amount": 1.0,
"SubTotalAmount": 2.0,
"TaxTotalAmount": 3.0,
"AllocationId": 1,
"ReceiptId": 1,
"RefundId": 1,
"RefundDeductionId": 1,
"PropertyAccountId": 1,
"CreatedDate": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 5",
"Type": "sample string 6",
"AllocationIdentifier": 1
}
],
"ReceiptsCollection": [
{
"InvoiceId": 1,
"Amount": 1.0,
"SubTotalAmount": 2.0,
"TaxTotalAmount": 3.0,
"AllocationId": 1,
"ReceiptId": 1,
"RefundId": 1,
"RefundDeductionId": 1,
"PropertyAccountId": 1,
"CreatedDate": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 5",
"Type": "sample string 6",
"AllocationIdentifier": 1
},
{
"InvoiceId": 1,
"Amount": 1.0,
"SubTotalAmount": 2.0,
"TaxTotalAmount": 3.0,
"AllocationId": 1,
"ReceiptId": 1,
"RefundId": 1,
"RefundDeductionId": 1,
"PropertyAccountId": 1,
"CreatedDate": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 5",
"Type": "sample string 6",
"AllocationIdentifier": 1
}
],
"RefundsCollection": [
{
"InvoiceId": 1,
"Amount": 1.0,
"SubTotalAmount": 2.0,
"TaxTotalAmount": 3.0,
"AllocationId": 1,
"ReceiptId": 1,
"RefundId": 1,
"RefundDeductionId": 1,
"PropertyAccountId": 1,
"CreatedDate": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 5",
"Type": "sample string 6",
"AllocationIdentifier": 1
},
{
"InvoiceId": 1,
"Amount": 1.0,
"SubTotalAmount": 2.0,
"TaxTotalAmount": 3.0,
"AllocationId": 1,
"ReceiptId": 1,
"RefundId": 1,
"RefundDeductionId": 1,
"PropertyAccountId": 1,
"CreatedDate": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 5",
"Type": "sample string 6",
"AllocationIdentifier": 1
}
],
"RefundDeductionsCollection": [
{
"InvoiceId": 1,
"Amount": 1.0,
"SubTotalAmount": 2.0,
"TaxTotalAmount": 3.0,
"AllocationId": 1,
"ReceiptId": 1,
"RefundId": 1,
"RefundDeductionId": 1,
"PropertyAccountId": 1,
"CreatedDate": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 5",
"Type": "sample string 6",
"AllocationIdentifier": 1
},
{
"InvoiceId": 1,
"Amount": 1.0,
"SubTotalAmount": 2.0,
"TaxTotalAmount": 3.0,
"AllocationId": 1,
"ReceiptId": 1,
"RefundId": 1,
"RefundDeductionId": 1,
"PropertyAccountId": 1,
"CreatedDate": "2025-11-18T14:09:18.4002336Z",
"Description": "sample string 5",
"Type": "sample string 6",
"AllocationIdentifier": 1
}
]
}
Response Information
Resource Description
LedgerTransactionDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Date | date |
None. |
|
| Amount | decimal number |
None. |
|
| TransactionType | string |
None. |
|
| ClearedStatus | ClearedStatus |
None. |
|
| ReconciliationStatus | string |
None. |
|
| Description | string |
None. |
|
| GeneralLedgerLines | Collection of LedgerLineTransactionDataContract |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Date": "2025-11-18T14:09:18.4002336Z",
"Amount": 2.0,
"TransactionType": "sample string 3",
"ClearedStatus": 0,
"ReconciliationStatus": "sample string 4",
"Description": "sample string 5",
"GeneralLedgerLines": [
{
"DrCr": "sample string 1",
"Amount": 2.0,
"AccountId": 3,
"AccountType": "sample string 4",
"Id": 5
},
{
"DrCr": "sample string 1",
"Amount": 2.0,
"AccountId": 3,
"AccountType": "sample string 4",
"Id": 5
}
],
"Id": 6
}