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": "30d6348c-72ed-4a11-84e1-95e578be9b59",
    "ReceivedDate": "2024-10-06T03:42:07.2352607Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-06T03:42:07.2352607Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-06T03:42:07.2352607Z",
            "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-10-06T03:42:07.2352607Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-06T03:42:07.2352607Z",
            "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": "30d6348c-72ed-4a11-84e1-95e578be9b59",
    "ReceivedDate": "2024-10-06T03:42:07.2352607Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-06T03:42:07.2352607Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-06T03:42:07.2352607Z",
            "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-10-06T03:42:07.2352607Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-06T03:42:07.2352607Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      }
    ],
    "PaymentType": 0,
    "Id": 10
  }
]