GET api/{DataId}/customers/{RegistrationNumber}/invoices?FromDate={FromDate}
Vráti zoznam faktúr s položkami daného zákazníka od zadaného dátumu
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DataId |
Číslo dátového prostredia |
string |
Required |
RegistrationNumber |
IČO |
string |
Required |
FromDate |
Dátum od ktorého budú načítané faktúry, vo formáte: M/D/YYYY hh:mm (mesiac/deň/rok hodiny:minúty). Čas je možné vynechať, vtedy sa uvažuje 00:00. |
date |
Default value is 01/01/0001 00:00:00 |
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": "df0f49de-5939-4022-92e5-ee7301314028", "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": "ea9394da-688b-4194-be2c-d593d61bbad7", "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": "ea9394da-688b-4194-be2c-d593d61bbad7", "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": "54ec08c2-bf77-4448-b566-070fb13fb3cb", "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": "1d2c4ecc-fc85-4039-9842-0ad67aa82d9c", "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": "1d2c4ecc-fc85-4039-9842-0ad67aa82d9c", "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": "83fe3f29-40d5-499e-aadf-d5d5b6eae182", "InvoiceNumber": 8, "ReferenceNumber": "sample string 9", "InvoiceDate": "2024-04-26T15:32:29.4210703+02:00", "Issued": "2024-04-26T15:32:29.4210703+02:00", "DueDate": "2024-04-26T15:32:29.4210703+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>83fe3f29-40d5-499e-aadf-d5d5b6eae182</InvoiceId> <InvoiceNumber>8</InvoiceNumber> <ReferenceNumber>sample string 9</ReferenceNumber> <InvoiceDate>2024-04-26T15:32:29.4210703+02:00</InvoiceDate> <Issued>2024-04-26T15:32:29.4210703+02:00</Issued> <DueDate>2024-04-26T15:32:29.4210703+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>df0f49de-5939-4022-92e5-ee7301314028</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>ea9394da-688b-4194-be2c-d593d61bbad7</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>ea9394da-688b-4194-be2c-d593d61bbad7</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>54ec08c2-bf77-4448-b566-070fb13fb3cb</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>1d2c4ecc-fc85-4039-9842-0ad67aa82d9c</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>1d2c4ecc-fc85-4039-9842-0ad67aa82d9c</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>