DELETE api/receipt/paymentitem?id={id}

Delete a payment item

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Dezrez.Core.DataContracts.Accounts.Invoices.Query.PaymentItemCollectionDataContract
NameDescriptionTypeAdditional information
Collection

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

None.

TotalCount

integer

None.

Total

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Collection": [
    {
      "SourceAccountId": 1,
      "AccountType": 0,
      "Amount": 2.0,
      "PaymentType": 0,
      "ClientBankAccountId": 3,
      "Date": "2024-04-18T15:48:23.2126544Z",
      "Description": "sample string 4",
      "AccountName": "sample string 5",
      "PropertyAccountName": "sample string 6",
      "IsCleared": true,
      "NegotiatorId": 8,
      "PaymentStatementReziDocumentId": 1,
      "PaymentStatementPreviewReziDocumentRef": "sample string 9",
      "ReceiptsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 1.0,
          "SubTotalAmount": 2.0,
          "TaxTotalAmount": 3.0,
          "AllocationId": 1,
          "ReceiptId": 1,
          "RefundId": 1,
          "RefundDeductionId": 1,
          "PropertyAccountId": 1,
          "CreatedDate": "2024-04-18T15:48:23.2126544Z",
          "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-04-18T15:48:23.2126544Z",
          "Description": "sample string 5",
          "Type": "sample string 6",
          "AllocationIdentifier": 1
        }
      ],
      "InvoicePaymentCollection": [
        {
          "InvoiceId": 1,
          "Amount": 1.0,
          "SubTotalAmount": 2.0,
          "TaxTotalAmount": 3.0,
          "AllocationId": 1,
          "ReceiptId": 1,
          "RefundId": 1,
          "RefundDeductionId": 1,
          "PropertyAccountId": 1,
          "CreatedDate": "2024-04-18T15:48:23.2126544Z",
          "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-04-18T15:48:23.2126544Z",
          "Description": "sample string 5",
          "Type": "sample string 6",
          "AllocationIdentifier": 1
        }
      ],
      "RefundsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 1.0,
          "SubTotalAmount": 2.0,
          "TaxTotalAmount": 3.0,
          "AllocationId": 1,
          "ReceiptId": 1,
          "RefundId": 1,
          "RefundDeductionId": 1,
          "PropertyAccountId": 1,
          "CreatedDate": "2024-04-18T15:48:23.2126544Z",
          "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-04-18T15:48:23.2126544Z",
          "Description": "sample string 5",
          "Type": "sample string 6",
          "AllocationIdentifier": 1
        }
      ],
      "InvoiceDeductionCollection": [
        {
          "InvoiceId": 1,
          "Amount": 1.0,
          "SubTotalAmount": 2.0,
          "TaxTotalAmount": 3.0,
          "AllocationId": 1,
          "ReceiptId": 1,
          "RefundId": 1,
          "RefundDeductionId": 1,
          "PropertyAccountId": 1,
          "CreatedDate": "2024-04-18T15:48:23.2126544Z",
          "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-04-18T15:48:23.2126544Z",
          "Description": "sample string 5",
          "Type": "sample string 6",
          "AllocationIdentifier": 1
        }
      ],
      "RefundDeductionsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 1.0,
          "SubTotalAmount": 2.0,
          "TaxTotalAmount": 3.0,
          "AllocationId": 1,
          "ReceiptId": 1,
          "RefundId": 1,
          "RefundDeductionId": 1,
          "PropertyAccountId": 1,
          "CreatedDate": "2024-04-18T15:48:23.2126544Z",
          "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-04-18T15:48:23.2126544Z",
          "Description": "sample string 5",
          "Type": "sample string 6",
          "AllocationIdentifier": 1
        }
      ],
      "Id": 10
    },
    {
      "SourceAccountId": 1,
      "AccountType": 0,
      "Amount": 2.0,
      "PaymentType": 0,
      "ClientBankAccountId": 3,
      "Date": "2024-04-18T15:48:23.2126544Z",
      "Description": "sample string 4",
      "AccountName": "sample string 5",
      "PropertyAccountName": "sample string 6",
      "IsCleared": true,
      "NegotiatorId": 8,
      "PaymentStatementReziDocumentId": 1,
      "PaymentStatementPreviewReziDocumentRef": "sample string 9",
      "ReceiptsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 1.0,
          "SubTotalAmount": 2.0,
          "TaxTotalAmount": 3.0,
          "AllocationId": 1,
          "ReceiptId": 1,
          "RefundId": 1,
          "RefundDeductionId": 1,
          "PropertyAccountId": 1,
          "CreatedDate": "2024-04-18T15:48:23.2126544Z",
          "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-04-18T15:48:23.2126544Z",
          "Description": "sample string 5",
          "Type": "sample string 6",
          "AllocationIdentifier": 1
        }
      ],
      "InvoicePaymentCollection": [
        {
          "InvoiceId": 1,
          "Amount": 1.0,
          "SubTotalAmount": 2.0,
          "TaxTotalAmount": 3.0,
          "AllocationId": 1,
          "ReceiptId": 1,
          "RefundId": 1,
          "RefundDeductionId": 1,
          "PropertyAccountId": 1,
          "CreatedDate": "2024-04-18T15:48:23.2126544Z",
          "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-04-18T15:48:23.2126544Z",
          "Description": "sample string 5",
          "Type": "sample string 6",
          "AllocationIdentifier": 1
        }
      ],
      "RefundsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 1.0,
          "SubTotalAmount": 2.0,
          "TaxTotalAmount": 3.0,
          "AllocationId": 1,
          "ReceiptId": 1,
          "RefundId": 1,
          "RefundDeductionId": 1,
          "PropertyAccountId": 1,
          "CreatedDate": "2024-04-18T15:48:23.2126544Z",
          "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-04-18T15:48:23.2126544Z",
          "Description": "sample string 5",
          "Type": "sample string 6",
          "AllocationIdentifier": 1
        }
      ],
      "InvoiceDeductionCollection": [
        {
          "InvoiceId": 1,
          "Amount": 1.0,
          "SubTotalAmount": 2.0,
          "TaxTotalAmount": 3.0,
          "AllocationId": 1,
          "ReceiptId": 1,
          "RefundId": 1,
          "RefundDeductionId": 1,
          "PropertyAccountId": 1,
          "CreatedDate": "2024-04-18T15:48:23.2126544Z",
          "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-04-18T15:48:23.2126544Z",
          "Description": "sample string 5",
          "Type": "sample string 6",
          "AllocationIdentifier": 1
        }
      ],
      "RefundDeductionsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 1.0,
          "SubTotalAmount": 2.0,
          "TaxTotalAmount": 3.0,
          "AllocationId": 1,
          "ReceiptId": 1,
          "RefundId": 1,
          "RefundDeductionId": 1,
          "PropertyAccountId": 1,
          "CreatedDate": "2024-04-18T15:48:23.2126544Z",
          "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-04-18T15:48:23.2126544Z",
          "Description": "sample string 5",
          "Type": "sample string 6",
          "AllocationIdentifier": 1
        }
      ],
      "Id": 10
    }
  ],
  "TotalCount": 1,
  "Total": 2.0
}