DELETE api/invoice/removereceiptallocation?receiptItemId={receiptItemId}&invoiceId={invoiceId}&allocationId={allocationId}

Remove a receipt list item allocation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
receiptItemId

integer

Required

invoiceId

integer

Required

allocationId

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": "3d946d12-d215-45e5-baaf-be877d1a314a",
    "ReceivedDate": "2024-11-21T09:39:48.8167743Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-11-21T09:39:48.8167743Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-11-21T09:39:48.8167743Z",
            "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-11-21T09:39:48.8167743Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-11-21T09:39:48.8167743Z",
            "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": "3d946d12-d215-45e5-baaf-be877d1a314a",
    "ReceivedDate": "2024-11-21T09:39:48.8167743Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-11-21T09:39:48.8167743Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-11-21T09:39:48.8167743Z",
            "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-11-21T09:39:48.8167743Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-11-21T09:39:48.8167743Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      }
    ],
    "PaymentType": 0,
    "Id": 10
  }
]