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

PaymentItemCollectionDataContract
NameDescriptionTypeAdditional information
Collection

Collection of 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": "2021-07-25T02:31:32.7282354Z",
      "Description": "sample string 4",
      "AccountName": "sample string 5",
      "IsCleared": true,
      "NegotiatorId": 7,
      "PaymentStatementReziDocumentId": 1,
      "PaymentStatementPreviewReziDocumentRef": "sample string 8",
      "ReceiptsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "SubTotalAmount": 1.0,
          "TaxTotalAmount": 1.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "RefundId": 5,
          "RefundDeductionId": 6,
          "CreatedDate": "2021-07-25T02:31:32.7282354Z",
          "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-25T02:31:32.7282354Z",
          "Description": "sample string 8"
        }
      ],
      "InvoicePaymentCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "SubTotalAmount": 1.0,
          "TaxTotalAmount": 1.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "RefundId": 5,
          "RefundDeductionId": 6,
          "CreatedDate": "2021-07-25T02:31:32.7282354Z",
          "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-25T02:31:32.7282354Z",
          "Description": "sample string 8"
        }
      ],
      "RefundsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "SubTotalAmount": 1.0,
          "TaxTotalAmount": 1.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "RefundId": 5,
          "RefundDeductionId": 6,
          "CreatedDate": "2021-07-25T02:31:32.7282354Z",
          "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-25T02:31:32.7282354Z",
          "Description": "sample string 8"
        }
      ],
      "InvoiceDeductionCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "SubTotalAmount": 1.0,
          "TaxTotalAmount": 1.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "RefundId": 5,
          "RefundDeductionId": 6,
          "CreatedDate": "2021-07-25T02:31:32.7282354Z",
          "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-25T02:31:32.7282354Z",
          "Description": "sample string 8"
        }
      ],
      "RefundDeductionsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "SubTotalAmount": 1.0,
          "TaxTotalAmount": 1.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "RefundId": 5,
          "RefundDeductionId": 6,
          "CreatedDate": "2021-07-25T02:31:32.7282354Z",
          "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-25T02:31:32.7282354Z",
          "Description": "sample string 8"
        }
      ],
      "Id": 9
    },
    {
      "SourceAccountId": 1,
      "AccountType": 0,
      "Amount": 2.0,
      "PaymentType": 0,
      "ClientBankAccountId": 3,
      "Date": "2021-07-25T02:31:32.7282354Z",
      "Description": "sample string 4",
      "AccountName": "sample string 5",
      "IsCleared": true,
      "NegotiatorId": 7,
      "PaymentStatementReziDocumentId": 1,
      "PaymentStatementPreviewReziDocumentRef": "sample string 8",
      "ReceiptsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "SubTotalAmount": 1.0,
          "TaxTotalAmount": 1.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "RefundId": 5,
          "RefundDeductionId": 6,
          "CreatedDate": "2021-07-25T02:31:32.7282354Z",
          "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-25T02:31:32.7282354Z",
          "Description": "sample string 8"
        }
      ],
      "InvoicePaymentCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "SubTotalAmount": 1.0,
          "TaxTotalAmount": 1.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "RefundId": 5,
          "RefundDeductionId": 6,
          "CreatedDate": "2021-07-25T02:31:32.7282354Z",
          "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-25T02:31:32.7282354Z",
          "Description": "sample string 8"
        }
      ],
      "RefundsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "SubTotalAmount": 1.0,
          "TaxTotalAmount": 1.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "RefundId": 5,
          "RefundDeductionId": 6,
          "CreatedDate": "2021-07-25T02:31:32.7282354Z",
          "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-25T02:31:32.7282354Z",
          "Description": "sample string 8"
        }
      ],
      "InvoiceDeductionCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "SubTotalAmount": 1.0,
          "TaxTotalAmount": 1.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "RefundId": 5,
          "RefundDeductionId": 6,
          "CreatedDate": "2021-07-25T02:31:32.7282354Z",
          "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-25T02:31:32.7282354Z",
          "Description": "sample string 8"
        }
      ],
      "RefundDeductionsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "SubTotalAmount": 1.0,
          "TaxTotalAmount": 1.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "RefundId": 5,
          "RefundDeductionId": 6,
          "CreatedDate": "2021-07-25T02:31:32.7282354Z",
          "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-25T02:31:32.7282354Z",
          "Description": "sample string 8"
        }
      ],
      "Id": 9
    }
  ],
  "TotalCount": 1,
  "Total": 2.0
}