POST api/ediinvoice/saveEdiInvoices?originator={originator}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
originator

string

Default value is

Body Parameters

Collection of EdiInvoiceSaveDto
NameDescriptionTypeAdditional 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:07:07.5107264+11:00",
    "SupplierStore": "sample string 4",
    "InvClaimAmt": 5.0,
    "InvPayAmt": 6.0,
    "GstAmount": 7.0,
    "InvGstTotal": 8.0,
    "ModifiedDate": "2026-11-10T15:07:07.5107264+11:00",
    "ModifiedBy": "sample string 10",
    "CostPeriod": 11,
    "InvPayNo": 12,
    "Details": [
      {
        "Id": 1,
        "DocketNo": "sample string 2",
        "CatlogCode": "sample string 3",
        "InvQty": 4.0,
        "InvPrice": 5.0,
        "InvAmount": 6.0,
        "UomInv": "sample string 7",
        "MatchedPlantDocketNo": "sample string 8"
      },
      {
        "Id": 1,
        "DocketNo": "sample string 2",
        "CatlogCode": "sample string 3",
        "InvQty": 4.0,
        "InvPrice": 5.0,
        "InvAmount": 6.0,
        "UomInv": "sample string 7",
        "MatchedPlantDocketNo": "sample string 8"
      }
    ]
  },
  {
    "Id": 1,
    "CompanyCode": "sample string 2",
    "DueDate": "2026-11-10T15:07:07.5107264+11:00",
    "SupplierStore": "sample string 4",
    "InvClaimAmt": 5.0,
    "InvPayAmt": 6.0,
    "GstAmount": 7.0,
    "InvGstTotal": 8.0,
    "ModifiedDate": "2026-11-10T15:07:07.5107264+11:00",
    "ModifiedBy": "sample string 10",
    "CostPeriod": 11,
    "InvPayNo": 12,
    "Details": [
      {
        "Id": 1,
        "DocketNo": "sample string 2",
        "CatlogCode": "sample string 3",
        "InvQty": 4.0,
        "InvPrice": 5.0,
        "InvAmount": 6.0,
        "UomInv": "sample string 7",
        "MatchedPlantDocketNo": "sample string 8"
      },
      {
        "Id": 1,
        "DocketNo": "sample string 2",
        "CatlogCode": "sample string 3",
        "InvQty": 4.0,
        "InvPrice": 5.0,
        "InvAmount": 6.0,
        "UomInv": "sample string 7",
        "MatchedPlantDocketNo": "sample string 8"
      }
    ]
  }
]

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 3</CatlogCode>
        <DocketNo>sample string 2</DocketNo>
        <Id>1</Id>
        <InvAmount>6</InvAmount>
        <InvPrice>5</InvPrice>
        <InvQty>4</InvQty>
        <MatchedPlantDocketNo>sample string 8</MatchedPlantDocketNo>
        <UomInv>sample string 7</UomInv>
      </EdiInvoiceSaveDetailDto>
      <EdiInvoiceSaveDetailDto>
        <CatlogCode>sample string 3</CatlogCode>
        <DocketNo>sample string 2</DocketNo>
        <Id>1</Id>
        <InvAmount>6</InvAmount>
        <InvPrice>5</InvPrice>
        <InvQty>4</InvQty>
        <MatchedPlantDocketNo>sample string 8</MatchedPlantDocketNo>
        <UomInv>sample string 7</UomInv>
      </EdiInvoiceSaveDetailDto>
    </Details>
    <DueDate>2026-11-10T15:07:07.5107264+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:07:07.5107264+11:00</ModifiedDate>
    <SupplierStore>sample string 4</SupplierStore>
  </EdiInvoiceSaveDto>
  <EdiInvoiceSaveDto>
    <CompanyCode>sample string 2</CompanyCode>
    <CostPeriod>11</CostPeriod>
    <Details>
      <EdiInvoiceSaveDetailDto>
        <CatlogCode>sample string 3</CatlogCode>
        <DocketNo>sample string 2</DocketNo>
        <Id>1</Id>
        <InvAmount>6</InvAmount>
        <InvPrice>5</InvPrice>
        <InvQty>4</InvQty>
        <MatchedPlantDocketNo>sample string 8</MatchedPlantDocketNo>
        <UomInv>sample string 7</UomInv>
      </EdiInvoiceSaveDetailDto>
      <EdiInvoiceSaveDetailDto>
        <CatlogCode>sample string 3</CatlogCode>
        <DocketNo>sample string 2</DocketNo>
        <Id>1</Id>
        <InvAmount>6</InvAmount>
        <InvPrice>5</InvPrice>
        <InvQty>4</InvQty>
        <MatchedPlantDocketNo>sample string 8</MatchedPlantDocketNo>
        <UomInv>sample string 7</UomInv>
      </EdiInvoiceSaveDetailDto>
    </Details>
    <DueDate>2026-11-10T15:07:07.5107264+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:07:07.5107264+11:00</ModifiedDate>
    <SupplierStore>sample string 4</SupplierStore>
  </EdiInvoiceSaveDto>
</ArrayOfEdiInvoiceSaveDto>

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.