POST api/invoice/savereceiptlistitem

Save receipt list item

Request Information

URI Parameters

None.

Body Parameters

SaveReceiptItemDataContract
NameDescriptionTypeAdditional information
ReceiptedAmount

decimal number

None.

ClientBankAccountId

integer

None.

LiableAccountId

integer

None.

DateFundReceived

date

None.

NegotiatorId

integer

None.

ReceiptItemInvoices

Collection of SaveReceiptItemInvoiceDataContract

None.

Request Formats

application/json, text/json

Sample:
{
  "ReceiptedAmount": 1.0,
  "ClientBankAccountId": 2,
  "LiableAccountId": 3,
  "DateFundReceived": "2021-07-24T06:56:49.932517Z",
  "NegotiatorId": 5,
  "ReceiptItemInvoices": [
    {
      "InvoiceId": 1,
      "UseBalanceAmount": 2.0,
      "UseReceiptedAmount": 3.0,
      "RecipientAccountId": 4,
      "Regarding": "sample string 5",
      "PaymentType": 0
    },
    {
      "InvoiceId": 1,
      "UseBalanceAmount": 2.0,
      "UseReceiptedAmount": 3.0,
      "RecipientAccountId": 4,
      "Regarding": "sample string 5",
      "PaymentType": 0
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of 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 ReceiptItemInvoiceDataContract

None.

PaymentType

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": "d8bca5e0-3b1a-4522-9d29-e0f73769f64d",
    "ReceivedDate": "2021-07-24T06:56:49.9637444Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2021-07-24T06:56:49.9637444Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2021-07-24T06:56:49.9637444Z",
            "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": "2021-07-24T06:56:49.9637444Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2021-07-24T06:56:49.9637444Z",
            "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": "d8bca5e0-3b1a-4522-9d29-e0f73769f64d",
    "ReceivedDate": "2021-07-24T06:56:49.9637444Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2021-07-24T06:56:49.9637444Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2021-07-24T06:56:49.9637444Z",
            "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": "2021-07-24T06:56:49.9637444Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2021-07-24T06:56:49.9637444Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      }
    ],
    "PaymentType": 0,
    "Id": 10
  }
]