GET api/Invoice/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Invoice
NameDescriptionTypeAdditional information
InvoiceNumber

string

None.

InvoiceDate

date

None.

Salesperson

string

None.

OrderDate

date

None.

CustomerNo

string

None.

Terms

string

None.

TotalIncludingTax

decimal number

None.

DueDate

date

None.

CustomerName

string

None.

InvoiceDescription

string

None.

AmountPaid

decimal number

None.

AmountOutstanding

decimal number

None.

InvoiceLines

Collection of InvoiceLine

None.

Response Formats

application/json, text/json

Sample:
{
  "InvoiceNumber": "sample string 1",
  "InvoiceDate": "2024-03-05T10:14:50.8789066+00:00",
  "Salesperson": "sample string 3",
  "OrderDate": "2024-03-05T10:14:50.8789066+00:00",
  "CustomerNo": "sample string 5",
  "Terms": "sample string 6",
  "TotalIncludingTax": 7.0,
  "DueDate": "2024-03-05T10:14:50.8789066+00:00",
  "CustomerName": "sample string 9",
  "InvoiceDescription": "sample string 10",
  "AmountPaid": 11.0,
  "AmountOutstanding": 12.0,
  "InvoiceLines": [
    {
      "QuantityShipped": 1.0,
      "QuantityOrder": 2.0,
      "QuantityBO": 3.0,
      "ItemNumber": "sample string 4",
      "Description": "sample string 5",
      "UnitPrice": 6.0,
      "UOM": "sample string 7",
      "ExtendedPrice": 8.0
    },
    {
      "QuantityShipped": 1.0,
      "QuantityOrder": 2.0,
      "QuantityBO": 3.0,
      "ItemNumber": "sample string 4",
      "Description": "sample string 5",
      "UnitPrice": 6.0,
      "UOM": "sample string 7",
      "ExtendedPrice": 8.0
    }
  ]
}

application/xml, text/xml

Sample:
<Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Core.Models">
  <AmountOutstanding>12</AmountOutstanding>
  <AmountPaid>11</AmountPaid>
  <CustomerName>sample string 9</CustomerName>
  <CustomerNo>sample string 5</CustomerNo>
  <DueDate>2024-03-05T10:14:50.8789066+00:00</DueDate>
  <InvoiceDate>2024-03-05T10:14:50.8789066+00:00</InvoiceDate>
  <InvoiceDescription>sample string 10</InvoiceDescription>
  <InvoiceLines>
    <InvoiceLine>
      <Description>sample string 5</Description>
      <ExtendedPrice>8</ExtendedPrice>
      <ItemNumber>sample string 4</ItemNumber>
      <QuantityBO>3</QuantityBO>
      <QuantityOrder>2</QuantityOrder>
      <QuantityShipped>1</QuantityShipped>
      <UOM>sample string 7</UOM>
      <UnitPrice>6</UnitPrice>
    </InvoiceLine>
    <InvoiceLine>
      <Description>sample string 5</Description>
      <ExtendedPrice>8</ExtendedPrice>
      <ItemNumber>sample string 4</ItemNumber>
      <QuantityBO>3</QuantityBO>
      <QuantityOrder>2</QuantityOrder>
      <QuantityShipped>1</QuantityShipped>
      <UOM>sample string 7</UOM>
      <UnitPrice>6</UnitPrice>
    </InvoiceLine>
  </InvoiceLines>
  <InvoiceNumber>sample string 1</InvoiceNumber>
  <OrderDate>2024-03-05T10:14:50.8789066+00:00</OrderDate>
  <Salesperson>sample string 3</Salesperson>
  <Terms>sample string 6</Terms>
  <TotalIncludingTax>7</TotalIncludingTax>
</Invoice>