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. |
|
CreditNoteItems | Collection of Dezrez.Core.DataContracts.Accounts.CreditNotes.Query.CreditNoteItemDetailDataContract |
None. |
|
TotalCreditNotesAmount | decimal number |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "CreatedDate": "2024-11-21T09:37:04.7171828Z", "LastPaymentDate": "2024-11-21T09:37:04.7171828Z", "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-11-21T09:37:04.7171828Z", "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-11-21T09:37:04.7171828Z", "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-11-21T09:37:04.7171828Z", "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-11-21T09:37:04.7171828Z", "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-11-21T09:37:04.7171828Z", "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-11-21T09:37:04.7171828Z", "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-11-21T09:37:04.7171828Z", "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-11-21T09:37:04.7171828Z", "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-11-21T09:37:04.7171828Z", "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-11-21T09:37:04.7171828Z", "Description": "sample string 5", "Type": "sample string 6", "AllocationIdentifier": 1 } ], "TaxTotalDeductionsAmount": 7.0, "SubTotalDeductionsAmount": 8.0, "TotalDeductionsAmount": 9.0, "PropertyRetentionAmount": 1.0, "CreditNoteItems": [ { "Amount": 1.0, "InvoiceItemId": 2, "CreditNoteId": 3, "Reason": "sample string 4", "InvoiceNumber": 5, "InvoiceId": 6, "CreatedDate": "2024-11-21T09:37:04.7171828Z", "Id": 8 }, { "Amount": 1.0, "InvoiceItemId": 2, "CreditNoteId": 3, "Reason": "sample string 4", "InvoiceNumber": 5, "InvoiceId": 6, "CreatedDate": "2024-11-21T09:37:04.7171828Z", "Id": 8 } ], "TotalCreditNotesAmount": 10.0, "Id": 11 }