GET api/PriceListsController/GetEmptyInvoiceCredit

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

InvoiceCredit
NameDescriptionTypeAdditional information
line_code

integer

None.

date_actual

date

Required

cust_num

integer

Required

insur_code

integer

Required

oper_code

integer

Required

business_branch_code

integer

None.

district_code

integer

None.

invoice_num

integer

None.

price

decimal number

None.

vat

decimal number

None.

quantity

integer

Range: inclusive between 1 and 999

inv_type

string

String length: inclusive between 0 and 2

debit_invoice_num

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "line_code": 1,
  "date_actual": "2019-10-15T02:15:55.0432656+03:00",
  "cust_num": 3,
  "insur_code": 4,
  "oper_code": 5,
  "business_branch_code": 1,
  "district_code": 1,
  "invoice_num": 1,
  "price": 1.0,
  "vat": 1.0,
  "quantity": 1,
  "inv_type": "sample string 6",
  "debit_invoice_num": 1
}

application/xml, text/xml

Sample:
<InvoiceCredit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <business_branch_code>1</business_branch_code>
  <cust_num>3</cust_num>
  <date_actual>2019-10-15T02:15:55.0432656+03:00</date_actual>
  <debit_invoice_num>1</debit_invoice_num>
  <district_code>1</district_code>
  <insur_code>4</insur_code>
  <inv_type>sample string 6</inv_type>
  <invoice_num>1</invoice_num>
  <line_code>1</line_code>
  <oper_code>5</oper_code>
  <price>1</price>
  <quantity>1</quantity>
  <vat>1</vat>
</InvoiceCredit>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.