POST api/invoice/savereceiptlistitem
Save receipt list item
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.Accounts.Invoices.Command.SaveReceiptItemDataContractName | Description | Type | Additional 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-08T08:23:28.4815031Z", "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.ReceiptItemDataContractName | Description | Type | Additional 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": "3413d66e-bce8-40c6-a3bc-ed58c3c9a46a", "ReceivedDate": "2024-10-08T08:23:28.4815031Z", "Invoices": [ { "InvoiceId": 1, "Regarding": "sample string 2", "Allocations": [ { "UseBalanceAmount": 1.0, "ReceiptAmount": 2.0, "ToReceipt": 3.0, "ToAllocate": 4.0, "DateFundReceived": "2024-10-08T08:23:28.4815031Z", "NegotiatorId": 6, "Id": 7 }, { "UseBalanceAmount": 1.0, "ReceiptAmount": 2.0, "ToReceipt": 3.0, "ToAllocate": 4.0, "DateFundReceived": "2024-10-08T08:23:28.4815031Z", "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-08T08:23:28.4815031Z", "NegotiatorId": 6, "Id": 7 }, { "UseBalanceAmount": 1.0, "ReceiptAmount": 2.0, "ToReceipt": 3.0, "ToAllocate": 4.0, "DateFundReceived": "2024-10-08T08:23:28.4815031Z", "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": "3413d66e-bce8-40c6-a3bc-ed58c3c9a46a", "ReceivedDate": "2024-10-08T08:23:28.4815031Z", "Invoices": [ { "InvoiceId": 1, "Regarding": "sample string 2", "Allocations": [ { "UseBalanceAmount": 1.0, "ReceiptAmount": 2.0, "ToReceipt": 3.0, "ToAllocate": 4.0, "DateFundReceived": "2024-10-08T08:23:28.4815031Z", "NegotiatorId": 6, "Id": 7 }, { "UseBalanceAmount": 1.0, "ReceiptAmount": 2.0, "ToReceipt": 3.0, "ToAllocate": 4.0, "DateFundReceived": "2024-10-08T08:23:28.4815031Z", "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-08T08:23:28.4815031Z", "NegotiatorId": 6, "Id": 7 }, { "UseBalanceAmount": 1.0, "ReceiptAmount": 2.0, "ToReceipt": 3.0, "ToAllocate": 4.0, "DateFundReceived": "2024-10-08T08:23:28.4815031Z", "NegotiatorId": 6, "Id": 7 } ], "TotalAllocated": 3.0, "TotalReceipted": 4.0, "Id": 5 } ], "PaymentType": 0, "Id": 10 } ]