POST api/Billing/InsertPayment

Request Information

URI Parameters

None.

Body Parameters

InsertBillingRequest
NameDescriptionTypeAdditional information
OrdHeadnumb

integer

None.

OrdNumber

integer

None.

OrdSaleDate

date

None.

AppointDate

date

None.

MechKey

integer

None.

UserKey

integer

None.

OrdType

string

None.

StaKey

integer

None.

ClientKey

integer

None.

LoyaltyKey

integer

None.

CompKey

integer

None.

TaxKey

integer

None.

TaxAmount

decimal number

None.

TaxKey2

integer

None.

TaxAmount2

decimal number

None.

BmDiscAmt

decimal number

None.

BmTotalAmount

decimal number

None.

BmPaidAmount

decimal number

None.

BmServCharge

decimal number

None.

BmOtherCharge

decimal number

None.

AdvpaidAmount

decimal number

None.

Paymentag

string

None.

Paymode

string

None.

Cardnumber

string

None.

CurrencyKey

integer

None.

CountryKey

integer

None.

Statekey

integer

None.

paymadvance

string

None.

Subsordemo

string

None.

billsOrdersDetList

Collection of BillingDetModel

None.

Request Formats

application/json, text/json

Sample:
{
  "OrdHeadnumb": 1,
  "OrdNumber": 2,
  "OrdSaleDate": "2026-04-01T16:49:53.101356+04:00",
  "AppointDate": "2026-04-01T16:49:53.101356+04:00",
  "MechKey": 5,
  "UserKey": 6,
  "OrdType": "sample string 7",
  "StaKey": 8,
  "ClientKey": 9,
  "LoyaltyKey": 10,
  "CompKey": 11,
  "TaxKey": 12,
  "TaxAmount": 13.0,
  "TaxKey2": 14,
  "TaxAmount2": 15.0,
  "BmDiscAmt": 16.0,
  "BmTotalAmount": 17.0,
  "BmPaidAmount": 18.0,
  "BmServCharge": 19.0,
  "BmOtherCharge": 20.0,
  "AdvpaidAmount": 21.0,
  "Paymentag": "sample string 22",
  "Paymode": "sample string 23",
  "Cardnumber": "sample string 24",
  "CurrencyKey": 25,
  "CountryKey": 26,
  "Statekey": 27,
  "paymadvance": "sample string 28",
  "Subsordemo": "sample string 29",
  "billsOrdersDetList": [
    {
      "ordHeadnumb": 2,
      "ordHeadLine": 3,
      "bmBillNumb": "sample string 4",
      "prodKey": 5,
      "prodBarcode": "sample string 6",
      "prodName": "sample string 7",
      "prodDesc": "sample string 8",
      "prodQty": 9.0,
      "prodPrices": 10.0,
      "prodAmount": 11.0,
      "paidAmount": 12.0,
      "prodDiscAmt": 13.0,
      "bmDistDiscAmt": 14.0,
      "bmDistTaxAmt": 15.0,
      "transType": "sample string 16",
      "timeKey": 17,
      "timeFrom": "sample string 18",
      "timeTo": "sample string 19",
      "staKey": 20,
      "staCode": "sample string 21",
      "staName": "sample string 22",
      "transTag": "sample string 23",
      "paymKey": 24,
      "advanceTag": "sample string 25",
      "paymDesc": "sample string 26",
      "detLinenum": 27,
      "bmHeadnum": 28
    },
    {
      "ordHeadnumb": 2,
      "ordHeadLine": 3,
      "bmBillNumb": "sample string 4",
      "prodKey": 5,
      "prodBarcode": "sample string 6",
      "prodName": "sample string 7",
      "prodDesc": "sample string 8",
      "prodQty": 9.0,
      "prodPrices": 10.0,
      "prodAmount": 11.0,
      "paidAmount": 12.0,
      "prodDiscAmt": 13.0,
      "bmDistDiscAmt": 14.0,
      "bmDistTaxAmt": 15.0,
      "transType": "sample string 16",
      "timeKey": 17,
      "timeFrom": "sample string 18",
      "timeTo": "sample string 19",
      "staKey": 20,
      "staCode": "sample string 21",
      "staName": "sample string 22",
      "transTag": "sample string 23",
      "paymKey": 24,
      "advanceTag": "sample string 25",
      "paymDesc": "sample string 26",
      "detLinenum": 27,
      "bmHeadnum": 28
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.