DELETE api/invoice/removesinglereceiptitem?receiptItemId={receiptItemId}

Remove a single receipt list item without and invoice or allocations

Request Information

URI Parameters

NameDescriptionTypeAdditional information
receiptItemId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Dezrez.Core.DataContracts.Accounts.Invoices.Query.ReceiptItemDataContract
NameDescriptionTypeAdditional information
AgencyId

integer

None.

LiableAccountGroupName

string

None.

RecipientAccountId

integer

None.

LiableAccountId

integer

None.

ClientBankAccountId

integer

None.

ReceiptAmount

decimal number

None.

NegotiatorId

integer

None.

ReceiptGrouping

globally unique identifier

None.

ReceivedDate

date

None.

Invoices

Collection of Dezrez.Core.DataContracts.Accounts.Invoices.Query.ReceiptItemInvoiceDataContract

None.

PaymentType

Dezrez.Rezi.Domain.Accounts.Enums.PaymentType

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AgencyId": 1,
    "LiableAccountGroupName": "sample string 2",
    "RecipientAccountId": 3,
    "LiableAccountId": 4,
    "ClientBankAccountId": 5,
    "ReceiptAmount": 6.0,
    "NegotiatorId": 7,
    "ReceiptGrouping": "0c9e98f1-6ff1-4ce0-821f-ebaf691863fc",
    "ReceivedDate": "2024-03-29T12:42:00.4821578Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-03-29T12:42:00.4821578Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-03-29T12:42:00.4821578Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      },
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-03-29T12:42:00.4821578Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-03-29T12:42:00.4821578Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      }
    ],
    "PaymentType": 0,
    "Id": 10
  },
  {
    "AgencyId": 1,
    "LiableAccountGroupName": "sample string 2",
    "RecipientAccountId": 3,
    "LiableAccountId": 4,
    "ClientBankAccountId": 5,
    "ReceiptAmount": 6.0,
    "NegotiatorId": 7,
    "ReceiptGrouping": "0c9e98f1-6ff1-4ce0-821f-ebaf691863fc",
    "ReceivedDate": "2024-03-29T12:42:00.4821578Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-03-29T12:42:00.4821578Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-03-29T12:42:00.4821578Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      },
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-03-29T12:42:00.4821578Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-03-29T12:42:00.4821578Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      }
    ],
    "PaymentType": 0,
    "Id": 10
  }
]