POST api/Billing/PaymentonBilling

Request Information

URI Parameters

None.

Body Parameters

InsertPaymentRequest
NameDescriptionTypeAdditional information
Bookheadnum

integer

None.

ClientKey

integer

None.

OrdSaleDate

date

None.

StaKey

integer

None.

SpecialNotes

string

None.

PaidMethod

string

None.

TotalAmount

decimal number

None.

Tipamount

decimal number

None.

NetBillAmount

decimal number

None.

PaidAmount

decimal number

None.

Subsordemo

string

None.

CompKey

integer

None.

CurrencyKey

integer

None.

MechKey

integer

None.

UserKey

integer

None.

BillingDetList

Collection of BillingDetModel

None.

PaidDataList

Collection of PaymentDetModel

None.

BookSourceFrom

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Bookheadnum": 1,
  "ClientKey": 2,
  "OrdSaleDate": "2026-05-31T14:09:34.4015579+04:00",
  "StaKey": 4,
  "SpecialNotes": "sample string 5",
  "PaidMethod": "sample string 6",
  "TotalAmount": 7.1,
  "Tipamount": 8.1,
  "NetBillAmount": 9.1,
  "PaidAmount": 10.1,
  "Subsordemo": "sample string 11",
  "CompKey": 12,
  "CurrencyKey": 13,
  "MechKey": 14,
  "UserKey": 15,
  "BillingDetList": [
    {
      "prodKey": 1,
      "prodBarcode": "sample string 2",
      "prodName": "sample string 3",
      "prodDesc": "sample string 4",
      "prodQty": 5.0,
      "prodRate": 6.0,
      "prodTotal": 7.0,
      "paidAmount": 8.0,
      "prodDiscAmt": 9.0,
      "bmDistDiscAmt": 10.0,
      "staKey": 11,
      "staCode": "sample string 12",
      "staName": "sample string 13",
      "prodCatog": "sample string 14",
      "timeKey": 15,
      "timeKeyFrom": 16,
      "timeKeyTo": 17,
      "timeFrom": "sample string 18",
      "timeTo": "sample string 19"
    },
    {
      "prodKey": 1,
      "prodBarcode": "sample string 2",
      "prodName": "sample string 3",
      "prodDesc": "sample string 4",
      "prodQty": 5.0,
      "prodRate": 6.0,
      "prodTotal": 7.0,
      "paidAmount": 8.0,
      "prodDiscAmt": 9.0,
      "bmDistDiscAmt": 10.0,
      "staKey": 11,
      "staCode": "sample string 12",
      "staName": "sample string 13",
      "prodCatog": "sample string 14",
      "timeKey": 15,
      "timeKeyFrom": 16,
      "timeKeyTo": 17,
      "timeFrom": "sample string 18",
      "timeTo": "sample string 19"
    }
  ],
  "PaidDataList": [
    {
      "paidMethod": "sample string 1",
      "paidreference": "sample string 2",
      "paidAmount": 3.1
    },
    {
      "paidMethod": "sample string 1",
      "paidreference": "sample string 2",
      "paidAmount": 3.1
    }
  ],
  "BookSourceFrom": "sample string 16"
}

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.