POST api/History/GetInvoices

Request Information

URI Parameters

None.

Body Parameters

GetInvoiceCommand
NameDescriptionTypeAdditional information
AccountId

string

None.

AddressId

string

None.

InvoiceNumber

string

None.

InvoiceType

string

None.

InvoiceDateFrom

string

None.

InvoiceDateThru

string

None.

DiscountDueDateFrom

string

None.

DiscountDueDateThru

string

None.

NetDueDateFrom

string

None.

NetDueDateThru

string

None.

InvoiceStatus

string

None.

OnlyDiscountInvoices

boolean

None.

OnlyDueInvoices

boolean

None.

OnlyLateInvoices

boolean

None.

PONumber

string

None.

LoadNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": "sample string 1",
  "AddressId": "sample string 2",
  "InvoiceNumber": "sample string 3",
  "InvoiceType": "sample string 4",
  "InvoiceDateFrom": "sample string 5",
  "InvoiceDateThru": "sample string 6",
  "DiscountDueDateFrom": "sample string 7",
  "DiscountDueDateThru": "sample string 8",
  "NetDueDateFrom": "sample string 9",
  "NetDueDateThru": "sample string 10",
  "InvoiceStatus": "sample string 11",
  "OnlyDiscountInvoices": true,
  "OnlyDueInvoices": true,
  "OnlyLateInvoices": true,
  "PONumber": "sample string 15",
  "LoadNumber": "sample string 16"
}

application/xml, text/xml

Sample:
<GetInvoiceCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Services.ServiceCommands">
  <AccountId>sample string 1</AccountId>
  <AddressId>sample string 2</AddressId>
  <DiscountDueDateFrom>sample string 7</DiscountDueDateFrom>
  <DiscountDueDateThru>sample string 8</DiscountDueDateThru>
  <InvoiceDateFrom>sample string 5</InvoiceDateFrom>
  <InvoiceDateThru>sample string 6</InvoiceDateThru>
  <InvoiceNumber>sample string 3</InvoiceNumber>
  <InvoiceStatus>sample string 11</InvoiceStatus>
  <InvoiceType>sample string 4</InvoiceType>
  <LoadNumber>sample string 16</LoadNumber>
  <NetDueDateFrom>sample string 9</NetDueDateFrom>
  <NetDueDateThru>sample string 10</NetDueDateThru>
  <OnlyDiscountInvoices>true</OnlyDiscountInvoices>
  <OnlyDueInvoices>true</OnlyDueInvoices>
  <OnlyLateInvoices>true</OnlyLateInvoices>
  <PONumber>sample string 15</PONumber>
</GetInvoiceCommand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Invoice
NameDescriptionTypeAdditional information
AccountId

string

None.

AddressId

string

None.

Branch

integer

None.

InvoiceNumber

string

None.

InvoiceType

string

None.

InvoiceDate

date

None.

DiscountDueDate

date

None.

NetDueDate

date

None.

InvoiceStatus

string

None.

InvoiceAmountTotal

decimal number

None.

InvoiceAmountOpen

decimal number

None.

DiscountAmountOpen

decimal number

None.

DiscountAmountTaken

decimal number

None.

OrderId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AccountId": "sample string 1",
    "AddressId": "sample string 2",
    "Branch": 3,
    "InvoiceNumber": "sample string 4",
    "InvoiceType": "sample string 5",
    "InvoiceDate": "2024-12-09T21:03:32.1272559+00:00",
    "DiscountDueDate": "2024-12-09T21:03:32.1272559+00:00",
    "NetDueDate": "2024-12-09T21:03:32.1272559+00:00",
    "InvoiceStatus": "sample string 9",
    "InvoiceAmountTotal": 10.0,
    "InvoiceAmountOpen": 11.0,
    "DiscountAmountOpen": 12.0,
    "DiscountAmountTaken": 13.0,
    "OrderId": "sample string 14"
  },
  {
    "AccountId": "sample string 1",
    "AddressId": "sample string 2",
    "Branch": 3,
    "InvoiceNumber": "sample string 4",
    "InvoiceType": "sample string 5",
    "InvoiceDate": "2024-12-09T21:03:32.1272559+00:00",
    "DiscountDueDate": "2024-12-09T21:03:32.1272559+00:00",
    "NetDueDate": "2024-12-09T21:03:32.1272559+00:00",
    "InvoiceStatus": "sample string 9",
    "InvoiceAmountTotal": 10.0,
    "InvoiceAmountOpen": 11.0,
    "DiscountAmountOpen": 12.0,
    "DiscountAmountTaken": 13.0,
    "OrderId": "sample string 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Entities">
  <Invoice>
    <AccountId>sample string 1</AccountId>
    <AddressId>sample string 2</AddressId>
    <Branch>3</Branch>
    <DiscountAmountOpen>12</DiscountAmountOpen>
    <DiscountAmountTaken>13</DiscountAmountTaken>
    <DiscountDueDate>2024-12-09T21:03:32.1272559+00:00</DiscountDueDate>
    <InvoiceAmountOpen>11</InvoiceAmountOpen>
    <InvoiceAmountTotal>10</InvoiceAmountTotal>
    <InvoiceDate>2024-12-09T21:03:32.1272559+00:00</InvoiceDate>
    <InvoiceNumber>sample string 4</InvoiceNumber>
    <InvoiceStatus>sample string 9</InvoiceStatus>
    <InvoiceType>sample string 5</InvoiceType>
    <NetDueDate>2024-12-09T21:03:32.1272559+00:00</NetDueDate>
    <OrderId>sample string 14</OrderId>
  </Invoice>
  <Invoice>
    <AccountId>sample string 1</AccountId>
    <AddressId>sample string 2</AddressId>
    <Branch>3</Branch>
    <DiscountAmountOpen>12</DiscountAmountOpen>
    <DiscountAmountTaken>13</DiscountAmountTaken>
    <DiscountDueDate>2024-12-09T21:03:32.1272559+00:00</DiscountDueDate>
    <InvoiceAmountOpen>11</InvoiceAmountOpen>
    <InvoiceAmountTotal>10</InvoiceAmountTotal>
    <InvoiceDate>2024-12-09T21:03:32.1272559+00:00</InvoiceDate>
    <InvoiceNumber>sample string 4</InvoiceNumber>
    <InvoiceStatus>sample string 9</InvoiceStatus>
    <InvoiceType>sample string 5</InvoiceType>
    <NetDueDate>2024-12-09T21:03:32.1272559+00:00</NetDueDate>
    <OrderId>sample string 14</OrderId>
  </Invoice>
</ArrayOfInvoice>