POST api/user/set/invoice
Request Information
URI Parameters
None.
Body Parameters
SetInvoiceName | Description | Type | Additional information |
---|---|---|---|
InvoiceNumber | string |
None. |
|
CurrentCode | string |
None. |
|
InvoiceDetail | Collection of InvoiceDetail |
None. |
|
InvoiceSum | InvoiceSum |
None. |
Request Formats
application/json, text/json
Sample:
{ "InvoiceNumber": "sample string 1", "CurrentCode": "sample string 2", "InvoiceDetail": [ { "ProductCode": "sample string 1", "ProductName": "sample string 2", "Quantity": 3, "UnitOf": "sample string 4", "UnitPrice": 5.0, "Discount1": 6.0, "Discount2": 7.0, "Discount3": 8.0, "Discount4": 9.0, "DiscountAmount": 10.0, "NetPrice": 11.0, "NetAmount": 12.0, "KdvRate": 13.0, "KdvAmount": 14.0 }, { "ProductCode": "sample string 1", "ProductName": "sample string 2", "Quantity": 3, "UnitOf": "sample string 4", "UnitPrice": 5.0, "Discount1": 6.0, "Discount2": 7.0, "Discount3": 8.0, "Discount4": 9.0, "DiscountAmount": 10.0, "NetPrice": 11.0, "NetAmount": 12.0, "KdvRate": 13.0, "KdvAmount": 14.0 } ], "InvoiceSum": { "ServiceGrossTotal": 1.0, "TotalDiscount": 2.0, "Total": 3.0, "KdvAmount": 4.0, "KdvSubTotal": 5.0 } }
application/xml, text/xml
Sample:
<SetInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ifs_Users_Entity.Concreate.Dto.User"> <CurrentCode>sample string 2</CurrentCode> <InvoiceDetail> <InvoiceDetail> <Discount1>6</Discount1> <Discount2>7</Discount2> <Discount3>8</Discount3> <Discount4>9</Discount4> <DiscountAmount>10</DiscountAmount> <KdvAmount>14</KdvAmount> <KdvRate>13</KdvRate> <NetAmount>12</NetAmount> <NetPrice>11</NetPrice> <ProductCode>sample string 1</ProductCode> <ProductName>sample string 2</ProductName> <Quantity>3</Quantity> <UnitOf>sample string 4</UnitOf> <UnitPrice>5</UnitPrice> </InvoiceDetail> <InvoiceDetail> <Discount1>6</Discount1> <Discount2>7</Discount2> <Discount3>8</Discount3> <Discount4>9</Discount4> <DiscountAmount>10</DiscountAmount> <KdvAmount>14</KdvAmount> <KdvRate>13</KdvRate> <NetAmount>12</NetAmount> <NetPrice>11</NetPrice> <ProductCode>sample string 1</ProductCode> <ProductName>sample string 2</ProductName> <Quantity>3</Quantity> <UnitOf>sample string 4</UnitOf> <UnitPrice>5</UnitPrice> </InvoiceDetail> </InvoiceDetail> <InvoiceNumber>sample string 1</InvoiceNumber> <InvoiceSum> <KdvAmount>4</KdvAmount> <KdvSubTotal>5</KdvSubTotal> <ServiceGrossTotal>1</ServiceGrossTotal> <Total>3</Total> <TotalDiscount>2</TotalDiscount> </InvoiceSum> </SetInvoice>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.