GET api/receipt/paymentitemdetails/{id}
Web-API endpoint for Rezi Post
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Payment item id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Payment item details
Dezrez.Core.DataContracts.Accounts.Invoices.Query.PaymentItemDetailsDataContractName | Description | Type | Additional information |
---|---|---|---|
CreatedDate | date |
None. |
|
LastPaymentDate | date |
None. |
|
OpeningBalance | decimal number |
None. |
|
ClosingBalance | decimal number |
None. |
|
TotalPayoutAmount | decimal number |
None. |
|
Receipts | Collection of Dezrez.Core.DataContracts.Accounts.Financial.Command.Receipt.PaymentInvoiceCollectionDataContract |
None. |
|
Refunds | Collection of Dezrez.Core.DataContracts.Accounts.Financial.Command.Receipt.PaymentInvoiceCollectionDataContract |
None. |
|
InvoicePayments | Collection of Dezrez.Core.DataContracts.Accounts.Financial.Command.Receipt.PaymentInvoiceCollectionDataContract |
None. |
|
TaxTotalReceivedAmount | decimal number |
None. |
|
SubTotalReceivedAmount | decimal number |
None. |
|
TotalReceivedAmount | decimal number |
None. |
|
InvoiceDeductions | Collection of Dezrez.Core.DataContracts.Accounts.Financial.Command.Receipt.PaymentInvoiceCollectionDataContract |
None. |
|
RefundDeductions | Collection of Dezrez.Core.DataContracts.Accounts.Financial.Command.Receipt.PaymentInvoiceCollectionDataContract |
None. |
|
TaxTotalDeductionsAmount | decimal number |
None. |
|
SubTotalDeductionsAmount | decimal number |
None. |
|
TotalDeductionsAmount | decimal number |
None. |
|
PropertyRetentionAmount | decimal number |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "CreatedDate": "2024-10-04T18:26:15.9531654Z", "LastPaymentDate": "2024-10-04T18:26:15.9531654Z", "OpeningBalance": 1.0, "ClosingBalance": 2.0, "TotalPayoutAmount": 3.0, "Receipts": [ { "InvoiceId": 1, "Amount": 1.0, "SubTotalAmount": 2.0, "TaxTotalAmount": 3.0, "AllocationId": 1, "ReceiptId": 1, "RefundId": 1, "RefundDeductionId": 1, "PropertyAccountId": 1, "CreatedDate": "2024-10-04T18:26:15.9531654Z", "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": "2024-10-04T18:26:15.9531654Z", "Description": "sample string 5", "Type": "sample string 6", "AllocationIdentifier": 1 } ], "Refunds": [ { "InvoiceId": 1, "Amount": 1.0, "SubTotalAmount": 2.0, "TaxTotalAmount": 3.0, "AllocationId": 1, "ReceiptId": 1, "RefundId": 1, "RefundDeductionId": 1, "PropertyAccountId": 1, "CreatedDate": "2024-10-04T18:26:15.9531654Z", "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": "2024-10-04T18:26:15.9531654Z", "Description": "sample string 5", "Type": "sample string 6", "AllocationIdentifier": 1 } ], "InvoicePayments": [ { "InvoiceId": 1, "Amount": 1.0, "SubTotalAmount": 2.0, "TaxTotalAmount": 3.0, "AllocationId": 1, "ReceiptId": 1, "RefundId": 1, "RefundDeductionId": 1, "PropertyAccountId": 1, "CreatedDate": "2024-10-04T18:26:15.9531654Z", "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": "2024-10-04T18:26:15.9531654Z", "Description": "sample string 5", "Type": "sample string 6", "AllocationIdentifier": 1 } ], "TaxTotalReceivedAmount": 4.0, "SubTotalReceivedAmount": 5.0, "TotalReceivedAmount": 6.0, "InvoiceDeductions": [ { "InvoiceId": 1, "Amount": 1.0, "SubTotalAmount": 2.0, "TaxTotalAmount": 3.0, "AllocationId": 1, "ReceiptId": 1, "RefundId": 1, "RefundDeductionId": 1, "PropertyAccountId": 1, "CreatedDate": "2024-10-04T18:26:15.9531654Z", "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": "2024-10-04T18:26:15.9531654Z", "Description": "sample string 5", "Type": "sample string 6", "AllocationIdentifier": 1 } ], "RefundDeductions": [ { "InvoiceId": 1, "Amount": 1.0, "SubTotalAmount": 2.0, "TaxTotalAmount": 3.0, "AllocationId": 1, "ReceiptId": 1, "RefundId": 1, "RefundDeductionId": 1, "PropertyAccountId": 1, "CreatedDate": "2024-10-04T18:26:15.9531654Z", "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": "2024-10-04T18:26:15.9531654Z", "Description": "sample string 5", "Type": "sample string 6", "AllocationIdentifier": 1 } ], "TaxTotalDeductionsAmount": 7.0, "SubTotalDeductionsAmount": 8.0, "TotalDeductionsAmount": 9.0, "PropertyRetentionAmount": 1.0, "Id": 10 }