GET api/{DataId}/invoices/full/{InvoiceId}
Vráti faktúru s položkami podľa jej InvoiceId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DataId |
Číslo dátového prostredia |
string |
Required |
InvoiceId |
Oid |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
InvoiceName | Description | Type | Additional information |
---|---|---|---|
Customer |
Odberateľ (organizácia) |
CustomerInfo |
None. |
DeliveryMethod |
Spôsob dodania (doprava) |
string |
None. |
PaymentMethod |
Spôsob platby |
ePaymentMethod |
None. |
BillingAddress |
Fakturačná adresa |
CustomerAddress |
None. |
ShippingAddress |
Dodacia adresa |
CustomerAddress |
None. |
Consignee |
Príjemca - vypĺňa sa v prípade dodania do inej prevádzky odberateľa, alebo inej firme/osobe. |
CompanyBranchInfo |
None. |
BaseReducedVAT |
Základ v nulovej sadzbe DPH |
decimal number |
None. |
BaseStandardVAT |
Základ v základnej sadzbe DPH |
decimal number |
None. |
TotalZeroVAT |
Celkom v nulovej sadzbe DPH |
decimal number |
None. |
TotalReducedVAT |
Celkom v zníženej sadzbe DPH |
decimal number |
None. |
TotalStandardVAT |
Celkom v základnej sadzbe DPH |
decimal number |
None. |
Items |
Položky faktúry |
Collection of InvoiceItem |
None. |
InvoiceId |
Id faktúry (Oid) |
globally unique identifier |
None. |
InvoiceNumber |
Číslo faktúry |
integer |
None. |
ReferenceNumber |
Variabilný symbol |
string |
None. |
InvoiceDate |
Dátum faktúry (účtovné plnenie) |
date |
None. |
Issued |
Dátum vystavenia faktúry |
date |
None. |
DueDate |
Dátum splatnosti |
date |
None. |
Total |
Fakturovaná čiastka |
decimal number |
None. |
TotalBase |
Základ bez DPH |
decimal number |
None. |
TotalFC |
Fakturovaná čiastka v cudzej mene |
decimal number |
None. |
TotalBaseFC |
Základ bez DPH v cudzej mene |
decimal number |
None. |
TotalPaidFC |
Uhradená čiastka v cudzej mene |
decimal number |
None. |
TotalPaid |
Uhradená čiastka |
decimal number |
None. |
Paid |
Príznak, či bola faktúra zaplatená |
boolean |
None. |
Currency |
Kód meny (vypĺňa sa len v prípade cudzej meny, inak EUR) |
string |
None. |
Responsible |
Osoba zodpovedná za faktúru |
User |
None. |
Response Formats
application/json, text/json
{ "Customer": { "CustomerId": "675be323-7a04-4aa9-b2ce-044ccef81a81", "RegistrationNumber": "sample string 2", "CompanyName": "sample string 3", "VATIdentificationNumber": "sample string 4", "TaxIdentificationNumber": "sample string 5", "Phone": "sample string 6", "Mobile": "sample string 7", "Email": "sample string 8" }, "DeliveryMethod": "sample string 1", "PaymentMethod": 0, "BillingAddress": { "AddressId": "9b03a44e-9ebf-4650-86dd-a89ab038e669", "Street": "sample string 2", "City": "sample string 3", "Postcode": "sample string 4", "CountryCode": "sample string 5", "CountryCodeAlfa2": "sample string 6", "CountryCodeAlfa3": "sample string 7" }, "ShippingAddress": { "AddressId": "9b03a44e-9ebf-4650-86dd-a89ab038e669", "Street": "sample string 2", "City": "sample string 3", "Postcode": "sample string 4", "CountryCode": "sample string 5", "CountryCodeAlfa2": "sample string 6", "CountryCodeAlfa3": "sample string 7" }, "Consignee": { "BranchId": "86e35886-f57b-4533-89d4-fee57b9a802f", "Code": "sample string 2", "Name": "sample string 3", "Phone": "sample string 4", "Mobile": "sample string 5", "Email": "sample string 6" }, "BaseReducedVAT": 2.0, "BaseStandardVAT": 3.0, "TotalZeroVAT": 4.0, "TotalReducedVAT": 5.0, "TotalStandardVAT": 6.0, "Items": [ { "ItemNo": 1.0, "ProductId": "9c619de6-01ee-45b4-8184-fae1ed3ae801", "ProductCode": "sample string 3", "ProductName": "sample string 4", "StockCode": "sample string 5", "Quantity": 6.0, "MeasureUnit": "sample string 7", "UnitPrice": 8.0, "UnitPriceVAT": 9.0, "UnitPriceFC": 10.0, "UnitPriceVATFC": 11.0, "VATRate": 12.0 }, { "ItemNo": 1.0, "ProductId": "9c619de6-01ee-45b4-8184-fae1ed3ae801", "ProductCode": "sample string 3", "ProductName": "sample string 4", "StockCode": "sample string 5", "Quantity": 6.0, "MeasureUnit": "sample string 7", "UnitPrice": 8.0, "UnitPriceVAT": 9.0, "UnitPriceFC": 10.0, "UnitPriceVATFC": 11.0, "VATRate": 12.0 } ], "InvoiceId": "e69e3ea6-8a6c-4aa9-affa-6852f51769ec", "InvoiceNumber": 8, "ReferenceNumber": "sample string 9", "InvoiceDate": "2024-05-19T21:38:39.279625+02:00", "Issued": "2024-05-19T21:38:39.279625+02:00", "DueDate": "2024-05-19T21:38:39.279625+02:00", "Total": 13.0, "TotalBase": 14.0, "TotalFC": 15.0, "TotalBaseFC": 16.0, "TotalPaidFC": 17.0, "TotalPaid": 18.0, "Paid": true, "Currency": "sample string 20", "Responsible": { "Login": "sample string 1", "FullName": "sample string 2", "Phone": "sample string 3", "Mail": "sample string 4" } }
application/xml, text/xml
<Invoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <InvoiceId>e69e3ea6-8a6c-4aa9-affa-6852f51769ec</InvoiceId> <InvoiceNumber>8</InvoiceNumber> <ReferenceNumber>sample string 9</ReferenceNumber> <InvoiceDate>2024-05-19T21:38:39.279625+02:00</InvoiceDate> <Issued>2024-05-19T21:38:39.279625+02:00</Issued> <DueDate>2024-05-19T21:38:39.279625+02:00</DueDate> <Total>13</Total> <TotalBase>14</TotalBase> <TotalFC>15</TotalFC> <TotalBaseFC>16</TotalBaseFC> <TotalPaidFC>17</TotalPaidFC> <TotalPaid>18</TotalPaid> <Paid>true</Paid> <Currency>sample string 20</Currency> <Responsible> <Login>sample string 1</Login> <FullName>sample string 2</FullName> <Phone>sample string 3</Phone> <Mail>sample string 4</Mail> </Responsible> <Customer> <CustomerId>675be323-7a04-4aa9-b2ce-044ccef81a81</CustomerId> <RegistrationNumber>sample string 2</RegistrationNumber> <CompanyName>sample string 3</CompanyName> <VATIdentificationNumber>sample string 4</VATIdentificationNumber> <TaxIdentificationNumber>sample string 5</TaxIdentificationNumber> <Phone>sample string 6</Phone> <Mobile>sample string 7</Mobile> <Email>sample string 8</Email> </Customer> <DeliveryMethod>sample string 1</DeliveryMethod> <PaymentMethod>BankTransfer</PaymentMethod> <BillingAddress> <AddressId>9b03a44e-9ebf-4650-86dd-a89ab038e669</AddressId> <Street>sample string 2</Street> <City>sample string 3</City> <Postcode>sample string 4</Postcode> <CountryCode>sample string 5</CountryCode> <CountryCodeAlfa2>sample string 6</CountryCodeAlfa2> <CountryCodeAlfa3>sample string 7</CountryCodeAlfa3> </BillingAddress> <ShippingAddress> <AddressId>9b03a44e-9ebf-4650-86dd-a89ab038e669</AddressId> <Street>sample string 2</Street> <City>sample string 3</City> <Postcode>sample string 4</Postcode> <CountryCode>sample string 5</CountryCode> <CountryCodeAlfa2>sample string 6</CountryCodeAlfa2> <CountryCodeAlfa3>sample string 7</CountryCodeAlfa3> </ShippingAddress> <Consignee> <BranchId>86e35886-f57b-4533-89d4-fee57b9a802f</BranchId> <Code>sample string 2</Code> <Name>sample string 3</Name> <Phone>sample string 4</Phone> <Mobile>sample string 5</Mobile> <Email>sample string 6</Email> </Consignee> <BaseReducedVAT>2</BaseReducedVAT> <BaseStandardVAT>3</BaseStandardVAT> <TotalZeroVAT>4</TotalZeroVAT> <TotalReducedVAT>5</TotalReducedVAT> <TotalStandardVAT>6</TotalStandardVAT> <Items> <InvoiceItem> <ItemNo>1</ItemNo> <ProductId>9c619de6-01ee-45b4-8184-fae1ed3ae801</ProductId> <ProductCode>sample string 3</ProductCode> <ProductName>sample string 4</ProductName> <StockCode>sample string 5</StockCode> <Quantity>6</Quantity> <MeasureUnit>sample string 7</MeasureUnit> <UnitPrice>8</UnitPrice> <UnitPriceVAT>9</UnitPriceVAT> <UnitPriceFC>10</UnitPriceFC> <UnitPriceVATFC>11</UnitPriceVATFC> <VATRate>12</VATRate> </InvoiceItem> <InvoiceItem> <ItemNo>1</ItemNo> <ProductId>9c619de6-01ee-45b4-8184-fae1ed3ae801</ProductId> <ProductCode>sample string 3</ProductCode> <ProductName>sample string 4</ProductName> <StockCode>sample string 5</StockCode> <Quantity>6</Quantity> <MeasureUnit>sample string 7</MeasureUnit> <UnitPrice>8</UnitPrice> <UnitPriceVAT>9</UnitPriceVAT> <UnitPriceFC>10</UnitPriceFC> <UnitPriceVATFC>11</UnitPriceVATFC> <VATRate>12</VATRate> </InvoiceItem> </Items> </Invoice>