POST api/invoice/savereceiptlistitem

Save receipt list item

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.Accounts.Invoices.Command.SaveReceiptItemDataContract
NameDescriptionTypeAdditional information
ReceiptedAmount

decimal number

None.

ClientBankAccountId

integer

None.

LiableAccountId

integer

None.

DateFundReceived

date

None.

NegotiatorId

integer

None.

Description

string

None.

ReceiptItemInvoices

Collection of Dezrez.Core.DataContracts.Accounts.Invoices.Command.SaveReceiptItemInvoiceDataContract

None.

IsAutoMatching

boolean

None.

ReferenceMatched

string

None.

TransactionStatus

string

None.

TransactionDate

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "ReceiptedAmount": 1.0,
  "ClientBankAccountId": 2,
  "LiableAccountId": 3,
  "DateFundReceived": "2024-10-30T15:16:31.4930108Z",
  "NegotiatorId": 5,
  "Description": "sample string 6",
  "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
    }
  ],
  "IsAutoMatching": true,
  "ReferenceMatched": "sample string 8",
  "TransactionStatus": "sample string 9",
  "TransactionDate": "sample string 10"
}

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": "697cfeca-a00b-4902-a73b-1e5e72d62514",
    "ReceivedDate": "2024-10-30T15:16:31.4930108Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-30T15:16:31.4930108Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-30T15:16:31.4930108Z",
            "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-30T15:16:31.4930108Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-30T15:16:31.4930108Z",
            "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": "697cfeca-a00b-4902-a73b-1e5e72d62514",
    "ReceivedDate": "2024-10-30T15:16:31.4930108Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-30T15:16:31.4930108Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-30T15:16:31.4930108Z",
            "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-30T15:16:31.4930108Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2024-10-30T15:16:31.4930108Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      }
    ],
    "PaymentType": 0,
    "Id": 10
  }
]