POST api/ediinvoice/generateInvoice
Request Information
URI Parameters
None.
Body Parameters
EDIInoviceGenerateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Headers | Collection of InvoiceHeaderEdiDto |
None. |
|
| ConfirmPoMismatch | boolean |
None. |
|
| ConfirmInvalidPeriod | boolean |
None. |
|
| ConfirmClaimMismatch | boolean |
None. |
|
| ForApproval | string |
None. |
|
| Originator | string |
None. |
|
| ReturnStatus | boolean |
None. |
|
| ReturnMessage | Collection of string |
None. |
|
| ReturnCount | integer |
None. |
|
| ReturnValue | integer |
None. |
|
| RequiresConfirmation | boolean |
None. |
|
| ValidationErrors | Dictionary of Object [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"ValidationErrors": {
"System.Object": {}
},
"Headers": [
{
"Id": 1,
"IsSelected": true,
"SuppInvNo": "sample string 3",
"CompanyName": "sample string 4",
"CompanyCode": "sample string 5",
"SupplierCode": "sample string 6",
"SupplierStore": "sample string 7",
"SuppInvDate": "2026-11-10T15:06:38.8735442+11:00",
"DueDate": "2026-11-10T15:06:38.8735442+11:00",
"CostYear": 10,
"PoNotValid": true,
"NotValidPeriod": true,
"InvClaimAmt": 13.0,
"InvPayAmt": 14.0,
"SuppInvNoBgColor": "sample string 15",
"Status": "sample string 16",
"InvPayNo": 17,
"TempId": 18,
"OrderProductType": "sample string 19",
"CostPeriod": 20,
"GstAmount": 21.0,
"GstTotal": 22.0,
"ModifiedBy": "sample string 23",
"ModifiedDate": "2026-11-10T15:06:38.8891692+11:00",
"Modified": 25,
"Details": [
{
"IsSelected": true,
"Id": 2,
"LineNo": 3,
"CatalogCode": "sample string 4",
"Description": "sample string 5",
"DocketNo": "sample string 6",
"DocketNoReal": 7,
"UomInv": "sample string 8",
"InvQty": 9.0,
"DeliveredQty": 10.0,
"InvPrice": 11.0,
"InvAmount": 12.0,
"GlAccount": "sample string 13",
"GlNarration": "sample string 14",
"SupplierStore": "sample string 15",
"InvalidCatalogCode": true,
"GenSupplierInvNo": 17,
"DocketCatlogCode": "sample string 18",
"DocketDescription": "sample string 19",
"MatchedPlantDocketNo": "sample string 20",
"Price": 21.0,
"PickedQty": 22.0,
"IsError": true
},
{
"IsSelected": true,
"Id": 2,
"LineNo": 3,
"CatalogCode": "sample string 4",
"Description": "sample string 5",
"DocketNo": "sample string 6",
"DocketNoReal": 7,
"UomInv": "sample string 8",
"InvQty": 9.0,
"DeliveredQty": 10.0,
"InvPrice": 11.0,
"InvAmount": 12.0,
"GlAccount": "sample string 13",
"GlNarration": "sample string 14",
"SupplierStore": "sample string 15",
"InvalidCatalogCode": true,
"GenSupplierInvNo": 17,
"DocketCatlogCode": "sample string 18",
"DocketDescription": "sample string 19",
"MatchedPlantDocketNo": "sample string 20",
"Price": 21.0,
"PickedQty": 22.0,
"IsError": true
}
]
},
{
"Id": 1,
"IsSelected": true,
"SuppInvNo": "sample string 3",
"CompanyName": "sample string 4",
"CompanyCode": "sample string 5",
"SupplierCode": "sample string 6",
"SupplierStore": "sample string 7",
"SuppInvDate": "2026-11-10T15:06:38.8735442+11:00",
"DueDate": "2026-11-10T15:06:38.8735442+11:00",
"CostYear": 10,
"PoNotValid": true,
"NotValidPeriod": true,
"InvClaimAmt": 13.0,
"InvPayAmt": 14.0,
"SuppInvNoBgColor": "sample string 15",
"Status": "sample string 16",
"InvPayNo": 17,
"TempId": 18,
"OrderProductType": "sample string 19",
"CostPeriod": 20,
"GstAmount": 21.0,
"GstTotal": 22.0,
"ModifiedBy": "sample string 23",
"ModifiedDate": "2026-11-10T15:06:38.8891692+11:00",
"Modified": 25,
"Details": [
{
"IsSelected": true,
"Id": 2,
"LineNo": 3,
"CatalogCode": "sample string 4",
"Description": "sample string 5",
"DocketNo": "sample string 6",
"DocketNoReal": 7,
"UomInv": "sample string 8",
"InvQty": 9.0,
"DeliveredQty": 10.0,
"InvPrice": 11.0,
"InvAmount": 12.0,
"GlAccount": "sample string 13",
"GlNarration": "sample string 14",
"SupplierStore": "sample string 15",
"InvalidCatalogCode": true,
"GenSupplierInvNo": 17,
"DocketCatlogCode": "sample string 18",
"DocketDescription": "sample string 19",
"MatchedPlantDocketNo": "sample string 20",
"Price": 21.0,
"PickedQty": 22.0,
"IsError": true
},
{
"IsSelected": true,
"Id": 2,
"LineNo": 3,
"CatalogCode": "sample string 4",
"Description": "sample string 5",
"DocketNo": "sample string 6",
"DocketNoReal": 7,
"UomInv": "sample string 8",
"InvQty": 9.0,
"DeliveredQty": 10.0,
"InvPrice": 11.0,
"InvAmount": 12.0,
"GlAccount": "sample string 13",
"GlNarration": "sample string 14",
"SupplierStore": "sample string 15",
"InvalidCatalogCode": true,
"GenSupplierInvNo": 17,
"DocketCatlogCode": "sample string 18",
"DocketDescription": "sample string 19",
"MatchedPlantDocketNo": "sample string 20",
"Price": 21.0,
"PickedQty": 22.0,
"IsError": true
}
]
}
],
"ConfirmPoMismatch": true,
"ConfirmInvalidPeriod": true,
"ConfirmClaimMismatch": true,
"ForApproval": "sample string 4",
"Originator": "sample string 5",
"ReturnStatus": true,
"ReturnMessage": [
"sample string 1",
"sample string 2"
],
"ReturnCount": 7,
"ReturnValue": 8,
"RequiresConfirmation": true
}
text/xml
Sample:
<EDIInoviceGenerateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.AppService.DTOs.Requests">
<RequiresConfirmation xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">true</RequiresConfirmation>
<ReturnCount xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">7</ReturnCount>
<ReturnMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ReturnMessage>
<ReturnStatus xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">true</ReturnStatus>
<ReturnValue xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">8</ReturnValue>
<ValidationErrors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">
<d2p1:KeyValueOfanyTypeanyType>
<d2p1:Key />
<d2p1:Value />
</d2p1:KeyValueOfanyTypeanyType>
<d2p1:KeyValueOfanyTypeanyType>
<d2p1:Key />
<d2p1:Value />
</d2p1:KeyValueOfanyTypeanyType>
</ValidationErrors>
<ConfirmClaimMismatch>true</ConfirmClaimMismatch>
<ConfirmInvalidPeriod>true</ConfirmInvalidPeriod>
<ConfirmPoMismatch>true</ConfirmPoMismatch>
<ForApproval>sample string 4</ForApproval>
<Headers>
<InvoiceHeaderEdiDto>
<CompanyCode>sample string 5</CompanyCode>
<CompanyName>sample string 4</CompanyName>
<CostPeriod>20</CostPeriod>
<CostYear>10</CostYear>
<Details>
<InvoiceDetailDto>
<CatalogCode>sample string 4</CatalogCode>
<DeliveredQty>10</DeliveredQty>
<Description>sample string 5</Description>
<DocketCatlogCode>sample string 18</DocketCatlogCode>
<DocketDescription>sample string 19</DocketDescription>
<DocketNo>sample string 6</DocketNo>
<DocketNoReal>7</DocketNoReal>
<GenSupplierInvNo>17</GenSupplierInvNo>
<GlAccount>sample string 13</GlAccount>
<GlNarration>sample string 14</GlNarration>
<Id>2</Id>
<InvAmount>12</InvAmount>
<InvPrice>11</InvPrice>
<InvQty>9</InvQty>
<InvalidCatalogCode>true</InvalidCatalogCode>
<IsError>true</IsError>
<IsSelected>true</IsSelected>
<LineNo>3</LineNo>
<MatchedPlantDocketNo>sample string 20</MatchedPlantDocketNo>
<PickedQty>22</PickedQty>
<Price>21</Price>
<SupplierStore>sample string 15</SupplierStore>
<UomInv>sample string 8</UomInv>
</InvoiceDetailDto>
<InvoiceDetailDto>
<CatalogCode>sample string 4</CatalogCode>
<DeliveredQty>10</DeliveredQty>
<Description>sample string 5</Description>
<DocketCatlogCode>sample string 18</DocketCatlogCode>
<DocketDescription>sample string 19</DocketDescription>
<DocketNo>sample string 6</DocketNo>
<DocketNoReal>7</DocketNoReal>
<GenSupplierInvNo>17</GenSupplierInvNo>
<GlAccount>sample string 13</GlAccount>
<GlNarration>sample string 14</GlNarration>
<Id>2</Id>
<InvAmount>12</InvAmount>
<InvPrice>11</InvPrice>
<InvQty>9</InvQty>
<InvalidCatalogCode>true</InvalidCatalogCode>
<IsError>true</IsError>
<IsSelected>true</IsSelected>
<LineNo>3</LineNo>
<MatchedPlantDocketNo>sample string 20</MatchedPlantDocketNo>
<PickedQty>22</PickedQty>
<Price>21</Price>
<SupplierStore>sample string 15</SupplierStore>
<UomInv>sample string 8</UomInv>
</InvoiceDetailDto>
</Details>
<DueDate>2026-11-10T15:06:38.8735442+11:00</DueDate>
<GstAmount>21</GstAmount>
<GstTotal>22</GstTotal>
<Id>1</Id>
<InvClaimAmt>13</InvClaimAmt>
<InvPayAmt>14</InvPayAmt>
<InvPayNo>17</InvPayNo>
<IsSelected>true</IsSelected>
<Modified>25</Modified>
<NotValidPeriod>true</NotValidPeriod>
<OrderProductType>sample string 19</OrderProductType>
<PoNotValid>true</PoNotValid>
<Status>sample string 16</Status>
<SuppInvDate>2026-11-10T15:06:38.8735442+11:00</SuppInvDate>
<SuppInvNo>sample string 3</SuppInvNo>
<SuppInvNoBgColor>sample string 15</SuppInvNoBgColor>
<SupplierCode>sample string 6</SupplierCode>
<SupplierStore>sample string 7</SupplierStore>
<TempId>18</TempId>
</InvoiceHeaderEdiDto>
<InvoiceHeaderEdiDto>
<CompanyCode>sample string 5</CompanyCode>
<CompanyName>sample string 4</CompanyName>
<CostPeriod>20</CostPeriod>
<CostYear>10</CostYear>
<Details>
<InvoiceDetailDto>
<CatalogCode>sample string 4</CatalogCode>
<DeliveredQty>10</DeliveredQty>
<Description>sample string 5</Description>
<DocketCatlogCode>sample string 18</DocketCatlogCode>
<DocketDescription>sample string 19</DocketDescription>
<DocketNo>sample string 6</DocketNo>
<DocketNoReal>7</DocketNoReal>
<GenSupplierInvNo>17</GenSupplierInvNo>
<GlAccount>sample string 13</GlAccount>
<GlNarration>sample string 14</GlNarration>
<Id>2</Id>
<InvAmount>12</InvAmount>
<InvPrice>11</InvPrice>
<InvQty>9</InvQty>
<InvalidCatalogCode>true</InvalidCatalogCode>
<IsError>true</IsError>
<IsSelected>true</IsSelected>
<LineNo>3</LineNo>
<MatchedPlantDocketNo>sample string 20</MatchedPlantDocketNo>
<PickedQty>22</PickedQty>
<Price>21</Price>
<SupplierStore>sample string 15</SupplierStore>
<UomInv>sample string 8</UomInv>
</InvoiceDetailDto>
<InvoiceDetailDto>
<CatalogCode>sample string 4</CatalogCode>
<DeliveredQty>10</DeliveredQty>
<Description>sample string 5</Description>
<DocketCatlogCode>sample string 18</DocketCatlogCode>
<DocketDescription>sample string 19</DocketDescription>
<DocketNo>sample string 6</DocketNo>
<DocketNoReal>7</DocketNoReal>
<GenSupplierInvNo>17</GenSupplierInvNo>
<GlAccount>sample string 13</GlAccount>
<GlNarration>sample string 14</GlNarration>
<Id>2</Id>
<InvAmount>12</InvAmount>
<InvPrice>11</InvPrice>
<InvQty>9</InvQty>
<InvalidCatalogCode>true</InvalidCatalogCode>
<IsError>true</IsError>
<IsSelected>true</IsSelected>
<LineNo>3</LineNo>
<MatchedPlantDocketNo>sample string 20</MatchedPlantDocketNo>
<PickedQty>22</PickedQty>
<Price>21</Price>
<SupplierStore>sample string 15</SupplierStore>
<UomInv>sample string 8</UomInv>
</InvoiceDetailDto>
</Details>
<DueDate>2026-11-10T15:06:38.8735442+11:00</DueDate>
<GstAmount>21</GstAmount>
<GstTotal>22</GstTotal>
<Id>1</Id>
<InvClaimAmt>13</InvClaimAmt>
<InvPayAmt>14</InvPayAmt>
<InvPayNo>17</InvPayNo>
<IsSelected>true</IsSelected>
<Modified>25</Modified>
<NotValidPeriod>true</NotValidPeriod>
<OrderProductType>sample string 19</OrderProductType>
<PoNotValid>true</PoNotValid>
<Status>sample string 16</Status>
<SuppInvDate>2026-11-10T15:06:38.8735442+11:00</SuppInvDate>
<SuppInvNo>sample string 3</SuppInvNo>
<SuppInvNoBgColor>sample string 15</SuppInvNoBgColor>
<SupplierCode>sample string 6</SupplierCode>
<SupplierStore>sample string 7</SupplierStore>
<TempId>18</TempId>
</InvoiceHeaderEdiDto>
</Headers>
<Originator>sample string 5</Originator>
</EDIInoviceGenerateDto>
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. |