POST api/supplierDocketEnquiry/applyAndRemoveGST
Request Information
URI Parameters
None.
Body Parameters
ApplyGSTRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| SupplierInvoiceDetailsList | Collection of SupplierInvoiceDetailsModel |
None. |
|
| ContextDetails | InvoiceContextModel |
None. |
|
| ApplyGst | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"SupplierInvoiceDetailsList": [
{
"InvPayNo": 1,
"InvPayItemNo": 2,
"PorderNo": 3,
"PorderItemNo": 4,
"CatlogCode": "sample string 5",
"Description": "sample string 6",
"DocketNo": 7,
"PartNumber": "sample string 8",
"UomInv": "sample string 9",
"OrderQty": 10.0,
"GstPrice": 11.0,
"RecdQty": 12,
"ORecdQty": 13,
"InvQty": 14.0,
"InvQtyProg": 15.0,
"RecdQtyProg": 16.0,
"Price": 17.0,
"DiscountPct": 18.0,
"Amount": 19.0,
"GlDisburseCode": "sample string 20",
"GlLedger": "sample string 21",
"GlAccount": "sample string 22",
"GlNarration": "sample string 23",
"GlRefTbl": "sample string 24",
"GlRefCode": "sample string 25",
"GstAmount": 26.0,
"GstTotal": 27.0,
"GstRate": 28.0,
"GstStatus": 29,
"GstAltered": 30,
"AuthCode": "sample string 31",
"EquipCode": "sample string 32",
"EquipNo": 33,
"Status": "sample string 34",
"EmployeeNo": 35,
"ContractNumber": "sample string 36",
"CapexNo": "sample string 37",
"SuppCode": "sample string 38",
"RoundTripCharge": 39.0,
"ForeignTotal": 40.0,
"SourceCode": "sample string 41",
"SourceNo": 42,
"SubSourceNo": 43,
"ItemSourceNo": 44,
"SubItemSourceNo": 45
},
{
"InvPayNo": 1,
"InvPayItemNo": 2,
"PorderNo": 3,
"PorderItemNo": 4,
"CatlogCode": "sample string 5",
"Description": "sample string 6",
"DocketNo": 7,
"PartNumber": "sample string 8",
"UomInv": "sample string 9",
"OrderQty": 10.0,
"GstPrice": 11.0,
"RecdQty": 12,
"ORecdQty": 13,
"InvQty": 14.0,
"InvQtyProg": 15.0,
"RecdQtyProg": 16.0,
"Price": 17.0,
"DiscountPct": 18.0,
"Amount": 19.0,
"GlDisburseCode": "sample string 20",
"GlLedger": "sample string 21",
"GlAccount": "sample string 22",
"GlNarration": "sample string 23",
"GlRefTbl": "sample string 24",
"GlRefCode": "sample string 25",
"GstAmount": 26.0,
"GstTotal": 27.0,
"GstRate": 28.0,
"GstStatus": 29,
"GstAltered": 30,
"AuthCode": "sample string 31",
"EquipCode": "sample string 32",
"EquipNo": 33,
"Status": "sample string 34",
"EmployeeNo": 35,
"ContractNumber": "sample string 36",
"CapexNo": "sample string 37",
"SuppCode": "sample string 38",
"RoundTripCharge": 39.0,
"ForeignTotal": 40.0,
"SourceCode": "sample string 41",
"SourceNo": 42,
"SubSourceNo": 43,
"ItemSourceNo": 44,
"SubItemSourceNo": 45
}
],
"ContextDetails": {
"GstInclusive": true,
"ExchangeRate": 2.0,
"InvoiceType": "sample string 3",
"DiscountPct": 4.0,
"ScreenMode": "sample string 5",
"ForeignCurrencyCode": "sample string 6",
"CostPeriodOption": 0,
"CurrentYear": 7,
"CurrentPeriod": 8,
"PreviousYear": 9,
"PreviousPeriod": 10,
"NextYear": 11,
"NextPeriod": 12,
"AllowInvoiceDateOutsidePeriod": true,
"ForeignCompleted": true
},
"ApplyGst": true
}
text/xml
Sample:
<ApplyGSTRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.AppService.DTOs.Requests">
<ApplyGst>true</ApplyGst>
<ContextDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">
<d2p1:AllowInvoiceDateOutsidePeriod>true</d2p1:AllowInvoiceDateOutsidePeriod>
<d2p1:CostPeriodOption>Current</d2p1:CostPeriodOption>
<d2p1:CurrentPeriod>8</d2p1:CurrentPeriod>
<d2p1:CurrentYear>7</d2p1:CurrentYear>
<d2p1:DiscountPct>4</d2p1:DiscountPct>
<d2p1:ExchangeRate>2</d2p1:ExchangeRate>
<d2p1:ForeignCompleted>true</d2p1:ForeignCompleted>
<d2p1:ForeignCurrencyCode>sample string 6</d2p1:ForeignCurrencyCode>
<d2p1:GstInclusive>true</d2p1:GstInclusive>
<d2p1:InvoiceType>sample string 3</d2p1:InvoiceType>
<d2p1:NextPeriod>12</d2p1:NextPeriod>
<d2p1:NextYear>11</d2p1:NextYear>
<d2p1:PreviousPeriod>10</d2p1:PreviousPeriod>
<d2p1:PreviousYear>9</d2p1:PreviousYear>
<d2p1:ScreenMode>sample string 5</d2p1:ScreenMode>
</ContextDetails>
<SupplierInvoiceDetailsList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">
<d2p1:SupplierInvoiceDetailsModel>
<d2p1:Amount>19</d2p1:Amount>
<d2p1:AuthCode>sample string 31</d2p1:AuthCode>
<d2p1:CapexNo>sample string 37</d2p1:CapexNo>
<d2p1:CatlogCode>sample string 5</d2p1:CatlogCode>
<d2p1:ContractNumber>sample string 36</d2p1:ContractNumber>
<d2p1:Description>sample string 6</d2p1:Description>
<d2p1:DiscountPct>18</d2p1:DiscountPct>
<d2p1:DocketNo>7</d2p1:DocketNo>
<d2p1:EmployeeNo>35</d2p1:EmployeeNo>
<d2p1:EquipCode>sample string 32</d2p1:EquipCode>
<d2p1:EquipNo>33</d2p1:EquipNo>
<d2p1:ForeignTotal>40</d2p1:ForeignTotal>
<d2p1:GlAccount>sample string 22</d2p1:GlAccount>
<d2p1:GlDisburseCode>sample string 20</d2p1:GlDisburseCode>
<d2p1:GlLedger>sample string 21</d2p1:GlLedger>
<d2p1:GlNarration>sample string 23</d2p1:GlNarration>
<d2p1:GlRefCode>sample string 25</d2p1:GlRefCode>
<d2p1:GlRefTbl>sample string 24</d2p1:GlRefTbl>
<d2p1:GstAltered>30</d2p1:GstAltered>
<d2p1:GstAmount>26</d2p1:GstAmount>
<d2p1:GstPrice>11</d2p1:GstPrice>
<d2p1:GstRate>28</d2p1:GstRate>
<d2p1:GstStatus>29</d2p1:GstStatus>
<d2p1:GstTotal>27</d2p1:GstTotal>
<d2p1:InvPayItemNo>2</d2p1:InvPayItemNo>
<d2p1:InvPayNo>1</d2p1:InvPayNo>
<d2p1:InvQty>14</d2p1:InvQty>
<d2p1:InvQtyProg>15</d2p1:InvQtyProg>
<d2p1:ItemSourceNo>44</d2p1:ItemSourceNo>
<d2p1:ORecdQty>13</d2p1:ORecdQty>
<d2p1:OrderQty>10</d2p1:OrderQty>
<d2p1:PartNumber>sample string 8</d2p1:PartNumber>
<d2p1:PorderItemNo>4</d2p1:PorderItemNo>
<d2p1:PorderNo>3</d2p1:PorderNo>
<d2p1:Price>17</d2p1:Price>
<d2p1:RecdQty>12</d2p1:RecdQty>
<d2p1:RecdQtyProg>16</d2p1:RecdQtyProg>
<d2p1:RoundTripCharge>39</d2p1:RoundTripCharge>
<d2p1:SourceCode>sample string 41</d2p1:SourceCode>
<d2p1:SourceNo>42</d2p1:SourceNo>
<d2p1:Status>sample string 34</d2p1:Status>
<d2p1:SubItemSourceNo>45</d2p1:SubItemSourceNo>
<d2p1:SubSourceNo>43</d2p1:SubSourceNo>
<d2p1:SuppCode>sample string 38</d2p1:SuppCode>
<d2p1:UomInv>sample string 9</d2p1:UomInv>
</d2p1:SupplierInvoiceDetailsModel>
<d2p1:SupplierInvoiceDetailsModel>
<d2p1:Amount>19</d2p1:Amount>
<d2p1:AuthCode>sample string 31</d2p1:AuthCode>
<d2p1:CapexNo>sample string 37</d2p1:CapexNo>
<d2p1:CatlogCode>sample string 5</d2p1:CatlogCode>
<d2p1:ContractNumber>sample string 36</d2p1:ContractNumber>
<d2p1:Description>sample string 6</d2p1:Description>
<d2p1:DiscountPct>18</d2p1:DiscountPct>
<d2p1:DocketNo>7</d2p1:DocketNo>
<d2p1:EmployeeNo>35</d2p1:EmployeeNo>
<d2p1:EquipCode>sample string 32</d2p1:EquipCode>
<d2p1:EquipNo>33</d2p1:EquipNo>
<d2p1:ForeignTotal>40</d2p1:ForeignTotal>
<d2p1:GlAccount>sample string 22</d2p1:GlAccount>
<d2p1:GlDisburseCode>sample string 20</d2p1:GlDisburseCode>
<d2p1:GlLedger>sample string 21</d2p1:GlLedger>
<d2p1:GlNarration>sample string 23</d2p1:GlNarration>
<d2p1:GlRefCode>sample string 25</d2p1:GlRefCode>
<d2p1:GlRefTbl>sample string 24</d2p1:GlRefTbl>
<d2p1:GstAltered>30</d2p1:GstAltered>
<d2p1:GstAmount>26</d2p1:GstAmount>
<d2p1:GstPrice>11</d2p1:GstPrice>
<d2p1:GstRate>28</d2p1:GstRate>
<d2p1:GstStatus>29</d2p1:GstStatus>
<d2p1:GstTotal>27</d2p1:GstTotal>
<d2p1:InvPayItemNo>2</d2p1:InvPayItemNo>
<d2p1:InvPayNo>1</d2p1:InvPayNo>
<d2p1:InvQty>14</d2p1:InvQty>
<d2p1:InvQtyProg>15</d2p1:InvQtyProg>
<d2p1:ItemSourceNo>44</d2p1:ItemSourceNo>
<d2p1:ORecdQty>13</d2p1:ORecdQty>
<d2p1:OrderQty>10</d2p1:OrderQty>
<d2p1:PartNumber>sample string 8</d2p1:PartNumber>
<d2p1:PorderItemNo>4</d2p1:PorderItemNo>
<d2p1:PorderNo>3</d2p1:PorderNo>
<d2p1:Price>17</d2p1:Price>
<d2p1:RecdQty>12</d2p1:RecdQty>
<d2p1:RecdQtyProg>16</d2p1:RecdQtyProg>
<d2p1:RoundTripCharge>39</d2p1:RoundTripCharge>
<d2p1:SourceCode>sample string 41</d2p1:SourceCode>
<d2p1:SourceNo>42</d2p1:SourceNo>
<d2p1:Status>sample string 34</d2p1:Status>
<d2p1:SubItemSourceNo>45</d2p1:SubItemSourceNo>
<d2p1:SubSourceNo>43</d2p1:SubSourceNo>
<d2p1:SuppCode>sample string 38</d2p1:SuppCode>
<d2p1:UomInv>sample string 9</d2p1:UomInv>
</d2p1:SupplierInvoiceDetailsModel>
</SupplierInvoiceDetailsList>
</ApplyGSTRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |