POST v1/clientdata/AddReceipt/{userGuid}?companyId={companyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
|
| userGuid | string |
Required |
Body Parameters
ReceiptRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Receipt id |
decimal number |
None. |
| AccountId |
Account id |
decimal number |
Required |
| VDate |
Receipt date |
date |
Required Matching regular expression pattern: (19|20)[0-9]{2}[-](0[1-9]|1[012])[-](0[1-9]|[12][0-9]|3[01]) |
| Description |
Receipt description/referance |
string |
Required |
| CurrencyId |
Currency id |
integer |
Required |
| CurrencyRate |
Currency conversion rate |
decimal number |
Required |
| AccountCurrencyId |
Currency id |
integer |
Required |
| AccountCurrencyRate |
Currency conversion rate |
decimal number |
Required |
| Invoices |
Receipt invoices |
Collection of ReceiptInvoiceMaster |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1.0,
"AccountId": 2.0,
"VDate": "2025-11-03T02:42:31.2047239+00:00",
"Description": "sample string 4",
"CurrencyId": 5,
"CurrencyRate": 6.0,
"AccountCurrencyId": 7,
"AccountCurrencyRate": 8.0,
"Invoices": [
{
"InvoiceId": 1.0,
"Amount": 2.0,
"TotalAmount": 3.0,
"IsFullyPaid": true,
"UniversalId": "21260686-7851-4ca8-9d6b-b2a84bdf8231"
},
{
"InvoiceId": 1.0,
"Amount": 2.0,
"TotalAmount": 3.0,
"IsFullyPaid": true,
"UniversalId": "21260686-7851-4ca8-9d6b-b2a84bdf8231"
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |