POST api/ediinvoice/recalculateTotals

Request Information

URI Parameters

None.

Body Parameters

EdiInvRecalculateRequestDto
NameDescriptionTypeAdditional information
Id

integer

None.

TempId

integer

None.

CompanyCode

string

None.

CompanyName

string

None.

DueDate

date

None.

GstAmount

decimal number

None.

InvClaimAmt

decimal number

None.

InvPayAmt

decimal number

None.

InvPayTotal

decimal number

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

CostPeriod

integer

None.

Status

string

None.

SuppInvDate

date

None.

SuppInvNo

string

None.

SupplierCode

string

None.

SupplierStore

string

None.

Timestamp

date

None.

ImageNo

string

None.

SupplierName

string

None.

InvPayNo

integer

None.

LinkedInvPayNo

string

None.

DiscountPer

decimal number

None.

IsReport

integer

None.

PoNumber

integer

None.

OrderProductType

string

None.

FileName

string

None.

Modified

integer

None.

SuppList

string

None.

CurRow

string

None.

CompanyNameBgColor

string

None.

SupplierCodeBgColor

string

None.

SupplierNameBgColor

string

None.

SuppInvDateBgColor

string

None.

CostPeriodBgColor

string

None.

InvClaimAmtBgColor

string

None.

DueDateBgColor

string

None.

SuppInvNoBgColor

string

None.

InvPayAmtBgColor

string

None.

ImageNoBgColor

string

None.

DocBgColor

string

None.

InvPayNoBgColor

string

None.

SelBgColor

string

None.

IsSelected

boolean

None.

CostYear

integer

None.

NotValidPeriod

boolean

None.

DetailCount

integer

None.

InvoiceDetailsList

Collection of EdiInvoiceDetailModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TempId": 2,
  "CompanyCode": "sample string 3",
  "CompanyName": "sample string 4",
  "DueDate": "2026-11-10T15:09:03.1286619+11:00",
  "GstAmount": 6.0,
  "InvClaimAmt": 7.0,
  "InvPayAmt": 8.0,
  "InvPayTotal": 9.0,
  "ModifiedBy": "sample string 10",
  "ModifiedDate": "2026-11-10T15:09:03.1286619+11:00",
  "CostPeriod": 12,
  "Status": "sample string 13",
  "SuppInvDate": "2026-11-10T15:09:03.1286619+11:00",
  "SuppInvNo": "sample string 15",
  "SupplierCode": "sample string 16",
  "SupplierStore": "sample string 17",
  "Timestamp": "2026-11-10T15:09:03.1286619+11:00",
  "ImageNo": "sample string 19",
  "SupplierName": "sample string 20",
  "InvPayNo": 21,
  "LinkedInvPayNo": "sample string 22",
  "DiscountPer": 23.0,
  "IsReport": 24,
  "PoNumber": 25,
  "OrderProductType": "sample string 26",
  "FileName": "sample string 27",
  "Modified": 28,
  "SuppList": "sample string 29",
  "CurRow": "sample string 30",
  "CompanyNameBgColor": "sample string 31",
  "SupplierCodeBgColor": "sample string 32",
  "SupplierNameBgColor": "sample string 33",
  "SuppInvDateBgColor": "sample string 34",
  "CostPeriodBgColor": "sample string 35",
  "InvClaimAmtBgColor": "sample string 36",
  "DueDateBgColor": "sample string 37",
  "SuppInvNoBgColor": "sample string 38",
  "InvPayAmtBgColor": "sample string 39",
  "ImageNoBgColor": "sample string 40",
  "DocBgColor": "sample string 41",
  "InvPayNoBgColor": "sample string 42",
  "SelBgColor": "sample string 43",
  "IsSelected": true,
  "CostYear": 45,
  "NotValidPeriod": true,
  "DetailCount": 47,
  "InvoiceDetailsList": [
    {
      "Id": 1,
      "Amount": 2.0,
      "CatlogCode": "sample string 3",
      "Description": "sample string 4",
      "EquipCode": "sample string 5",
      "TruckCode": "sample string 6",
      "DocketDate": "2026-11-10T15:09:03.1286619+11:00",
      "TruckDescription": "sample string 8",
      "GstPrice": 9.0,
      "LineNo": 10,
      "InvQty": 11.0,
      "DocketNo": "sample string 12",
      "InvPrice": 13.0,
      "UomInv": "sample string 14",
      "GstPers": 15.0,
      "DocketCatlogCode": "sample string 16",
      "DocketDescription": "sample string 17",
      "Price": 18.0,
      "DeliveredQty": 19.0,
      "PickedQty": 20.0,
      "DocketUom": "sample string 21",
      "GlAccount": "sample string 22",
      "GlNarration": "sample string 23",
      "GlRefCode": "sample string 24",
      "GenSupplierInvNo": 25,
      "GstStatus": 26,
      "GstRate": 27.0,
      "InvoicedFlag": 28,
      "IvceNo": 29,
      "SupplierStore": "sample string 30",
      "NewSupplierStore": "sample string 31",
      "DocketNoReal": 32,
      "SorderNo": 33,
      "IsSelected": true,
      "DocketNoBgColor": "sample string 35",
      "PriceBgColor": "sample string 36",
      "InvPriceBgColor": "sample string 37",
      "IsError": true,
      "DeliveredQtyBgColor": "sample string 39",
      "PickedQtyBgColor": "sample string 40",
      "InvQtyBgColor": "sample string 41",
      "GenSupplierInvNoBgColor": "sample string 42",
      "InvAmount": 43.0,
      "MatchedPlantDocketNo": "sample string 44",
      "InvAmountBgColor": "sample string 45",
      "AmountBgColor": "sample string 46"
    },
    {
      "Id": 1,
      "Amount": 2.0,
      "CatlogCode": "sample string 3",
      "Description": "sample string 4",
      "EquipCode": "sample string 5",
      "TruckCode": "sample string 6",
      "DocketDate": "2026-11-10T15:09:03.1286619+11:00",
      "TruckDescription": "sample string 8",
      "GstPrice": 9.0,
      "LineNo": 10,
      "InvQty": 11.0,
      "DocketNo": "sample string 12",
      "InvPrice": 13.0,
      "UomInv": "sample string 14",
      "GstPers": 15.0,
      "DocketCatlogCode": "sample string 16",
      "DocketDescription": "sample string 17",
      "Price": 18.0,
      "DeliveredQty": 19.0,
      "PickedQty": 20.0,
      "DocketUom": "sample string 21",
      "GlAccount": "sample string 22",
      "GlNarration": "sample string 23",
      "GlRefCode": "sample string 24",
      "GenSupplierInvNo": 25,
      "GstStatus": 26,
      "GstRate": 27.0,
      "InvoicedFlag": 28,
      "IvceNo": 29,
      "SupplierStore": "sample string 30",
      "NewSupplierStore": "sample string 31",
      "DocketNoReal": 32,
      "SorderNo": 33,
      "IsSelected": true,
      "DocketNoBgColor": "sample string 35",
      "PriceBgColor": "sample string 36",
      "InvPriceBgColor": "sample string 37",
      "IsError": true,
      "DeliveredQtyBgColor": "sample string 39",
      "PickedQtyBgColor": "sample string 40",
      "InvQtyBgColor": "sample string 41",
      "GenSupplierInvNoBgColor": "sample string 42",
      "InvAmount": 43.0,
      "MatchedPlantDocketNo": "sample string 44",
      "InvAmountBgColor": "sample string 45",
      "AmountBgColor": "sample string 46"
    }
  ]
}

text/xml

Sample:
<EdiInvRecalculateRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.AppService.DTOs.Requests">
  <CompanyCode>sample string 3</CompanyCode>
  <CompanyName>sample string 4</CompanyName>
  <CompanyNameBgColor>sample string 31</CompanyNameBgColor>
  <CostPeriod>12</CostPeriod>
  <CostPeriodBgColor>sample string 35</CostPeriodBgColor>
  <CostYear>45</CostYear>
  <CurRow>sample string 30</CurRow>
  <DetailCount>47</DetailCount>
  <DiscountPer>23</DiscountPer>
  <DocBgColor>sample string 41</DocBgColor>
  <DueDate>2026-11-10T15:09:03.1286619+11:00</DueDate>
  <DueDateBgColor>sample string 37</DueDateBgColor>
  <FileName>sample string 27</FileName>
  <GstAmount>6</GstAmount>
  <Id>1</Id>
  <ImageNo>sample string 19</ImageNo>
  <ImageNoBgColor>sample string 40</ImageNoBgColor>
  <InvClaimAmt>7</InvClaimAmt>
  <InvClaimAmtBgColor>sample string 36</InvClaimAmtBgColor>
  <InvPayAmt>8</InvPayAmt>
  <InvPayAmtBgColor>sample string 39</InvPayAmtBgColor>
  <InvPayNo>21</InvPayNo>
  <InvPayNoBgColor>sample string 42</InvPayNoBgColor>
  <InvPayTotal>9</InvPayTotal>
  <InvoiceDetailsList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">
    <d2p1:EdiInvoiceDetailModel>
      <d2p1:Amount>2</d2p1:Amount>
      <d2p1:AmountBgColor>sample string 46</d2p1:AmountBgColor>
      <d2p1:CatlogCode>sample string 3</d2p1:CatlogCode>
      <d2p1:DeliveredQty>19</d2p1:DeliveredQty>
      <d2p1:DeliveredQtyBgColor>sample string 39</d2p1:DeliveredQtyBgColor>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:DocketCatlogCode>sample string 16</d2p1:DocketCatlogCode>
      <d2p1:DocketDate>2026-11-10T15:09:03.1286619+11:00</d2p1:DocketDate>
      <d2p1:DocketDescription>sample string 17</d2p1:DocketDescription>
      <d2p1:DocketNo>sample string 12</d2p1:DocketNo>
      <d2p1:DocketNoBgColor>sample string 35</d2p1:DocketNoBgColor>
      <d2p1:DocketNoReal>32</d2p1:DocketNoReal>
      <d2p1:DocketUom>sample string 21</d2p1:DocketUom>
      <d2p1:EquipCode>sample string 5</d2p1:EquipCode>
      <d2p1:GenSupplierInvNo>25</d2p1:GenSupplierInvNo>
      <d2p1:GenSupplierInvNoBgColor>sample string 42</d2p1:GenSupplierInvNoBgColor>
      <d2p1:GlAccount>sample string 22</d2p1:GlAccount>
      <d2p1:GlNarration>sample string 23</d2p1:GlNarration>
      <d2p1:GlRefCode>sample string 24</d2p1:GlRefCode>
      <d2p1:GstPers>15</d2p1:GstPers>
      <d2p1:GstPrice>9</d2p1:GstPrice>
      <d2p1:GstRate>27</d2p1:GstRate>
      <d2p1:GstStatus>26</d2p1:GstStatus>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:InvAmount>43</d2p1:InvAmount>
      <d2p1:InvAmountBgColor>sample string 45</d2p1:InvAmountBgColor>
      <d2p1:InvPrice>13</d2p1:InvPrice>
      <d2p1:InvPriceBgColor>sample string 37</d2p1:InvPriceBgColor>
      <d2p1:InvQty>11</d2p1:InvQty>
      <d2p1:InvQtyBgColor>sample string 41</d2p1:InvQtyBgColor>
      <d2p1:InvoicedFlag>28</d2p1:InvoicedFlag>
      <d2p1:IsError>true</d2p1:IsError>
      <d2p1:IsSelected>true</d2p1:IsSelected>
      <d2p1:IvceNo>29</d2p1:IvceNo>
      <d2p1:LineNo>10</d2p1:LineNo>
      <d2p1:MatchedPlantDocketNo>sample string 44</d2p1:MatchedPlantDocketNo>
      <d2p1:NewSupplierStore>sample string 31</d2p1:NewSupplierStore>
      <d2p1:PickedQty>20</d2p1:PickedQty>
      <d2p1:PickedQtyBgColor>sample string 40</d2p1:PickedQtyBgColor>
      <d2p1:Price>18</d2p1:Price>
      <d2p1:PriceBgColor>sample string 36</d2p1:PriceBgColor>
      <d2p1:SorderNo>33</d2p1:SorderNo>
      <d2p1:SupplierStore>sample string 30</d2p1:SupplierStore>
      <d2p1:TruckCode>sample string 6</d2p1:TruckCode>
      <d2p1:TruckDescription>sample string 8</d2p1:TruckDescription>
      <d2p1:UomInv>sample string 14</d2p1:UomInv>
    </d2p1:EdiInvoiceDetailModel>
    <d2p1:EdiInvoiceDetailModel>
      <d2p1:Amount>2</d2p1:Amount>
      <d2p1:AmountBgColor>sample string 46</d2p1:AmountBgColor>
      <d2p1:CatlogCode>sample string 3</d2p1:CatlogCode>
      <d2p1:DeliveredQty>19</d2p1:DeliveredQty>
      <d2p1:DeliveredQtyBgColor>sample string 39</d2p1:DeliveredQtyBgColor>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:DocketCatlogCode>sample string 16</d2p1:DocketCatlogCode>
      <d2p1:DocketDate>2026-11-10T15:09:03.1286619+11:00</d2p1:DocketDate>
      <d2p1:DocketDescription>sample string 17</d2p1:DocketDescription>
      <d2p1:DocketNo>sample string 12</d2p1:DocketNo>
      <d2p1:DocketNoBgColor>sample string 35</d2p1:DocketNoBgColor>
      <d2p1:DocketNoReal>32</d2p1:DocketNoReal>
      <d2p1:DocketUom>sample string 21</d2p1:DocketUom>
      <d2p1:EquipCode>sample string 5</d2p1:EquipCode>
      <d2p1:GenSupplierInvNo>25</d2p1:GenSupplierInvNo>
      <d2p1:GenSupplierInvNoBgColor>sample string 42</d2p1:GenSupplierInvNoBgColor>
      <d2p1:GlAccount>sample string 22</d2p1:GlAccount>
      <d2p1:GlNarration>sample string 23</d2p1:GlNarration>
      <d2p1:GlRefCode>sample string 24</d2p1:GlRefCode>
      <d2p1:GstPers>15</d2p1:GstPers>
      <d2p1:GstPrice>9</d2p1:GstPrice>
      <d2p1:GstRate>27</d2p1:GstRate>
      <d2p1:GstStatus>26</d2p1:GstStatus>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:InvAmount>43</d2p1:InvAmount>
      <d2p1:InvAmountBgColor>sample string 45</d2p1:InvAmountBgColor>
      <d2p1:InvPrice>13</d2p1:InvPrice>
      <d2p1:InvPriceBgColor>sample string 37</d2p1:InvPriceBgColor>
      <d2p1:InvQty>11</d2p1:InvQty>
      <d2p1:InvQtyBgColor>sample string 41</d2p1:InvQtyBgColor>
      <d2p1:InvoicedFlag>28</d2p1:InvoicedFlag>
      <d2p1:IsError>true</d2p1:IsError>
      <d2p1:IsSelected>true</d2p1:IsSelected>
      <d2p1:IvceNo>29</d2p1:IvceNo>
      <d2p1:LineNo>10</d2p1:LineNo>
      <d2p1:MatchedPlantDocketNo>sample string 44</d2p1:MatchedPlantDocketNo>
      <d2p1:NewSupplierStore>sample string 31</d2p1:NewSupplierStore>
      <d2p1:PickedQty>20</d2p1:PickedQty>
      <d2p1:PickedQtyBgColor>sample string 40</d2p1:PickedQtyBgColor>
      <d2p1:Price>18</d2p1:Price>
      <d2p1:PriceBgColor>sample string 36</d2p1:PriceBgColor>
      <d2p1:SorderNo>33</d2p1:SorderNo>
      <d2p1:SupplierStore>sample string 30</d2p1:SupplierStore>
      <d2p1:TruckCode>sample string 6</d2p1:TruckCode>
      <d2p1:TruckDescription>sample string 8</d2p1:TruckDescription>
      <d2p1:UomInv>sample string 14</d2p1:UomInv>
    </d2p1:EdiInvoiceDetailModel>
  </InvoiceDetailsList>
  <IsReport>24</IsReport>
  <IsSelected>true</IsSelected>
  <LinkedInvPayNo>sample string 22</LinkedInvPayNo>
  <Modified>28</Modified>
  <ModifiedBy>sample string 10</ModifiedBy>
  <ModifiedDate>2026-11-10T15:09:03.1286619+11:00</ModifiedDate>
  <NotValidPeriod>true</NotValidPeriod>
  <OrderProductType>sample string 26</OrderProductType>
  <PoNumber>25</PoNumber>
  <SelBgColor>sample string 43</SelBgColor>
  <Status>sample string 13</Status>
  <SuppInvDate>2026-11-10T15:09:03.1286619+11:00</SuppInvDate>
  <SuppInvDateBgColor>sample string 34</SuppInvDateBgColor>
  <SuppInvNo>sample string 15</SuppInvNo>
  <SuppInvNoBgColor>sample string 38</SuppInvNoBgColor>
  <SuppList>sample string 29</SuppList>
  <SupplierCode>sample string 16</SupplierCode>
  <SupplierCodeBgColor>sample string 32</SupplierCodeBgColor>
  <SupplierName>sample string 20</SupplierName>
  <SupplierNameBgColor>sample string 33</SupplierNameBgColor>
  <SupplierStore>sample string 17</SupplierStore>
  <TempId>2</TempId>
  <Timestamp>2026-11-10T15:09:03.1286619+11:00</Timestamp>
</EdiInvRecalculateRequestDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.