GET api/receipt/paymentitemdetails/{id}

Web-API endpoint for Rezi Post

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Payment item id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Payment item details

PaymentItemDetailsDataContract
NameDescriptionTypeAdditional information
CreatedDate

date

None.

LastPaymentDate

date

None.

OpeningBalance

decimal number

None.

ClosingBalance

decimal number

None.

TotalPayoutAmount

decimal number

None.

Receipts

Collection of PaymentInvoiceCollectionDataContract

None.

Refunds

Collection of PaymentInvoiceCollectionDataContract

None.

InvoicePayments

Collection of PaymentInvoiceCollectionDataContract

None.

InvoiceDeductions

Collection of PaymentInvoiceCollectionDataContract

None.

RefundDeductions

Collection of PaymentInvoiceCollectionDataContract

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CreatedDate": "2021-07-29T00:05:07.688336Z",
  "LastPaymentDate": "2021-07-29T00:05:07.688336Z",
  "OpeningBalance": 1.0,
  "ClosingBalance": 2.0,
  "TotalPayoutAmount": 3.0,
  "Receipts": [
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "SubTotalAmount": 1.0,
      "TaxTotalAmount": 1.0,
      "AllocationId": 3,
      "ReceiptId": 4,
      "RefundId": 5,
      "RefundDeductionId": 6,
      "CreatedDate": "2021-07-29T00:05:07.688336Z",
      "Description": "sample string 8"
    },
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "SubTotalAmount": 1.0,
      "TaxTotalAmount": 1.0,
      "AllocationId": 3,
      "ReceiptId": 4,
      "RefundId": 5,
      "RefundDeductionId": 6,
      "CreatedDate": "2021-07-29T00:05:07.688336Z",
      "Description": "sample string 8"
    }
  ],
  "Refunds": [
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "SubTotalAmount": 1.0,
      "TaxTotalAmount": 1.0,
      "AllocationId": 3,
      "ReceiptId": 4,
      "RefundId": 5,
      "RefundDeductionId": 6,
      "CreatedDate": "2021-07-29T00:05:07.688336Z",
      "Description": "sample string 8"
    },
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "SubTotalAmount": 1.0,
      "TaxTotalAmount": 1.0,
      "AllocationId": 3,
      "ReceiptId": 4,
      "RefundId": 5,
      "RefundDeductionId": 6,
      "CreatedDate": "2021-07-29T00:05:07.688336Z",
      "Description": "sample string 8"
    }
  ],
  "InvoicePayments": [
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "SubTotalAmount": 1.0,
      "TaxTotalAmount": 1.0,
      "AllocationId": 3,
      "ReceiptId": 4,
      "RefundId": 5,
      "RefundDeductionId": 6,
      "CreatedDate": "2021-07-29T00:05:07.688336Z",
      "Description": "sample string 8"
    },
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "SubTotalAmount": 1.0,
      "TaxTotalAmount": 1.0,
      "AllocationId": 3,
      "ReceiptId": 4,
      "RefundId": 5,
      "RefundDeductionId": 6,
      "CreatedDate": "2021-07-29T00:05:07.688336Z",
      "Description": "sample string 8"
    }
  ],
  "InvoiceDeductions": [
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "SubTotalAmount": 1.0,
      "TaxTotalAmount": 1.0,
      "AllocationId": 3,
      "ReceiptId": 4,
      "RefundId": 5,
      "RefundDeductionId": 6,
      "CreatedDate": "2021-07-29T00:05:07.688336Z",
      "Description": "sample string 8"
    },
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "SubTotalAmount": 1.0,
      "TaxTotalAmount": 1.0,
      "AllocationId": 3,
      "ReceiptId": 4,
      "RefundId": 5,
      "RefundDeductionId": 6,
      "CreatedDate": "2021-07-29T00:05:07.688336Z",
      "Description": "sample string 8"
    }
  ],
  "RefundDeductions": [
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "SubTotalAmount": 1.0,
      "TaxTotalAmount": 1.0,
      "AllocationId": 3,
      "ReceiptId": 4,
      "RefundId": 5,
      "RefundDeductionId": 6,
      "CreatedDate": "2021-07-29T00:05:07.688336Z",
      "Description": "sample string 8"
    },
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "SubTotalAmount": 1.0,
      "TaxTotalAmount": 1.0,
      "AllocationId": 3,
      "ReceiptId": 4,
      "RefundId": 5,
      "RefundDeductionId": 6,
      "CreatedDate": "2021-07-29T00:05:07.688336Z",
      "Description": "sample string 8"
    }
  ],
  "Id": 4
}