POST api/v1/InvoicePrint

Request Information

URI Parameters

None.

Body Parameters

InvPrintInput
NameDescriptionTypeAdditional information
InvoiceID

integer

None.

Result

string

None.

BillType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceID": 1,
  "Result": "sample string 2",
  "BillType": "sample string 3"
}

application/xml, text/xml

Sample:
<InvPrintInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BillType>sample string 3</BillType>
  <InvoiceID>1</InvoiceID>
  <Result>sample string 2</Result>
</InvPrintInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InvPrintInput'.

Response Information

Resource Description

InvPrintModel
NameDescriptionTypeAdditional information
LocName

string

None.

LocAddress1

string

None.

LocAddress2

string

None.

Licensee

string

None.

GSTNo

string

None.

BtmLine1

string

None.

BtmLine2

string

None.

BillNo

string

None.

DaySrl

integer

None.

NoofBills

integer

None.

NoofKOTs

integer

None.

BillDate

date

None.

UserName

string

None.

PaymentMode

string

None.

TableNo

string

None.

GTotAmount

decimal number

None.

TotQty

decimal number

None.

TelNo

string

None.

Roff

decimal number

None.

CompName

string

None.

KOTCopies

integer

None.

Discper

decimal number

None.

DiscAmt

decimal number

None.

CouponNo

string

None.

CustGSTIN

string

None.

CustName

string

None.

FixedCGST

decimal number

None.

FixedSGST

decimal number

None.

RefTableNo

string

None.

InvItemDetails

Collection of InvPrintDetailModel

None.

invGSTDetails

Collection of InvPrintGSTModel

None.

invPayRcvDetails

Collection of InvPmtRcvModel

None.

Response Formats

application/json, text/json

Sample:
{
  "LocName": "sample string 1",
  "LocAddress1": "sample string 2",
  "LocAddress2": "sample string 3",
  "Licensee": "sample string 4",
  "GSTNo": "sample string 5",
  "BtmLine1": "sample string 6",
  "BtmLine2": "sample string 7",
  "BillNo": "sample string 8",
  "DaySrl": 9,
  "NoofBills": 10,
  "NoofKOTs": 11,
  "BillDate": "2025-12-15T01:07:34.3517038+05:30",
  "UserName": "sample string 13",
  "PaymentMode": "sample string 14",
  "TableNo": "sample string 15",
  "GTotAmount": 16.0,
  "TotQty": 17.0,
  "TelNo": "sample string 18",
  "Roff": 19.0,
  "CompName": "sample string 20",
  "KOTCopies": 1,
  "Discper": 21.0,
  "DiscAmt": 22.0,
  "CouponNo": "sample string 23",
  "CustGSTIN": "sample string 24",
  "CustName": "sample string 25",
  "FixedCGST": 26.1,
  "FixedSGST": 27.1,
  "RefTableNo": "sample string 28",
  "InvItemDetails": [
    {
      "ItemDescr": "sample string 1",
      "GroupName": "sample string 2",
      "UOM": "sample string 3",
      "ItemRate": 4.0,
      "BasicAmt": 5.0,
      "CGSTPer": 6.0,
      "SGSTPer": 7.0,
      "Qty": 8.0,
      "TotalAmt": 9.0,
      "CGSTAmt": 10.0,
      "SGSTAmt": 11.0,
      "PrinterName": "sample string 12",
      "Port": "sample string 13"
    },
    {
      "ItemDescr": "sample string 1",
      "GroupName": "sample string 2",
      "UOM": "sample string 3",
      "ItemRate": 4.0,
      "BasicAmt": 5.0,
      "CGSTPer": 6.0,
      "SGSTPer": 7.0,
      "Qty": 8.0,
      "TotalAmt": 9.0,
      "CGSTAmt": 10.0,
      "SGSTAmt": 11.0,
      "PrinterName": "sample string 12",
      "Port": "sample string 13"
    }
  ],
  "invGSTDetails": [
    {
      "CGSTPer": 1.0,
      "SGSTPer": 2.0,
      "CGSTAmt": 3.0,
      "SGSTAmt": 4.0,
      "GSTPer": 5.0
    },
    {
      "CGSTPer": 1.0,
      "SGSTPer": 2.0,
      "CGSTAmt": 3.0,
      "SGSTAmt": 4.0,
      "GSTPer": 5.0
    }
  ],
  "invPayRcvDetails": [
    {
      "CollMode": "sample string 1",
      "CollAmt": 2.0
    },
    {
      "CollMode": "sample string 1",
      "CollAmt": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<InvPrintModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BillDate>2025-12-15T01:07:34.3517038+05:30</BillDate>
  <BillNo>sample string 8</BillNo>
  <BtmLine1>sample string 6</BtmLine1>
  <BtmLine2>sample string 7</BtmLine2>
  <CompName>sample string 20</CompName>
  <CouponNo>sample string 23</CouponNo>
  <CustGSTIN>sample string 24</CustGSTIN>
  <CustName>sample string 25</CustName>
  <DaySrl>9</DaySrl>
  <DiscAmt>22</DiscAmt>
  <Discper>21</Discper>
  <FixedCGST>26.1</FixedCGST>
  <FixedSGST>27.1</FixedSGST>
  <GSTNo>sample string 5</GSTNo>
  <GTotAmount>16</GTotAmount>
  <InvItemDetails>
    <InvPrintDetailModel>
      <BasicAmt>5</BasicAmt>
      <CGSTAmt>10</CGSTAmt>
      <CGSTPer>6</CGSTPer>
      <GroupName>sample string 2</GroupName>
      <ItemDescr>sample string 1</ItemDescr>
      <ItemRate>4</ItemRate>
      <Port>sample string 13</Port>
      <PrinterName>sample string 12</PrinterName>
      <Qty>8</Qty>
      <SGSTAmt>11</SGSTAmt>
      <SGSTPer>7</SGSTPer>
      <TotalAmt>9</TotalAmt>
      <UOM>sample string 3</UOM>
    </InvPrintDetailModel>
    <InvPrintDetailModel>
      <BasicAmt>5</BasicAmt>
      <CGSTAmt>10</CGSTAmt>
      <CGSTPer>6</CGSTPer>
      <GroupName>sample string 2</GroupName>
      <ItemDescr>sample string 1</ItemDescr>
      <ItemRate>4</ItemRate>
      <Port>sample string 13</Port>
      <PrinterName>sample string 12</PrinterName>
      <Qty>8</Qty>
      <SGSTAmt>11</SGSTAmt>
      <SGSTPer>7</SGSTPer>
      <TotalAmt>9</TotalAmt>
      <UOM>sample string 3</UOM>
    </InvPrintDetailModel>
  </InvItemDetails>
  <KOTCopies>1</KOTCopies>
  <Licensee>sample string 4</Licensee>
  <LocAddress1>sample string 2</LocAddress1>
  <LocAddress2>sample string 3</LocAddress2>
  <LocName>sample string 1</LocName>
  <NoofBills>10</NoofBills>
  <NoofKOTs>11</NoofKOTs>
  <PaymentMode>sample string 14</PaymentMode>
  <RefTableNo>sample string 28</RefTableNo>
  <Roff>19</Roff>
  <TableNo>sample string 15</TableNo>
  <TelNo>sample string 18</TelNo>
  <TotQty>17</TotQty>
  <UserName>sample string 13</UserName>
  <invGSTDetails>
    <InvPrintGSTModel>
      <CGSTAmt>3</CGSTAmt>
      <CGSTPer>1</CGSTPer>
      <GSTPer>5</GSTPer>
      <SGSTAmt>4</SGSTAmt>
      <SGSTPer>2</SGSTPer>
    </InvPrintGSTModel>
    <InvPrintGSTModel>
      <CGSTAmt>3</CGSTAmt>
      <CGSTPer>1</CGSTPer>
      <GSTPer>5</GSTPer>
      <SGSTAmt>4</SGSTAmt>
      <SGSTPer>2</SGSTPer>
    </InvPrintGSTModel>
  </invGSTDetails>
  <invPayRcvDetails>
    <InvPmtRcvModel>
      <CollAmt>2</CollAmt>
      <CollMode>sample string 1</CollMode>
    </InvPmtRcvModel>
    <InvPmtRcvModel>
      <CollAmt>2</CollAmt>
      <CollMode>sample string 1</CollMode>
    </InvPmtRcvModel>
  </invPayRcvDetails>
</InvPrintModel>