GET v1/Locations/{locationID}/Finance/InvoiceNumbers

Get the Invoice number settings

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationID

Id of the location

string

Required

Body Parameters

None.

Response Information

Resource Description

Invoice number settings

SequenceNumberDTO
NameDescriptionTypeAdditional information
ID

integer

None.

LocationID

integer

None.

RelatedTo

string

None.

SequenceValue

SequenceValueDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "LocationID": 2,
  "RelatedTo": "sample string 3",
  "SequenceValue": {
    "NextNumberShouldBe": 1,
    "Suffix": "sample string 2",
    "Prefix": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<SequenceNumberDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
  <ID>1</ID>
  <LocationID>2</LocationID>
  <RelatedTo>sample string 3</RelatedTo>
  <SequenceValue>
    <NextNumberShouldBe>1</NextNumberShouldBe>
    <Prefix>sample string 3</Prefix>
    <Suffix>sample string 2</Suffix>
  </SequenceValue>
</SequenceNumberDTO>