POST api/SaleReturnInvoices/Update

Request Information

URI Parameters

None.

Body Parameters

InvoiceEditModel
NameDescriptionTypeAdditional information
Inv_BranchId

integer

None.

Inv_TypeId

integer

None.

Inv_EmpId

integer

None.

Inv_Id

integer

None.

Inv_ClientId

integer

None.

Inv_ToDistrictId

integer

None.

Inv_FromDistrictId

integer

None.

Inv_CarId

integer

None.

Inv_DriverId

integer

None.

Inv_Note

string

None.

Inv_Reference

string

None.

Inv_TotalAmount

decimal number

None.

Inv_AnotherFee

decimal number

None.

Inv_Discount

decimal number

None.

Inv_TotalAfterDiscount

decimal number

None.

Inv_Tax

decimal number

None.

Inv_NetAmount

decimal number

None.

Inv_Paid

decimal number

None.

Inv_Paid2

decimal number

None.

Inv_Remain

decimal number

None.

Inv_PayMode

integer

None.

Inv_PayMode2

integer

None.

Inv_Date

date

None.

Inv_MainInvNum

integer

None.

Inv_IsReturned

boolean

None.

Inv_IsFreeTrip

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Inv_BranchId": 1,
  "Inv_TypeId": 2,
  "Inv_EmpId": 3,
  "Inv_Id": 4,
  "Inv_ClientId": 5,
  "Inv_ToDistrictId": 6,
  "Inv_FromDistrictId": 7,
  "Inv_CarId": 8,
  "Inv_DriverId": 9,
  "Inv_Note": "sample string 10",
  "Inv_Reference": "sample string 11",
  "Inv_TotalAmount": 12.0,
  "Inv_AnotherFee": 13.0,
  "Inv_Discount": 14.0,
  "Inv_TotalAfterDiscount": 15.0,
  "Inv_Tax": 16.0,
  "Inv_NetAmount": 17.0,
  "Inv_Paid": 18.0,
  "Inv_Paid2": 19.0,
  "Inv_Remain": 20.0,
  "Inv_PayMode": 21,
  "Inv_PayMode2": 22,
  "Inv_Date": "2025-12-15T05:16:10.1923118+03:00",
  "Inv_MainInvNum": 24,
  "Inv_IsReturned": true,
  "Inv_IsFreeTrip": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseOfInvoiceEditModel
NameDescriptionTypeAdditional information
ApiMessage

ApiMessage

None.

Data

InvoiceEditModel

None.

Response Formats

application/json, text/json

Sample:
{
  "ApiMessage": {
    "StatusCode": 1,
    "StatusMessage": "sample string 2"
  },
  "Data": {
    "Inv_BranchId": 1,
    "Inv_TypeId": 2,
    "Inv_EmpId": 3,
    "Inv_Id": 4,
    "Inv_ClientId": 5,
    "Inv_ToDistrictId": 6,
    "Inv_FromDistrictId": 7,
    "Inv_CarId": 8,
    "Inv_DriverId": 9,
    "Inv_Note": "sample string 10",
    "Inv_Reference": "sample string 11",
    "Inv_TotalAmount": 12.0,
    "Inv_AnotherFee": 13.0,
    "Inv_Discount": 14.0,
    "Inv_TotalAfterDiscount": 15.0,
    "Inv_Tax": 16.0,
    "Inv_NetAmount": 17.0,
    "Inv_Paid": 18.0,
    "Inv_Paid2": 19.0,
    "Inv_Remain": 20.0,
    "Inv_PayMode": 21,
    "Inv_PayMode2": 22,
    "Inv_Date": "2025-12-15T05:16:10.1923118+03:00",
    "Inv_MainInvNum": 24,
    "Inv_IsReturned": true,
    "Inv_IsFreeTrip": true
  }
}