POST api/Accounting/TaxInvoice/CreateVatNoPurchaseOrder
Request Information
URI Parameters
None.
Body Parameters
m_CreateVATNoPurchaseOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| cust_id | integer |
None. |
|
| vatTypeName | string |
None. |
|
| lists | Collection of m_CreateVATNoPurchaseOrder_List |
None. |
|
| totalPrice | decimal number |
None. |
|
| totalAmount | decimal number |
None. |
|
| discount | string |
None. |
|
| discountAmount | integer |
None. |
|
| remark | string |
String length: inclusive between 0 and 4000 |
Request Formats
application/json, text/json
Sample:
{
"cust_id": 1,
"vatTypeName": "sample string 1",
"lists": [
{
"taxInvoiceDeliveryNoteListId": 1,
"listName": "sample string 1",
"quantity": 1,
"price": 2.0
},
{
"taxInvoiceDeliveryNoteListId": 1,
"listName": "sample string 1",
"quantity": 1,
"price": 2.0
}
],
"totalPrice": 2.0,
"totalAmount": 1.0,
"discount": "sample string 3",
"discountAmount": 4,
"remark": "sample string 5"
}
application/xml, text/xml
Sample:
<m_CreateVATNoPurchaseOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Accounting">
<cust_id>1</cust_id>
<discount>sample string 3</discount>
<discountAmount>4</discountAmount>
<lists>
<m_CreateVATNoPurchaseOrder_List>
<listName>sample string 1</listName>
<price>2</price>
<quantity>1</quantity>
<taxInvoiceDeliveryNoteListId>1</taxInvoiceDeliveryNoteListId>
</m_CreateVATNoPurchaseOrder_List>
<m_CreateVATNoPurchaseOrder_List>
<listName>sample string 1</listName>
<price>2</price>
<quantity>1</quantity>
<taxInvoiceDeliveryNoteListId>1</taxInvoiceDeliveryNoteListId>
</m_CreateVATNoPurchaseOrder_List>
</lists>
<remark>sample string 5</remark>
<totalAmount>1</totalAmount>
<totalPrice>2</totalPrice>
<vatTypeName>sample string 1</vatTypeName>
</m_CreateVATNoPurchaseOrder>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.