GET api/invoices/{accid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Invoice
NameDescriptionTypeAdditional information
AccId

integer

None.

UserName

string

None.

ConsumerId

integer

None.

ConsumerAlias

string

None.

ConsumerAddress

string

None.

ConsumerTown

string

None.

ConsumerCountry

string

None.

ConsumerExtra1

string

None.

CustomerId

integer

None.

CustomerAlias

string

None.

CustomerTown

string

None.

CustomerPhone

string

None.

CustomerAFM

string

None.

CustomerDOY

string

None.

CustomerAddress

string

None.

CustomerZip

string

None.

CustomerJob

string

None.

FOCustomerId

integer

None.

FOPayerId

integer

None.

FOReservationId

string

None.

SaleTypeId

integer

None.

SaleTypeDescr

string

None.

InvOrder

string

None.

InvOrdinalNumber

integer

None.

InvTypeId

integer

None.

InvDescription

string

None.

CancellationInvId

integer

None.

IssueDate

date

None.

IssueTime

integer

None.

DiscountPercentage

integer

None.

PayOutTypeId

integer

None.

PayOutTypeDescription

string

None.

ExternalReferenceId

integer

None.

State

INVStates

None.

PayoutState

INVPayoutStates

None.

NetPriceBeforeDiscount

decimal number

None.

DiscountValue

decimal number

None.

NetPriceAfterDiscount

decimal number

None.

VATValue

decimal number

None.

DFValue

decimal number

None.

PayoutValue

decimal number

None.

PrevBalance

decimal number

None.

NewBalance

decimal number

None.

Tips

decimal number

None.

Notes

string

None.

InvCreationUserId

integer

None.

InvCreationDateTime

date

None.

IsHidden

boolean

None.

eCode

string

None.

InvCode

string

None.

HotelAlias

string

None.

HotelRoom

string

None.

FMUFiscalizationOnClient

boolean

None.

FMUWebApiAddress

string

None.

Items

Collection of InvoiceItem

None.

Response Formats

application/json, text/json

Sample:
{
  "AccId": 1,
  "UserName": "sample string 2",
  "ConsumerId": 3,
  "ConsumerAlias": "sample string 4",
  "ConsumerAddress": "sample string 5",
  "ConsumerTown": "sample string 6",
  "ConsumerCountry": "sample string 7",
  "ConsumerExtra1": "sample string 8",
  "CustomerId": 9,
  "CustomerAlias": "sample string 10",
  "CustomerTown": "sample string 11",
  "CustomerPhone": "sample string 12",
  "CustomerAFM": "sample string 13",
  "CustomerDOY": "sample string 14",
  "CustomerAddress": "sample string 15",
  "CustomerZip": "sample string 16",
  "CustomerJob": "sample string 17",
  "FOCustomerId": 18,
  "FOPayerId": 19,
  "FOReservationId": "sample string 20",
  "SaleTypeId": 21,
  "SaleTypeDescr": "sample string 22",
  "InvOrder": "sample string 23",
  "InvOrdinalNumber": 24,
  "InvTypeId": 25,
  "InvDescription": "sample string 26",
  "CancellationInvId": 27,
  "IssueDate": "2025-05-04T19:18:25.2002973+03:00",
  "IssueTime": 29,
  "DiscountPercentage": 30,
  "PayOutTypeId": 31,
  "PayOutTypeDescription": "sample string 32",
  "ExternalReferenceId": 33,
  "State": 0,
  "PayoutState": 0,
  "NetPriceBeforeDiscount": 34.1,
  "DiscountValue": 35.1,
  "NetPriceAfterDiscount": 36.1,
  "VATValue": 37.1,
  "DFValue": 38.1,
  "PayoutValue": 39.1,
  "PrevBalance": 40.1,
  "NewBalance": 41.1,
  "Tips": 42.1,
  "Notes": "sample string 43",
  "InvCreationUserId": 44,
  "InvCreationDateTime": "2025-05-04T19:18:25.2012823+03:00",
  "IsHidden": true,
  "eCode": "sample string 47",
  "InvCode": "sample string 48",
  "HotelAlias": "sample string 49",
  "HotelRoom": "sample string 50",
  "FMUFiscalizationOnClient": true,
  "FMUWebApiAddress": "sample string 52",
  "Items": [
    {
      "Id": 1,
      "AccId": 2,
      "Quantity": 3.1,
      "ProdAlias": "sample string 4",
      "ProdDescription": "sample string 5",
      "PayoutValueDiscountPercent": 6.1,
      "NetValueDiscountPercent": 7.1,
      "NetUnitValueBeforeDiscount": 8.1,
      "NetValueBeforeDiscount": 9.1,
      "VATValue": 10.1,
      "VATPercent": 11.1,
      "DFValue": 12.1,
      "DFPercent": 13.1,
      "NetValueAfterDiscount": 14.1,
      "PayoutValueAfterDiscount": 15.1,
      "PayoutValueBeforeDiscount": 16.1,
      "DiscountValue": 17.1,
      "UnitMeasurementsAlias": "sample string 18",
      "ConsumerId": 19,
      "ConsumerAlias": "sample string 20",
      "SellerId": 21,
      "BookingSourceId": 22,
      "ChrgId": 23
    },
    {
      "Id": 1,
      "AccId": 2,
      "Quantity": 3.1,
      "ProdAlias": "sample string 4",
      "ProdDescription": "sample string 5",
      "PayoutValueDiscountPercent": 6.1,
      "NetValueDiscountPercent": 7.1,
      "NetUnitValueBeforeDiscount": 8.1,
      "NetValueBeforeDiscount": 9.1,
      "VATValue": 10.1,
      "VATPercent": 11.1,
      "DFValue": 12.1,
      "DFPercent": 13.1,
      "NetValueAfterDiscount": 14.1,
      "PayoutValueAfterDiscount": 15.1,
      "PayoutValueBeforeDiscount": 16.1,
      "DiscountValue": 17.1,
      "UnitMeasurementsAlias": "sample string 18",
      "ConsumerId": 19,
      "ConsumerAlias": "sample string 20",
      "SellerId": 21,
      "BookingSourceId": 22,
      "ChrgId": 23
    }
  ]
}

application/xml, text/xml

Sample:
<Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Web.Api.Models">
  <AccId>1</AccId>
  <CancellationInvId>27</CancellationInvId>
  <ConsumerAddress>sample string 5</ConsumerAddress>
  <ConsumerAlias>sample string 4</ConsumerAlias>
  <ConsumerCountry>sample string 7</ConsumerCountry>
  <ConsumerExtra1>sample string 8</ConsumerExtra1>
  <ConsumerId>3</ConsumerId>
  <ConsumerTown>sample string 6</ConsumerTown>
  <CustomerAFM>sample string 13</CustomerAFM>
  <CustomerAddress>sample string 15</CustomerAddress>
  <CustomerAlias>sample string 10</CustomerAlias>
  <CustomerDOY>sample string 14</CustomerDOY>
  <CustomerId>9</CustomerId>
  <CustomerJob>sample string 17</CustomerJob>
  <CustomerPhone>sample string 12</CustomerPhone>
  <CustomerTown>sample string 11</CustomerTown>
  <CustomerZip>sample string 16</CustomerZip>
  <DFValue>38.1</DFValue>
  <DiscountPercentage>30</DiscountPercentage>
  <DiscountValue>35.1</DiscountValue>
  <ExternalReferenceId>33</ExternalReferenceId>
  <FMUFiscalizationOnClient>true</FMUFiscalizationOnClient>
  <FMUWebApiAddress>sample string 52</FMUWebApiAddress>
  <FOCustomerId>18</FOCustomerId>
  <FOPayerId>19</FOPayerId>
  <FOReservationId>sample string 20</FOReservationId>
  <HotelAlias>sample string 49</HotelAlias>
  <HotelRoom>sample string 50</HotelRoom>
  <InvCode>sample string 48</InvCode>
  <InvCreationDateTime>2025-05-04T19:18:25.2012823+03:00</InvCreationDateTime>
  <InvCreationUserId>44</InvCreationUserId>
  <InvDescription>sample string 26</InvDescription>
  <InvOrder>sample string 23</InvOrder>
  <InvOrdinalNumber>24</InvOrdinalNumber>
  <InvTypeId>25</InvTypeId>
  <IsHidden>true</IsHidden>
  <IssueDate>2025-05-04T19:18:25.2002973+03:00</IssueDate>
  <IssueTime>29</IssueTime>
  <Items>
    <InvoiceItem>
      <AccId>2</AccId>
      <BookingSourceId>22</BookingSourceId>
      <ChrgId>23</ChrgId>
      <ConsumerAlias>sample string 20</ConsumerAlias>
      <ConsumerId>19</ConsumerId>
      <DFPercent>13.1</DFPercent>
      <DFValue>12.1</DFValue>
      <DiscountValue>17.1</DiscountValue>
      <Id>1</Id>
      <NetUnitValueBeforeDiscount>8.1</NetUnitValueBeforeDiscount>
      <NetValueAfterDiscount>14.1</NetValueAfterDiscount>
      <NetValueBeforeDiscount>9.1</NetValueBeforeDiscount>
      <NetValueDiscountPercent>7.1</NetValueDiscountPercent>
      <PayoutValueAfterDiscount>15.1</PayoutValueAfterDiscount>
      <PayoutValueBeforeDiscount>16.1</PayoutValueBeforeDiscount>
      <PayoutValueDiscountPercent>6.1</PayoutValueDiscountPercent>
      <ProdAlias>sample string 4</ProdAlias>
      <ProdDescription>sample string 5</ProdDescription>
      <Quantity>3.1</Quantity>
      <SellerId>21</SellerId>
      <UnitMeasurementsAlias>sample string 18</UnitMeasurementsAlias>
      <VATPercent>11.1</VATPercent>
      <VATValue>10.1</VATValue>
    </InvoiceItem>
    <InvoiceItem>
      <AccId>2</AccId>
      <BookingSourceId>22</BookingSourceId>
      <ChrgId>23</ChrgId>
      <ConsumerAlias>sample string 20</ConsumerAlias>
      <ConsumerId>19</ConsumerId>
      <DFPercent>13.1</DFPercent>
      <DFValue>12.1</DFValue>
      <DiscountValue>17.1</DiscountValue>
      <Id>1</Id>
      <NetUnitValueBeforeDiscount>8.1</NetUnitValueBeforeDiscount>
      <NetValueAfterDiscount>14.1</NetValueAfterDiscount>
      <NetValueBeforeDiscount>9.1</NetValueBeforeDiscount>
      <NetValueDiscountPercent>7.1</NetValueDiscountPercent>
      <PayoutValueAfterDiscount>15.1</PayoutValueAfterDiscount>
      <PayoutValueBeforeDiscount>16.1</PayoutValueBeforeDiscount>
      <PayoutValueDiscountPercent>6.1</PayoutValueDiscountPercent>
      <ProdAlias>sample string 4</ProdAlias>
      <ProdDescription>sample string 5</ProdDescription>
      <Quantity>3.1</Quantity>
      <SellerId>21</SellerId>
      <UnitMeasurementsAlias>sample string 18</UnitMeasurementsAlias>
      <VATPercent>11.1</VATPercent>
      <VATValue>10.1</VATValue>
    </InvoiceItem>
  </Items>
  <NetPriceAfterDiscount>36.1</NetPriceAfterDiscount>
  <NetPriceBeforeDiscount>34.1</NetPriceBeforeDiscount>
  <NewBalance>41.1</NewBalance>
  <Notes>sample string 43</Notes>
  <PayOutTypeDescription>sample string 32</PayOutTypeDescription>
  <PayOutTypeId>31</PayOutTypeId>
  <PayoutState>NotSpecified</PayoutState>
  <PayoutValue>39.1</PayoutValue>
  <PrevBalance>40.1</PrevBalance>
  <SaleTypeDescr>sample string 22</SaleTypeDescr>
  <SaleTypeId>21</SaleTypeId>
  <State>Ordered</State>
  <Tips>42.1</Tips>
  <UserName>sample string 2</UserName>
  <VATValue>37.1</VATValue>
  <eCode>sample string 47</eCode>
</Invoice>