POST api/ediinvoice/saveEdiInvoices?originator={originator}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| originator | string |
Default value is |
Body Parameters
Collection of EdiInvoiceSaveDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyCode | string |
None. |
|
| DueDate | date |
None. |
|
| SupplierStore | string |
None. |
|
| InvClaimAmt | decimal number |
None. |
|
| InvPayAmt | decimal number |
None. |
|
| GstAmount | decimal number |
None. |
|
| InvGstTotal | decimal number |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedBy | string |
None. |
|
| CostPeriod | integer |
None. |
|
| InvPayNo | integer |
None. |
|
| Details | Collection of EdiInvoiceSaveDetailDto |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"CompanyCode": "sample string 2",
"DueDate": "2026-11-10T15:06:54.07699+11:00",
"SupplierStore": "sample string 4",
"InvClaimAmt": 5.0,
"InvPayAmt": 6.0,
"GstAmount": 7.0,
"InvGstTotal": 8.0,
"ModifiedDate": "2026-11-10T15:06:54.07699+11:00",
"ModifiedBy": "sample string 10",
"CostPeriod": 11,
"InvPayNo": 12,
"Details": [
{
"Id": 1,
"LineNo": 2,
"DocketNo": "sample string 3",
"CatlogCode": "sample string 4",
"InvQty": 5.0,
"InvPrice": 6.0,
"InvAmount": 7.0,
"UomInv": "sample string 8",
"MatchedPlantDocketNo": "sample string 9"
},
{
"Id": 1,
"LineNo": 2,
"DocketNo": "sample string 3",
"CatlogCode": "sample string 4",
"InvQty": 5.0,
"InvPrice": 6.0,
"InvAmount": 7.0,
"UomInv": "sample string 8",
"MatchedPlantDocketNo": "sample string 9"
}
]
},
{
"Id": 1,
"CompanyCode": "sample string 2",
"DueDate": "2026-11-10T15:06:54.07699+11:00",
"SupplierStore": "sample string 4",
"InvClaimAmt": 5.0,
"InvPayAmt": 6.0,
"GstAmount": 7.0,
"InvGstTotal": 8.0,
"ModifiedDate": "2026-11-10T15:06:54.07699+11:00",
"ModifiedBy": "sample string 10",
"CostPeriod": 11,
"InvPayNo": 12,
"Details": [
{
"Id": 1,
"LineNo": 2,
"DocketNo": "sample string 3",
"CatlogCode": "sample string 4",
"InvQty": 5.0,
"InvPrice": 6.0,
"InvAmount": 7.0,
"UomInv": "sample string 8",
"MatchedPlantDocketNo": "sample string 9"
},
{
"Id": 1,
"LineNo": 2,
"DocketNo": "sample string 3",
"CatlogCode": "sample string 4",
"InvQty": 5.0,
"InvPrice": 6.0,
"InvAmount": 7.0,
"UomInv": "sample string 8",
"MatchedPlantDocketNo": "sample string 9"
}
]
}
]
text/xml
Sample:
<ArrayOfEdiInvoiceSaveDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.AppService.DTOs.General">
<EdiInvoiceSaveDto>
<CompanyCode>sample string 2</CompanyCode>
<CostPeriod>11</CostPeriod>
<Details>
<EdiInvoiceSaveDetailDto>
<CatlogCode>sample string 4</CatlogCode>
<DocketNo>sample string 3</DocketNo>
<Id>1</Id>
<InvAmount>7</InvAmount>
<InvPrice>6</InvPrice>
<InvQty>5</InvQty>
<LineNo>2</LineNo>
<MatchedPlantDocketNo>sample string 9</MatchedPlantDocketNo>
<UomInv>sample string 8</UomInv>
</EdiInvoiceSaveDetailDto>
<EdiInvoiceSaveDetailDto>
<CatlogCode>sample string 4</CatlogCode>
<DocketNo>sample string 3</DocketNo>
<Id>1</Id>
<InvAmount>7</InvAmount>
<InvPrice>6</InvPrice>
<InvQty>5</InvQty>
<LineNo>2</LineNo>
<MatchedPlantDocketNo>sample string 9</MatchedPlantDocketNo>
<UomInv>sample string 8</UomInv>
</EdiInvoiceSaveDetailDto>
</Details>
<DueDate>2026-11-10T15:06:54.07699+11:00</DueDate>
<GstAmount>7</GstAmount>
<Id>1</Id>
<InvClaimAmt>5</InvClaimAmt>
<InvGstTotal>8</InvGstTotal>
<InvPayAmt>6</InvPayAmt>
<InvPayNo>12</InvPayNo>
<ModifiedBy>sample string 10</ModifiedBy>
<ModifiedDate>2026-11-10T15:06:54.07699+11:00</ModifiedDate>
<SupplierStore>sample string 4</SupplierStore>
</EdiInvoiceSaveDto>
<EdiInvoiceSaveDto>
<CompanyCode>sample string 2</CompanyCode>
<CostPeriod>11</CostPeriod>
<Details>
<EdiInvoiceSaveDetailDto>
<CatlogCode>sample string 4</CatlogCode>
<DocketNo>sample string 3</DocketNo>
<Id>1</Id>
<InvAmount>7</InvAmount>
<InvPrice>6</InvPrice>
<InvQty>5</InvQty>
<LineNo>2</LineNo>
<MatchedPlantDocketNo>sample string 9</MatchedPlantDocketNo>
<UomInv>sample string 8</UomInv>
</EdiInvoiceSaveDetailDto>
<EdiInvoiceSaveDetailDto>
<CatlogCode>sample string 4</CatlogCode>
<DocketNo>sample string 3</DocketNo>
<Id>1</Id>
<InvAmount>7</InvAmount>
<InvPrice>6</InvPrice>
<InvQty>5</InvQty>
<LineNo>2</LineNo>
<MatchedPlantDocketNo>sample string 9</MatchedPlantDocketNo>
<UomInv>sample string 8</UomInv>
</EdiInvoiceSaveDetailDto>
</Details>
<DueDate>2026-11-10T15:06:54.07699+11:00</DueDate>
<GstAmount>7</GstAmount>
<Id>1</Id>
<InvClaimAmt>5</InvClaimAmt>
<InvGstTotal>8</InvGstTotal>
<InvPayAmt>6</InvPayAmt>
<InvPayNo>12</InvPayNo>
<ModifiedBy>sample string 10</ModifiedBy>
<ModifiedDate>2026-11-10T15:06:54.07699+11:00</ModifiedDate>
<SupplierStore>sample string 4</SupplierStore>
</EdiInvoiceSaveDto>
</ArrayOfEdiInvoiceSaveDto>
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. |