GET api/invoices/createcancellation/{invid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
invid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Invoice
NameDescriptionTypeAdditional information
AccId

integer

None.

UserName

string

None.

Header1

string

None.

Header2

string

None.

Header3

string

None.

Header4

string

None.

Header5

string

None.

LogoUrl

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.

QRCode

string

None.

FMUCode1

string

None.

FMUCode2

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",
  "Header1": "sample string 3",
  "Header2": "sample string 4",
  "Header3": "sample string 5",
  "Header4": "sample string 6",
  "Header5": "sample string 7",
  "LogoUrl": "sample string 8",
  "ConsumerId": 9,
  "ConsumerAlias": "sample string 10",
  "ConsumerAddress": "sample string 11",
  "ConsumerTown": "sample string 12",
  "ConsumerCountry": "sample string 13",
  "ConsumerExtra1": "sample string 14",
  "CustomerId": 15,
  "CustomerAlias": "sample string 16",
  "CustomerTown": "sample string 17",
  "CustomerPhone": "sample string 18",
  "CustomerAFM": "sample string 19",
  "CustomerDOY": "sample string 20",
  "CustomerAddress": "sample string 21",
  "CustomerZip": "sample string 22",
  "CustomerJob": "sample string 23",
  "FOCustomerId": 24,
  "FOPayerId": 25,
  "FOReservationId": "sample string 26",
  "SaleTypeId": 27,
  "SaleTypeDescr": "sample string 28",
  "InvOrder": "sample string 29",
  "InvOrdinalNumber": 30,
  "InvTypeId": 31,
  "InvDescription": "sample string 32",
  "CancellationInvId": 33,
  "IssueDate": "2025-05-04T14:16:40.1329848+03:00",
  "IssueTime": 35,
  "DiscountPercentage": 36,
  "PayOutTypeId": 37,
  "PayOutTypeDescription": "sample string 38",
  "ExternalReferenceId": 39,
  "State": 0,
  "PayoutState": 0,
  "NetPriceBeforeDiscount": 40.1,
  "DiscountValue": 41.1,
  "NetPriceAfterDiscount": 42.1,
  "VATValue": 43.1,
  "DFValue": 44.1,
  "PayoutValue": 45.1,
  "PrevBalance": 46.1,
  "NewBalance": 47.1,
  "Tips": 48.1,
  "Notes": "sample string 49",
  "InvCreationUserId": 50,
  "InvCreationDateTime": "2025-05-04T14:16:40.1329848+03:00",
  "IsHidden": true,
  "eCode": "sample string 53",
  "InvCode": "sample string 54",
  "HotelAlias": "sample string 55",
  "HotelRoom": "sample string 56",
  "QRCode": "sample string 57",
  "FMUCode1": "sample string 58",
  "FMUCode2": "sample string 59",
  "FMUFiscalizationOnClient": true,
  "FMUWebApiAddress": "sample string 61",
  "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.Library.Web.Models">
  <AccId>1</AccId>
  <CancellationInvId>33</CancellationInvId>
  <ConsumerAddress>sample string 11</ConsumerAddress>
  <ConsumerAlias>sample string 10</ConsumerAlias>
  <ConsumerCountry>sample string 13</ConsumerCountry>
  <ConsumerExtra1>sample string 14</ConsumerExtra1>
  <ConsumerId>9</ConsumerId>
  <ConsumerTown>sample string 12</ConsumerTown>
  <CustomerAFM>sample string 19</CustomerAFM>
  <CustomerAddress>sample string 21</CustomerAddress>
  <CustomerAlias>sample string 16</CustomerAlias>
  <CustomerDOY>sample string 20</CustomerDOY>
  <CustomerId>15</CustomerId>
  <CustomerJob>sample string 23</CustomerJob>
  <CustomerPhone>sample string 18</CustomerPhone>
  <CustomerTown>sample string 17</CustomerTown>
  <CustomerZip>sample string 22</CustomerZip>
  <DFValue>44.1</DFValue>
  <DiscountPercentage>36</DiscountPercentage>
  <DiscountValue>41.1</DiscountValue>
  <ExternalReferenceId>39</ExternalReferenceId>
  <FMUCode1>sample string 58</FMUCode1>
  <FMUCode2>sample string 59</FMUCode2>
  <FMUFiscalizationOnClient>true</FMUFiscalizationOnClient>
  <FMUWebApiAddress>sample string 61</FMUWebApiAddress>
  <FOCustomerId>24</FOCustomerId>
  <FOPayerId>25</FOPayerId>
  <FOReservationId>sample string 26</FOReservationId>
  <Header1>sample string 3</Header1>
  <Header2>sample string 4</Header2>
  <Header3>sample string 5</Header3>
  <Header4>sample string 6</Header4>
  <Header5>sample string 7</Header5>
  <HotelAlias>sample string 55</HotelAlias>
  <HotelRoom>sample string 56</HotelRoom>
  <InvCode>sample string 54</InvCode>
  <InvCreationDateTime>2025-05-04T14:16:40.1329848+03:00</InvCreationDateTime>
  <InvCreationUserId>50</InvCreationUserId>
  <InvDescription>sample string 32</InvDescription>
  <InvOrder>sample string 29</InvOrder>
  <InvOrdinalNumber>30</InvOrdinalNumber>
  <InvTypeId>31</InvTypeId>
  <IsHidden>true</IsHidden>
  <IssueDate>2025-05-04T14:16:40.1329848+03:00</IssueDate>
  <IssueTime>35</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>
  <LogoUrl>sample string 8</LogoUrl>
  <NetPriceAfterDiscount>42.1</NetPriceAfterDiscount>
  <NetPriceBeforeDiscount>40.1</NetPriceBeforeDiscount>
  <NewBalance>47.1</NewBalance>
  <Notes>sample string 49</Notes>
  <PayOutTypeDescription>sample string 38</PayOutTypeDescription>
  <PayOutTypeId>37</PayOutTypeId>
  <PayoutState>NotSpecified</PayoutState>
  <PayoutValue>45.1</PayoutValue>
  <PrevBalance>46.1</PrevBalance>
  <QRCode>sample string 57</QRCode>
  <SaleTypeDescr>sample string 28</SaleTypeDescr>
  <SaleTypeId>27</SaleTypeId>
  <State>Ordered</State>
  <Tips>48.1</Tips>
  <UserName>sample string 2</UserName>
  <VATValue>43.1</VATValue>
  <eCode>sample string 53</eCode>
</Invoice>