Namespace: Altairis.Fakturoid.Client
Class representing connection to Fakturoid API, holds authentication information etc.
| Name | Type | Summary |
|---|---|---|
| AccountName | string | Gets the Fakturoid account name. |
| ClientId | string | Gets the Fakturoid account email address. |
| ClientSecret | string | Gets the Fakturoid authentication token. |
| UserAgent | string | Gets the User-Agent header used for HTTP requests. |
| BankAccounts | FakturoidBankAccountsProxy | Gets the bank accounts. |
| Events | FakturoidEventsProxy | Gets the events. |
| Invoices | FakturoidInvoicesProxy | Gets the invoices. |
| NumberFormats | FakturoidNumberFormatsProxy | Gets the number formats. |
| Subjects | FakturoidSubjectsProxy | Gets the subjects. |
| Todos | FakturoidTodosProxy | Gets the todos. |
| Name | Summary |
|---|---|
| FakturoidContext(string accountName, string clientId, string clientSecret, string userAgent) | Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidContext class. |
| Name | Returns | Summary |
|---|---|---|
| GetAccountInfoAsync() | Task<FakturoidAccount> | Gets the account information. |
Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidContext class.
| Parameter | Type | Description |
|---|---|---|
| accountName | string | Account name (accountName). |
| clientId | string | The client ID for OAuth 2 Client Credentials Flow. |
| clientSecret | string | The client secret for OAuth 2 Client Credentials Flow. |
| userAgent | string | The User-Agent HTTP header value. |
Gets the account information.
Task<FakturoidAccount>
Instance of Altairis.Fakturoid.Client.Models.FakturoidAccount class containing the account information.
Namespace: Altairis.Fakturoid.Client
Base class: Exception
The exception representing error returned by Fakturoid API.
| Name | Type | Summary |
|---|---|---|
| Response | HttpResponseMessage | Gets or sets the related HTTP response object. |
| ResponseBody | string | Gets the HTTP response body as string. |
| Errors | IEnumerable<KeyValuePair<string, string>> | Gets the errors returned by Fakturoid API. |
| TargetSite | MethodBase | |
| Message | string | |
| Data | IDictionary | |
| InnerException | Exception | |
| HelpLink | string | |
| Source | string | |
| HResult | int | |
| StackTrace | string |
| Name | Summary |
|---|---|
| FakturoidException() | Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class. |
| FakturoidException(string message) | Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class. |
| FakturoidException(HttpResponseMessage response) | Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class. |
| FakturoidException(string format, Object[] args) | Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class. |
| FakturoidException(string message, Exception innerException) | Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class. |
| FakturoidException(string format, Exception innerException, Object[] args) | Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class. |
| Name | Returns | Summary |
|---|---|---|
| GetObjectData(SerializationInfo info, StreamingContext context) | void | Sets the System.Runtime.Serialization.SerializationInfo with information about the exception. |
Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class.
Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class.
| Parameter | Type | Description |
|---|---|---|
| message | string | The message that describes the error. |
Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class.
| Parameter | Type | Description |
|---|---|---|
| response | HttpResponseMessage | The HTTP response to get exception information from. |
Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class.
| Parameter | Type | Description |
|---|---|---|
| format | string | The format. |
| args | Object[] | The args. |
Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class.
| Parameter | Type | Description |
|---|---|---|
| message | string | The error message that explains the reason for the exception. |
| innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |
Initializes a new instance of the Altairis.Fakturoid.Client.FakturoidException class.
| Parameter | Type | Description |
|---|---|---|
| format | string | The format. |
| innerException | Exception | The inner exception. |
| args | Object[] | The args. |
Sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
| Parameter | Type | Description |
|---|---|---|
| info | SerializationInfo | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
| context | StreamingContext | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Namespace: Altairis.Fakturoid.Client
Task
Task
Task
Namespace: Altairis.Fakturoid.Client.Models
Access token
| Name | Type | Summary |
|---|---|---|
| AccessToken | string | Gets or sets the access token. |
| TokenType | string | Gets or sets the type of the token. |
| ExpiresIn | int | Gets or sets the expiration time in seconds. |
Namespace: Altairis.Fakturoid.Client.Models
Account data.
| Name | Type | Summary |
|---|---|---|
| Subdomain | string | Subdomain. |
| Plan | string | Subscription plan. |
| PlanPrice | int | Price of subscription plan. |
| PlanPaidUsers | int | Number of paid users. |
| InvoiceEmail | string | Email for sending invoices. |
| Phone | string | Phone number. |
| Web | string | Account owner's website. |
| Name | string | The name of the company. |
| FullName | string | Name of the account holder. |
| RegistrationNo | string | Registration number. |
| VatNo | string | Tax identification number. |
| LocalVatNo | string | Tax identification number for SK subject. |
| VatMode | string | VAT mode. |
| VatPriceMode | string | VAT calculation mode. |
| Street | string | Street. |
| City | string | City. |
| Zip | string | Postal code. |
| Country | string | Country (ISO Code). |
| Currency | string | Default currency (ISO Code). |
| UnitName | string | Default measurement unit. |
| VatRate | int | Default VAT rate. |
| DisplayedNote | string | Invoice footer. |
| InvoiceNote | string | Text before lines. |
| Due | int | Default number of days until an invoice becomes overdue. |
| InvoiceLanguage | string | Default invoice language. |
| InvoicePaymentMethod | string | Default payment method. |
| InvoiceProforma | bool | Issue proforma by default. |
| InvoiceHideBankAccountForPayments | string[] | Hide bank account for payments. |
| FixedExchangeRate | bool | Fixed exchange rate. |
| InvoiceSelfbilling | bool | Selfbilling enabled? |
| DefaultEstimateType | string | Default estimate in English. |
| SendOverdueEmail | bool | Send overdue reminders automatically? |
| OverdueEmailDays | int | Days after the due date to send an automatic overdue reminder? |
| SendRepeatedReminders | bool | Send automatic overdue reminders repeatedly? |
| SendInvoiceFromProformaEmail | bool | Send email automatically when proforma is paid? |
| SendThankYouEmail | bool | Send a thank you email when invoices is paid automatically? |
| InvoicePaypal | bool | PayPal enabled for all invoices? |
| InvoiceGopay | bool | GoPay enabled for all invoices? |
| DigitooEnabled | bool | Digitoo service enabled? |
| DigitooAutoProcessingEnabled | bool | Digitoo service auto processing enabled. |
| DigitooExtractionsRemaining | int | Number of remaining extractions by Digitoo service. |
| CreatedAt | DateTimeOffset | Account creation date. |
| UpdatedAt | DateTimeOffset | The date the account was last modified. |
Namespace: Altairis.Fakturoid.Client.Models
Attachment for download
| Name | Type | Summary |
|---|---|---|
| Filename | string | Attachment file name. |
| ContentType | string | Attachment file MIME type (download only). |
| DownloadUrl | string | API URL for file download (download only). |
| DataUrl | string | Attachment contents in the form of a Data URI (upload only). |
Namespace: Altairis.Fakturoid.Client.Models
Bank account data.
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid. |
| Name | string | Account name. |
| Currency | string | Currency. |
| Number | string | Account number. |
| Iban | string | IBAN code. |
| SwiftBic | string | BIC (for SWIFT payments). |
| Pairing | bool | Pairing of incoming payments. |
| ExpensePairing | bool | Pairing of outgoing payments. |
| PaymentAdjustment | bool | Small amount settlement when matching payments. |
| Default | bool | Default bank account. |
| CreatedAt | DateTimeOffset | Date and time of bank account creation. |
| UpdatedAt | DateTimeOffset | Date and time of last bank account update. |
Namespace: Altairis.Fakturoid.Client.Models
Event data.
| Name | Type | Summary |
|---|---|---|
| Name | string | Event name |
| CreatedAt | DateTimeOffset | Date and time of event creation |
| Text | string | Text of the event |
| RelatedObjects | List<FakturoidRelatedObject> | Attributes of objects related to the event |
| User | FakturoidEventUser | User details |
| Params | Object | Parameters with details about event, specific for each type of event |
Namespace: Altairis.Fakturoid.Client.Models
User related to event
| Name | Type | Summary |
|---|---|---|
| Id | int | User ID |
| FullName | string | Full user name |
| Avatar | string | Avatar URL |
Namespace: Altairis.Fakturoid.Client.Models
Expense data.
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid. |
| CustomId | string | Identifier in your application. |
| Number | string | Expense number. Default: Calculate new number automatically. |
| OriginalNumber | string | Original expense number. |
| VariableSymbol | string | Variable symbol. |
| SupplierName | string | Subject company name. |
| SupplierStreet | string | Subject address street. |
| SupplierCity | string | Subject address city. |
| SupplierZip | string | Subject address postal code. |
| SupplierCountry | string | Subject address country (ISO Code). |
| SupplierRegistrationNo | string | Subject registration number (IČO). |
| SupplierVatNo | string | Subject VAT number (DIČ). |
| SupplierLocalVatNo | string | Subject SK DIČ (only for Slovakia, does not start with country code). |
| SubjectId | int | Subject ID. |
| Status | string | Current state of the expense. Values: open, overdue, paid. |
| DocumentType | string | Type of expense document. Values: invoice, bill (Receipt), other. Default: invoice. |
| IssuedOn | DateTime? | Date of issue. |
| TaxableFulfillmentDue | DateTime | Chargeable event date. |
| ReceivedOn | DateTime | Date when you received the expense from your supplier. |
| DueOn | DateTime | Date when the expense becomes overdue. |
| RemindDueDate | bool | Remind the upcoming due date with a Todo. Default: true. |
| PaidOn | DateTime | Date when the expense was marked as paid. |
| LockedAt | DateTime | Date and time when the expense was locked. |
| Description | string | Expense description. |
| PrivateNote | string | Private note. |
| Tags | List | List of tags. |
| BankAccount | string | Supplier bank account number. Default: Inherit from supplier subject. |
| Iban | string | Supplier bank account IBAN. Default: Inherit from supplier subject. |
| SwiftBic | string | Supplier bank account BIC (for SWIFT payments). Default: Inherit from supplier subject. |
| PaymentMethod | string | Payment method. Values: bank, cash, cod (cash on delivery), card, paypal, custom. Default: bank. |
| CustomPaymentMethod | string | Custom payment method (payment_method attribute must be set to custom, otherwise the custom_payment_method value is ignored and set to null). Value: String up to 20 characters. |
| Currency | string | Currency ISO Code. Default: Inherit from account settings. |
| ExchangeRate | decimal? | Exchange rate (required if expense currency differs from account currency). |
| TransferredTaxLiability | bool | Self-assesment of VAT? Default: false. |
| SupplyCode | string | Supply code for statement about expenses in reverse charge. |
| VatPriceMode | string | Calculate VAT from base or final amount. Values: without_vat, from_total_with_vat. Default: without_vat. |
| ProportionalVatDeduction | int? | Proportional VAT deduction (percent). Default: 100. |
| TaxDeductible | bool | Tax deductible. Default: true. |
| Subtotal | decimal? | Total without VAT. |
| Total | decimal? | Total with VAT. |
| NativeSubtotal | decimal? | Total without VAT in the account currency. |
| NativeTotal | decimal? | Total with VAT in the account currency. |
| Lines | List<FakturoidLine> | List of lines to expense. |
| VatRatesSummary | List<FakturoidVatRateSummary> | VAT rates summary. |
| Payments | List<FakturoidExpensePayment> | List of payments. |
| Attachments | List<FakturoidAttachment> | List of attachments. |
| HtmlUrl | string | Expense HTML web address. |
| Url | string | Expense API address. |
| SubjectUrl | string | Subject API address. |
| CreatedAt | DateTimeOffset | Date and time of expense creation. |
| UpdatedAt | DateTimeOffset | Date and time of last expense update. |
Namespace: Altairis.Fakturoid.Client.Models
Expense payment data.
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid |
| PaidOn | DateTime | Payment date Default: Today |
| Currency | string | Currency ISO Code (same as expense currency) |
| Amount | decimal | Paid amount in document currency Default: Remaining amount to pay |
| NativeAmount | decimal | Paid amount in account currency Default: Remaining amount to pay converted to account currency |
| MarkDocumentAsPaid | bool | Mark document as paid? Default: true if the total paid amount becomes greater or equal to remaining amount to pay |
| VariableSymbol | string | Payment variable symbol Default: Expense variable symbol |
| BankAccountId | int | Bank account ID Default: Expense bank account or default bank account |
| CreatedAt | DateTimeOffset | The date and time of payment creation |
| UpdatedAt | DateTimeOffset | The date and time of last payment update |
Namespace: Altairis.Fakturoid.Client.Models
Generator
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid |
| CustomId | string | Identifier in your application |
| Name | string | Template name |
| Proforma | bool | Issue invoice as a proforma Default: false |
| Paypal | bool | Show PayPal pay button on invoice Default: false |
| Gopay | bool | Show GoPay pay button on invoice Default: false |
| TaxDateAtEndOfLastMonth | bool | Set CED at the end of last month Default: false |
| Due | int | Number of days until the invoice is overdue Default: Inherit from account settings |
| SubjectId | int | Subject ID |
| NumberFormatId | int? | Number format ID Default: Inherit from default account settings |
| Note | string | Text before invoice lines |
| FooterNote | string | Text in invoice footer |
| LegacyBankDetails | FakturoidLegacyBankDetails | Display IBAN, BIC (SWIFT) and bank account number for legacy templates set without bank account ID Default: null |
| BankAccountId | int? | Bank account ID Default: Inherit from account settings |
| IbanVisibility | string | Controls IBAN visibility on the document webinvoice and PDF. IBAN must be valid to show Values: automatically, always Default: automatically |
| Tags | List | List of tags |
| OrderNumber | string | Order number |
| Currency | string | Currency ISO code Default: Inherit from account settings |
| ExchangeRate | decimal? | Exchange rate |
| PaymentMethod | string | Payment method Values: bank, cash, cod (cash on delivery), card, paypal, custom Default: Inherit from account settings |
| CustomPaymentMethod | string | Custom payment method (payment_method attribute must be set to custom, otherwise the custom_payment_method value is ignored and set to null) Value: String up to 20 characters Default: Inherit from account settings if default account payment method is set to custom |
| Language | string | Invoice language Values: cz, sk, en, de, fr, it, es, ru, pl, hu, ro Default: Inherit from account settings |
| VatPriceMode | string | Calculate VAT from base or final amount, more info in a table below Values: without_vat, from_total_with_vat Default: Inherit from account settings |
| TransferredTaxLiability | bool | Use reverse charge Default: false |
| SupplyCode | int? | Supply code for reverse charge List of codes |
| Oss | string | Use OSS mode on invoice Values: disabled, service, goods Default: disabled |
| RoundTotal | bool | Round total amount (VAT included) Default: false |
| Subtotal | decimal | Total amount without VAT |
| Total | decimal? | Total amount with VAT |
| NativeSubtotal | decimal? | Total amount without VAT in the account currency |
| NativeTotal | decimal? | Total amount with VAT in the account currency |
| Lines | List<FakturoidLine> | List of lines to invoice |
| HtmlUrl | string | Template HTML web address |
| Url | string | Template API address |
| SubjectUrl | string | API address of subject |
| CreatedAt | DateTimeOffset | Date and time of template creation |
| UpdatedAt | DateTimeOffset | Date and time of last template update |
Namespace: Altairis.Fakturoid.Client.Models
Inbox file
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid |
| Filename | string | File name (with extension) |
| Bytesize | int | File size in bytes |
| SendToOcr | bool | The file will be sent to OCR |
| SentToOcrAt | DateTime? | The date and time the file was sent to OCR |
| OcrStatus | string | OCR file processing status Values: created, processing, processing_failed, processing_rejected, processed Note: null value is returned when the file is not sent to OCR |
| OcrCompletedAt | DateTime? | The date and time the OCR file was completed |
| DownloadUrl | string | URL to download the file |
| CreatedAt | DateTimeOffset | The date and time of file creation |
| UpdatedAt | DateTimeOffset | The date and time of last file update |
Namespace: Altairis.Fakturoid.Client.Models
Inventory information.
| Name | Type | Summary |
|---|---|---|
| ItemId | int | ID of the related inventory item. |
| Sku | string | Stock Keeping Unit (SKU). |
| ArticleNumberType | string | Article number type (only if article_number is present). Values: ian, ean, isbn |
| ArticleNumber | string | Article number (if present). |
| MoveId | int | ID of the related inventory move. |
Namespace: Altairis.Fakturoid.Client.Models
Inventory item data.
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid. |
| Name | string | Item name. |
| Sku | string | Stock Keeping Unit (SKU). Required if track_quantity is enabled. |
| ArticleNumberType | string | Article number type. Values: ian, ean, isbn. Default: ian. |
| ArticleNumber | string | Article number. |
| UnitName | string | Unit of measure. |
| TrackQuantity | bool | Track quantity via inventory moves? Default: false. |
| Quantity | decimal? | Quantity in stock. Required if track_quantity is enabled. Becomes read-only after item creation and can be changed only via inventory moves. |
| MinQuantity | decimal? | Minimum stock quantity. |
| MaxQuantity | decimal? | Maximum stock quantity. |
| AllowBelowZero | bool | Allow quantity below zero. Default: false. |
| LowQuantityDate | DateTime | Date when item quantity dropped below min_quantity. |
| NativePurchasePrice | decimal? | Unit purchase price without VAT in account currency. Required if track_quantity is enabled. |
| NativeRetailPrice | decimal? | Unit retail price without VAT in account currency. |
| VatRate | string | VAT rate. Values: standard (21%), reduced (15%), reduced2 (10%), zero (0%). |
| AverageNativePurchasePrice | decimal? | Average purchase price in account currency. |
| SupplyType | string | Item type. Values: goods, service. Default: goods. |
| Archived | bool | If item is archived. |
| PrivateNote | string | Private note. |
| SuggestFor | string | Suggest item for documents. Values: invoices, expenses, both. Default: both. |
| CreatedAt | DateTimeOffset | Date and time of item creation. |
| UpdatedAt | DateTimeOffset | Date and time of last item update. |
Namespace: Altairis.Fakturoid.Client.Models
Inventory move.
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid. |
| Direction | string | Move direction. Values: in, out. |
| MovedOn | DateTime | Move date. |
| QuantityChange | decimal | Item quantity in move. |
| PurchasePrice | decimal? | Purchase price per unit (without VAT). |
| PurchaseCurrency | string | Purchase currency. Values: Currency code (3 characters). Default: Inherit from account settings. |
| NativePurchasePrice | decimal? | Unit purchase price in account currency. |
| RetailPrice | decimal? | Retail price per unit. |
| RetailCurrency | string | Retail currency. Values: Currency code (3 characters). Default: Inherit from account settings. |
| NativeRetailPrice | decimal | Retail price in account currency. |
| PrivateNote | string | Private note. |
| InventoryItemId | int | Inventory item ID. |
| Document | FakturoidInventoryMoveDocument | Details about document and line the move is tied to. Default: null. |
| CreatedAt | DateTimeOffset | Date and time of move creation. |
| UpdatedAt | DateTimeOffset | Date and time of last move update. |
Namespace: Altairis.Fakturoid.Client.Models
Document related to inventory move.
| Name | Type | Summary |
|---|---|---|
| Id | int | Gets or sets the document ID. |
| Type | string | Gets or sets the type of document. Values: Estimate, Expense, ExpenseGenerator, Generator, Invoice |
| LineId | int | Gets or sets the document line ID. |
Namespace: Altairis.Fakturoid.Client.Models
Invoice data.
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid. |
| CustomId | string | Identifier in your application. |
| DocumentType | string | Type of document. Values: partial_proforma, proforma, correction, tax_document, final_invoice, invoice |
| ProformaFollowupDocument | string | What to issue after a proforma is paid. Values: final_invoice_paid, final_invoice, tax_document, none |
| TaxDocumentIds | List | Required only when creating a final invoice from tax documents. |
| CorrectionId | int? | ID of the invoice being corrected. |
| Number | string | Document number. |
| NumberFormatId | int? | ID of a number format. |
| VariableSymbol | string | Variable symbol. |
| YourName | string | Name of your company. |
| YourStreet | string | Your address street. |
| YourCity | string | Your address city. |
| YourZip | string | Your address postal code. |
| YourCountry | string | Your address country (ISO code). |
| YourRegistrationNo | string | Your registration number (IČO). |
| YourVatNo | string | Your VAT number (DIČ). |
| YourLocalVatNo | string | Your SK DIČ (only for Slovakia, does not start with country code). |
| ClientName | string | Subject company name. |
| ClientStreet | string | Subject address street. |
| ClientCity | string | Subject address city. |
| ClientZip | string | Subject address postal code. |
| ClientCountry | string | Subject address country (ISO code). |
| ClientHasDeliveryAddress | bool | Enable delivery address. |
| ClientDeliveryName | string | Subject company delivery name. |
| ClientDeliveryStreet | string | Subject delivery address street. |
| ClientDeliveryCity | string | Subject delivery address city. |
| ClientDeliveryZip | string | Subject delivery address postal code. |
| ClientDeliveryCountry | string | Subject delivery address country (ISO code). |
| ClientRegistrationNo | string | Subject registration number. |
| ClientVatNo | string | Subject VAT number. |
| ClientLocalVatNo | string | Subject SK DIČ (only for Slovakia, does not start with country code). |
| SubjectId | int | Subject ID. |
| SubjectCustomId | string | Subject identifier in your application. |
| GeneratorId | int? | Generator ID from which the document was generated. |
| RelatedId | int? | ID of related document. |
| Paypal | bool | Enable PayPal payment button on invoice. |
| Gopay | bool | Enable GoPay payment button on invoice. |
| Token | string | Token string for the webinvoice URL. |
| Status | string | Current state of the document. Values: open, sent, overdue, paid, cancelled, uncollectible |
| OrderNumber | string | Order number in your application. |
| IssuedOn | DateTime? | Date of issue. |
| TaxableFulfillmentDue | string | Chargeable event date. |
| Due | int? | Number of days until the invoice becomes overdue. |
| DueOn | DateTime | Date when the invoice becomes overdue. |
| SentAt | DateTime | Date and time of sending the document via email. |
| PaidOn | DateTime | Date when the document was marked as paid. |
| ReminderSentAt | DateTime | Date and time of sending a reminder. |
| CancelledAt | DateTime | Date and time when the invoice was cancelled (only for non-VAT-payers). |
| UncollectibleAt | DateTime | Date and time when an invoice was marked as uncollectible. |
| LockedAt | DateTime | Date and time when the document was locked. |
| WebinvoiceSeenOn | DateTime | Date when the client visited the webinvoice. |
| Note | string | Text before lines. |
| FooterNote | string | Invoice footer. |
| PrivateNote | string | Private note. |
| Tags | List | List of tags. |
| BankAccountId | int? | Bank account ID (used only on create action). |
| BankAccount | string | Bank account number. |
| Iban | string | IBAN. |
| SwiftBic | string | BIC (for SWIFT payments). |
| IbanVisibility | string | Controls IBAN visibility on the document webinvoice and PDF. Values: automatically, always |
| ShowAlreadyPaidNoteInPdf | bool | Show „Do not pay, …“ on document webinvoice and PDF. |
| PaymentMethod | string | Payment method. Values: bank, cash, cod, card, paypal, custom |
| CustomPaymentMethod | string | Custom payment method. |
| HideBankAccount | bool | Hide bank account on webinvoice and PDF. |
| Currency | string | Currency ISO code. |
| ExchangeRate | decimal? | Exchange rate (required if document currency differs from account currency). |
| Language | string | Language of the document. Values: cz, sk, en, de, fr, it, es, ru, pl, hu, ro |
| TransferredTaxLiability | bool | Use reverse charge. |
| SupplyCode | string | Supply code for statement about invoices in reverse charge. |
| Oss | string | Use OSS mode. Values: disabled, service, goods |
| VatPriceMode | string | Calculate VAT from base or final amount. Values: without_vat, from_total_with_vat |
| RoundTotal | bool | Round total amount (VAT included). |
| Subtotal | decimal? | Total without VAT. |
| Total | decimal? | Total with VAT. |
| NativeSubtotal | decimal? | Total without VAT in the account currency. |
| NativeTotal | decimal? | Total with VAT in the account currency. |
| RemainingAmount | decimal? | Remaining amount to pay (VAT included). |
| RemainingNativeAmount | decimal? | Remaining amount to pay in the account currency (VAT included). |
| Lines | List<FakturoidLine> | List of lines to invoice. |
| VatRatesSummary | List<FakturoidVatRateSummary> | VAT rates summary. |
| PaidAdvances | List<FakturoidInvoicePaidAdvance> | List of paid advances (if final invoice). |
| Payments | List<FakturoidInvoicePayment> | List of payments. |
| Attachments | List<FakturoidAttachment> | List of attachments. |
| HtmlUrl | string | Document HTML web address. |
| PublicHtmlUrl | string | Webinvoice web address. |
| Url | string | Document API address. |
| PdfUrl | string | PDF download address. |
| SubjectUrl | string | Subject API address. |
| CreatedAt | DateTimeOffset | Date and time of document creation. |
| UpdatedAt | DateTimeOffset | Date and time of last document update. |
Namespace: Altairis.Fakturoid.Client.Models
Invoice message
| Name | Type | Summary |
|---|---|---|
| Subject | string | Email subject Default: Inherit from account settings |
| string | Email address Default: Inherit from invoice subject |
|
| EmailCopy | string | Email copy address Default: Inherit from invoice subject |
| Message | string | Email message Default: Inherit from account settings |
| DeliverNow | bool | Deliver e-mail immediately if you are outside of the delivery times set in settings Default: false This option has effect only if you have set e-mail delivery window in Fakturoid settings and you are outside of the given times. If the delivery times are not set or you are in the given window e-mail are always sent immediately. |
Namespace: Altairis.Fakturoid.Client.Models
Paid advance
| Name | Type | Summary |
|---|---|---|
| Id | int | Tax document ID. |
| Number | string | Document number. |
| VariableSymbol | string | Variable symbol. |
| PaidOn | DateTime | Date of payment. |
| VatRate | decimal? | VAT rate. |
| Price | decimal? | Price for given VAT rate. |
| Vat | decimal? | VAT for given VAT rate. |
Namespace: Altairis.Fakturoid.Client.Models
Invoice payment data.
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid. |
| PaidOn | DateTime | Payment date. Default: Today |
| Currency | string | Currency ISO Code (same as invoice currency). |
| Amount | decimal | Paid amount in document currency. Default: Remaining amount to pay |
| NativeAmount | decimal? | Paid amount in account currency. Default: Remaining amount to pay converted to account currency |
| MarkDocumentAsPaid | bool | Mark document as paid? Default: true if the total paid amount becomes greater or equal to remaining amount to pay |
| ProformaFollowupDocument | string | Issue a followup document with payment. Only for proformas and mark_document_as_paid must be true. Values: final_invoice_paid, final_invoice, tax_document, none |
| SendThankYouEmail | bool | Send thank-you email? mark_document_as_paid must be true Default: Inherit from account settings |
| VariableSymbol | string | Payment variable symbol. Default: Invoice variable symbol |
| BankAccountId | int? | Bank account ID. Default: Invoice bank account or default bank account |
| TaxDocumentId | int? | Tax document ID (if present). |
| CreatedAt | DateTimeOffset | The date and time of payment creation. |
| UpdatedAt | DateTimeOffset | The date and time of last payment update. |
Namespace: Altairis.Fakturoid.Client.Models
Legacy bank account details
| Name | Type | Summary |
|---|---|---|
| BankAccount | string | Bank account number |
| Iban | string | IBAN |
| SwiftBic | string | BIC (for SWIFT payments) |
Namespace: Altairis.Fakturoid.Client.Models
Invoice line.
| Name | Type | Summary |
|---|---|---|
| Id | int? | Unique identifier in Fakturoid. |
| Name | string | Line name. |
| Quantity | decimal | Quantity. |
| UnitName | string | Unit name. |
| UnitPrice | decimal | Unit price. |
| VatRate | decimal | VAT rate. |
| UnitPriceWithoutVat | decimal | Unit price without VAT. |
| UnitPriceWithVat | decimal | Unit price including VAT. |
| TotalPriceWithoutVat | decimal | Total price without VAT. |
| TotalVat | decimal | Total VAT. |
| NativeTotalPriceWithoutVat | decimal | Total price without VAT in account currency. |
| NativeTotalVat | decimal | Total VAT in account currency. |
| InventoryItemId | int? | ID of the related inventory item. |
| Sku | string | Stock Keeping Unit (SKU). |
| Inventory | FakturoidInventory | Inventory information. |
Namespace: Altairis.Fakturoid.Client.Models
Invoice number format.
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid. |
| Format | string | Format. |
| Preview | string | Preview of number format. |
| Default | bool | Default number format. |
| CreatedAt | DateTimeOffset | Date and time of number format creation. |
| UpdatedAt | DateTimeOffset | Date and time of last number format update. |
Namespace: Altairis.Fakturoid.Client.Models
Represents an object related to the event.
| Name | Type | Summary |
|---|---|---|
| Type | string | Type of the object related to the event Values: Invoice, Subject, Expense, Generator, RecurringGenerator, ExpenseGenerator, Estimate |
| Id | int | ID of the object related to event |
Namespace: Altairis.Fakturoid.Client.Models
Subject (contact).
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid |
| CustomId | string | Identifier in your application |
| UserId | int | User ID who created the subject |
| Type | string | Type of subject. Values: "customer", "supplier", "both". Default: "customer" |
| Name | string | Name of the subject |
| FullName | string | Contact person name |
| string | Main email address to receive invoice emails | |
| EmailCopy | string | Email copy address to receive invoice emails |
| Phone | string | Phone number |
| Web | string | Web page |
| Street | string | Street |
| City | string | City |
| Zip | string | ZIP or postal code |
| Country | string | Country (ISO code). Default: Account setting |
| HasDeliveryAddress | bool | Enable delivery address. Default: false |
| DeliveryName | string | Delivery address name |
| DeliveryStreet | string | Delivery address street |
| DeliveryCity | string | Delivery address city |
| DeliveryZip | string | Delivery address ZIP or postal code |
| DeliveryCountry | string | Delivery address country (ISO code). Default: Account setting |
| Due | int? | Number of days until an invoice is due for this subject. Default: Inherit from account settings |
| Currency | string | Currency (ISO code). Default: Inherit from account settings |
| Language | string | Invoice language. Default: Inherit from account settings |
| PrivateNote | string | Private note |
| RegistrationNo | string | Registration number (IČO) |
| VatNo | string | VAT-payer VAT number (DIČ, IČ DPH in Slovakia, typically starts with the country code) |
| LocalVatNo | string | SK DIČ (only in Slovakia, does not start with country code) |
| Unreliable | bool | Unreliable VAT-payer |
| UnreliableCheckedAt | DateTime? | Date of last check for unreliable VAT-payer |
| LegalForm | string | Legal form |
| VatMode | string | VAT mode |
| BankAccount | string | Bank account number |
| Iban | string | IBAN |
| SwiftBic | string | SWIFT/BIC |
| VariableSymbol | string | Fixed variable symbol (used for all invoices for this client instead of invoice number) |
| SettingUpdateFromAres | string | Whether to update subject data from ARES. Used to override account settings. Values: inherit, on, off. Default: inherit |
| AresUpdate | bool | Whether to update subject data from ARES. Used to override account settings. Default: true. Deprecated in favor of setting_update_from_ares |
| SettingInvoicePdfAttachments | string | Whether to attach invoice PDF in email. Used to override account settings. Values: inherit, on, off. Default: inherit |
| SettingEstimatePdfAttachments | string | Whether to attach estimate PDF in email. Used to override account settings. Values: inherit, on, off. Default: inherit |
| SettingInvoiceSendReminders | string | Whether to send overdue invoice email reminders. Used to override account settings. Values: inherit, on, off. Default: inherit |
| SuggestionEnabled | bool | Suggest for documents. Default: true |
| CustomEmailText | string | New invoice custom email text |
| OverdueEmailText | string | Overdue reminder custom email text |
| InvoiceFromProformaEmailText | string | Proforma paid custom email text |
| ThankYouEmailText | string | Thanks for payment custom email text |
| CustomEstimateEmailText | string | Estimate custom email text |
| WebinvoiceHistory | string | Webinvoice history. Values: null, "disabled", "recent", "client_portal". Default: null (inherit from account settings) |
| HtmlUrl | string | Subject HTML web address |
| Url | string | Subject API address |
| CreatedAt | DateTimeOffset | Date and time of subject creation |
| UpdatedAt | DateTimeOffset | Date and time of last subject update |
Namespace: Altairis.Fakturoid.Client.Models
Todo task.
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid. |
| Name | string | Todo name. |
| CreatedAt | DateTimeOffset | Date and time of todo creation. |
| CompletedAt | DateTime? | Date and time of todo completion. |
| Text | string | Todo text. |
| RelatedObjects | List<FakturoidRelatedObject> | Attributes of objects related to the todo. |
| Params | Object | Parameters with details about todo, specific for each type of todo. |
Namespace: Altairis.Fakturoid.Client.Models
User
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid |
| FullName | string | User full name |
| string | User email | |
| AvatarUrl | string | User avatar URL |
| DefaultAccount | string | Default account slug (Only on the /user.json endpoint) |
| Permission | string | User permission for the current account |
| AllowedScope | List | List of allowed scopes. Values: reports, expenses, invoices |
| Accounts | List<FakturoidUserAccount> | List of accounts the user has access to (Only on the /user.json endpoint) |
Namespace: Altairis.Fakturoid.Client.Models
User account information.
| Name | Type | Summary |
|---|---|---|
| Slug | string | Account URL slug. Goes to https://app.fakturoid.cz/api/v3/accounts/{slug}/… |
| Logo | string | Account logo URL. |
| Name | string | Account name. |
| RegistrationNo | string | Account registration number. |
| Permission | string | Current user account permission. |
| AllowedScope | string[] | List of allowed scopes for current user. Values: reports, expenses, invoices |
Namespace: Altairis.Fakturoid.Client.Models
VAT rate summary.
| Name | Type | Summary |
|---|---|---|
| VatRate | decimal | VAT rate. |
| Base | decimal | Base total. |
| Vat | decimal | VAT total. |
| Currency | string | Currency. |
| NativeBase | decimal | Base total in account currency. |
| NativeVat | decimal | VAT total in account currency. |
| NativeCurrency | string | Account currency. |
Namespace: Altairis.Fakturoid.Client.Models
Webhook
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid |
| WebhookUrl | string | URL of webhook endpoint |
| AuthHeader | string | Value send in Authorization header |
| Active | bool | Send webhook? |
| Events | List | List of events when webhook is fired |
| Url | string | Webhook API address |
| CreatedAt | DateTimeOffset | Date and time of webhook creation |
| UpdatedAt | DateTimeOffset | Date and time of last webhook update |
Namespace: Altairis.Fakturoid.Client.Models
Recurring invoice generator.
| Name | Type | Summary |
|---|---|---|
| Id | int | Unique identifier in Fakturoid. |
| CustomId | string | Identifier in your application. |
| Name | string | Generator name. |
| Active | bool | Generator is active or paused. |
| Proforma | bool | Issue invoice as a proforma. |
| Paypal | bool | Show PayPal pay button on invoice. |
| Gopay | bool | Show GoPay pay button on invoice. |
| StartDate | DateTime | Start date. |
| EndDate | DateTime | End date. |
| MonthsPeriod | int | Number of months until the next invoice. |
| NextOccurrenceOn | DateTime | Next invoice date. |
| LastDayInMonth | bool | Issue an invoice on the last day of the month. |
| TaxDateAtEndOfLastMonth | bool | Set CED at the end of last month. |
| Due | int | Number of days until the invoice is overdue. |
| SendEmail | bool | Send invoice by email. |
| SubjectId | int | Subject ID. |
| NumberFormatId | int | Number format ID. |
| Note | string | Text before invoice lines. |
| FooterNote | string | Text in invoice footer. |
| LegacyBankDetails | FakturoidLegacyBankDetails | Display IBAN, BIC (SWIFT) and bank account number for legacy generators set without bank account ID. |
| BankAccountId | int | Bank account ID. |
| IbanVisibility | string | Controls IBAN visibility on the document webinvoice and PDF. IBAN must be valid to show. |
| Tags | List | List of tags. |
| OrderNumber | string | Order number. |
| Currency | string | Currency ISO code. |
| ExchangeRate | decimal | Exchange rate. |
| PaymentMethod | string | Payment method. |
| CustomPaymentMethod | string | Custom payment method (payment_method attribute must be set to custom, otherwise the custom_payment_method value is ignored and set to null). |
| Language | string | Invoice language. |
| VatPriceMode | string | Calculate VAT from base or final amount. |
| TransferredTaxLiability | bool | Use reverse charge. |
| SupplyCode | int | Supply code for reverse charge. |
| Oss | string | Use OSS mode on invoice. |
| RoundTotal | bool | Round total amount (VAT included). |
| Subtotal | decimal | Total amount without VAT. |
| Total | decimal | Total amount with VAT. |
| NativeSubtotal | decimal | Total amount without VAT in the account currency. |
| NativeTotal | decimal | Total amount with VAT in the account currency. |
| Lines | List<FakturoidLine> | List of lines to invoice. You can use variables for inserting dates to your text. |
| HtmlUrl | string | Generator HTML web address. |
| Url | string | Generator API address. |
| SubjectUrl | string | API address of subject. |
| CreatedAt | DateTimeOffset | Date and time of generator creation. |
| UpdatedAt | DateTimeOffset | Date and time of last generator update. |
Namespace: Altairis.Fakturoid.Client.Proxies
Base class: FakturoidEntityProxy
Proxy class form working with bank accounts
| Name | Type | Summary |
|---|---|---|
| Context | FakturoidContext | Gets the related context. |
| Name | Returns | Summary |
|---|---|---|
| SelectAsync() | Task<IEnumerable<FakturoidBankAccount>> | Gets asynchronously list of all bank accounts. |
Gets asynchronously list of all bank accounts.
Task<IEnumerable<FakturoidBankAccount>>
List of Altairis.Fakturoid.Client.Models.FakturoidBankAccount instances.
Namespace: Altairis.Fakturoid.Client.Proxies
Proxy class for working with any Fakturoid entity
| Name | Type | Summary |
|---|---|---|
| Context | FakturoidContext | Gets the related context. |
Namespace: Altairis.Fakturoid.Client.Proxies
Base class: FakturoidEntityProxy
Proxy class for working with events
| Name | Type | Summary |
|---|---|---|
| Context | FakturoidContext | Gets the related context. |
| Name | Returns | Summary |
|---|---|---|
| SelectAsync(DateTimeOffset? since, int? subjectId) | Task<IEnumerable<FakturoidEvent>> | Gets asynchronously list of all current events. |
| SelectAsync(int page, DateTimeOffset? since) | Task<IEnumerable<FakturoidEvent>> | Gets asynchronously list of current events, paged by 40. |
Gets asynchronously list of all current events.
| Parameter | Type | Description |
|---|---|---|
| since | DateTimeOffset? | The date since when events are to be selected. |
| subjectId | int? | The ID of the subject to filter events by. |
Task<IEnumerable<FakturoidEvent>>
List of Altairis.Fakturoid.Client.Models.FakturoidEvent instances.
Gets asynchronously list of current events, paged by 40.
| Parameter | Type | Description |
|---|---|---|
| page | int | The page number. |
| since | DateTimeOffset? | The date since when events are to be selected. |
Task<IEnumerable<FakturoidEvent>>
List of Altairis.Fakturoid.Client.Models.FakturoidEvent instances.
Namespace: Altairis.Fakturoid.Client.Proxies
Base class: FakturoidEntityProxy
Proxy class for working with invoices.
| Name | Type | Summary |
|---|---|---|
| Context | FakturoidContext | Gets the related context. |
| Name | Returns | Summary |
|---|---|---|
| Cancel(int invoiceId) | Task | Cancels the specified invoice asynchronously. |
| CreateAsync(FakturoidInvoice entity) | Task | Creates asynchronously the specified new invoice. |
| CreatePaymentAsync(int invoiceId, FakturoidInvoicePayment entity) | Task | Creates asynchronously a payment for specified invoice. |
| DeleteAsync(int id) | Task | Deletes asynchronously invoice with specified id. |
| DeleteInvoicePaymentAsync(int invoiceId, int paymentId) | Task | Deletes asynchronously the specified invoice payment. |
| DownloadAttachment(int invoiceId, int attachmentId) | Task<byte[]> | Downloads the attachment for the specified invoice asynchronously. |
| DownloadPdfAsync(int id) | Task<byte[]> | Downloads the PDF representation of the specified invoice asynchronously. |
| LockAsync(int invoiceId) | Task | Locks the specified invoice asynchronously. |
| MarkAsSent(int invoiceId) | Task | Marks the specified invoice as sent asynchronously. |
| MarkAsUncollectibleAsync(int invoiceId) | Task | Marks the specified invoice as uncollectible asynchronously. |
| SearchAsync(string query) | Task<IEnumerable<FakturoidInvoice>> | Searches asynchronously for invoices based on the specified query. |
| SearchAsync(int page, string query) | Task<IEnumerable<FakturoidInvoice>> | Searches asynchronously for invoices based on the specified query. |
| SelectAsync(DateTimeOffset? since, DateTimeOffset? until, DateTimeOffset? updatedSince, DateTimeOffset? updatedUntil, int? subjectId, string customId, string number, InvoiceStatusCondition status, InvoiceTypeCondition documentType) | Task<IEnumerable<FakturoidInvoice>> | Selects asynchronously a list of invoices based on the specified conditions. |
| SelectAsync(int page, DateTimeOffset? since, DateTimeOffset? until, DateTimeOffset? updatedSince, DateTimeOffset? updatedUntil, int? subjectId, string customId, string number, InvoiceStatusCondition status, InvoiceTypeCondition documentType) | Task<IEnumerable<FakturoidInvoice>> | Selects asynchronously a paged list of invoices based on the specified conditions. |
| SelectSingleAsync(int id) | Task<FakturoidInvoice> | Selects asynchronously single invoice with specified ID. |
| UndoCancelAsync(int invoiceId) | Task | Reverts the cancellation of the specified invoice asynchronously. |
| UndoUncollectibleAsync(int invoiceId) | Task | Reverts the uncollectible status of the specified invoice asynchronously. |
| UnlockAsync(int invoiceId) | Task | Unlocks the specified invoice asynchronously. |
| UpdateAsync(FakturoidInvoice entity) | Task<FakturoidInvoice> | Updates asynchronously the specified invoice. |
Cancels the specified invoice asynchronously.
| Parameter | Type | Description |
|---|---|---|
| invoiceId | int | The ID of the invoice to cancel. |
Task
Creates asynchronously the specified new invoice.
| Parameter | Type | Description |
|---|---|---|
| entity | FakturoidInvoice | The new invoice. |
Task
ID of newly created invoice.
Creates asynchronously a payment for specified invoice.
| Parameter | Type | Description |
|---|---|---|
| invoiceId | int | |
| entity | FakturoidInvoicePayment |
Task
Deletes asynchronously invoice with specified id.
| Parameter | Type | Description |
|---|---|---|
| id | int | The contact id. |
Task
Deletes asynchronously the specified invoice payment.
| Parameter | Type | Description |
|---|---|---|
| invoiceId | int | |
| paymentId | int |
Task
Downloads the attachment for the specified invoice asynchronously.
| Parameter | Type | Description |
|---|---|---|
| invoiceId | int | The ID of the invoice. |
| attachmentId | int | The ID of the attachment. |
Task<byte[]>
A task that represents the asynchronous operation. The task result contains the attachment file as a byte array.
Downloads the PDF representation of the specified invoice asynchronously.
| Parameter | Type | Description |
|---|---|---|
| id | int | The ID of the invoice to download. |
Task<byte[]>
A task that represents the asynchronous operation. The task result contains the PDF file as a byte array or null, if file is not ready yet. If file is not ready, try again in a second or two.
Locks the specified invoice asynchronously.
| Parameter | Type | Description |
|---|---|---|
| invoiceId | int | The ID of the invoice to lock. |
Task
Marks the specified invoice as sent asynchronously.
| Parameter | Type | Description |
|---|---|---|
| invoiceId | int | The ID of the invoice to mark as sent. |
Task
Marks the specified invoice as uncollectible asynchronously.
| Parameter | Type | Description |
|---|---|---|
| invoiceId | int | The ID of the invoice to mark as uncollectible. |
Task
Searches asynchronously for invoices based on the specified query.
| Parameter | Type | Description |
|---|---|---|
| query | string | The search query string. |
Task<IEnumerable<FakturoidInvoice>>
A task that represents the asynchronous operation. The task result contains a list of Altairis.Fakturoid.Client.Models.FakturoidInvoice instances that match the search query.
Searches asynchronously for invoices based on the specified query.
| Parameter | Type | Description |
|---|---|---|
| page | int | The page number. |
| query | string | The search query string. |
Task<IEnumerable<FakturoidInvoice>>
A task that represents the asynchronous operation. The task result contains a list of Altairis.Fakturoid.Client.Models.FakturoidInvoice instances that match the search query.
SelectAsync(DateTimeOffset? since, DateTimeOffset? until, DateTimeOffset? updatedSince, DateTimeOffset? updatedUntil, int? subjectId, string customId, string number, InvoiceStatusCondition status, InvoiceTypeCondition documentType)
Selects asynchronously a list of invoices based on the specified conditions.
| Parameter | Type | Description |
|---|---|---|
| since | DateTimeOffset? | The date from which to start listing invoices. |
| until | DateTimeOffset? | The date until which to list invoices. |
| updatedSince | DateTimeOffset? | The date from which to start listing updated invoices. |
| updatedUntil | DateTimeOffset? | The date until which to list updated invoices. |
| subjectId | int? | The ID of the subject (customer) to filter invoices. |
| customId | string | The custom ID to filter invoices. |
| number | string | The invoice number to filter invoices. |
| status | InvoiceStatusCondition | The status condition to filter invoices. |
| documentType | InvoiceTypeCondition | The document type condition to filter invoices. |
Task<IEnumerable<FakturoidInvoice>>
A task that represents the asynchronous operation. The task result contains a list of Altairis.Fakturoid.Client.Models.FakturoidInvoice instances.
SelectAsync(int page, DateTimeOffset? since, DateTimeOffset? until, DateTimeOffset? updatedSince, DateTimeOffset? updatedUntil, int? subjectId, string customId, string number, InvoiceStatusCondition status, InvoiceTypeCondition documentType)
Selects asynchronously a paged list of invoices based on the specified conditions.
| Parameter | Type | Description |
|---|---|---|
| page | int | The page number. |
| since | DateTimeOffset? | The date from which to start listing invoices. |
| until | DateTimeOffset? | The date until which to list invoices. |
| updatedSince | DateTimeOffset? | The date from which to start listing updated invoices. |
| updatedUntil | DateTimeOffset? | The date until which to list updated invoices. |
| subjectId | int? | The ID of the subject (customer) to filter invoices. |
| customId | string | The custom ID to filter invoices. |
| number | string | The invoice number to filter invoices. |
| status | InvoiceStatusCondition | The status condition to filter invoices. |
| documentType | InvoiceTypeCondition | The document type condition to filter invoices. |
Task<IEnumerable<FakturoidInvoice>>
A task that represents the asynchronous operation. The task result contains a list of Altairis.Fakturoid.Client.Models.FakturoidInvoice instances.
Selects asynchronously single invoice with specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | int | The invoice id. |
Task<FakturoidInvoice>
Instance of Altairis.Fakturoid.Client.Models.FakturoidInvoice class.
Reverts the cancellation of the specified invoice asynchronously.
| Parameter | Type | Description |
|---|---|---|
| invoiceId | int | The ID of the invoice to undo cancellation. |
Task
Reverts the uncollectible status of the specified invoice asynchronously.
| Parameter | Type | Description |
|---|---|---|
| invoiceId | int | The ID of the invoice to undo uncollectible status. |
Task
Unlocks the specified invoice asynchronously.
| Parameter | Type | Description |
|---|---|---|
| invoiceId | int | The ID of the invoice to unlock. |
Task
Updates asynchronously the specified invoice.
| Parameter | Type | Description |
|---|---|---|
| entity | FakturoidInvoice | The invoice to update. |
Task<FakturoidInvoice>
Instance of Altairis.Fakturoid.Client.Models.FakturoidInvoice class with modified entity.
Namespace: Altairis.Fakturoid.Client.Proxies
Base class: FakturoidEntityProxy
Proxy class for working with number formats
| Name | Type | Summary |
|---|---|---|
| Context | FakturoidContext | Gets the related context. |
| Name | Returns | Summary |
|---|---|---|
| SelectAsync() | Task<IEnumerable<FakturoidNumberFormat>> | Gets asynchronously list of all number formats. |
Gets asynchronously list of all number formats.
Task<IEnumerable<FakturoidNumberFormat>>
List of Altairis.Fakturoid.Client.Models.FakturoidNumberFormat instances.
Namespace: Altairis.Fakturoid.Client.Proxies
Base class: FakturoidEntityProxy
Proxy class for working with subjects/contacts.
| Name | Type | Summary |
|---|---|---|
| Context | FakturoidContext | Gets the related context. |
| Name | Returns | Summary |
|---|---|---|
| CreateAsync(FakturoidSubject entity) | Task | Creates asynchronously the specified new subject. |
| DeleteAsync(int id) | Task | Deletes asynchronously with specified id. |
| SearchAsync(string query) | Task<IEnumerable<FakturoidSubject>> | Searches asynchronously all Subjects in Name, Full name, Email, Email copy, Registration number, VAT number and Private note. |
| SearchAsync(int page, string query) | Task<IEnumerable<FakturoidSubject>> | Searches asynchronously all Subjects in Name, Full name, Email, Email copy, Registration number, VAT number and Private note with pagination. |
| SelectAsync(DateTime? createdSince, DateTimeOffset? updatedSince, string customId) | Task<IEnumerable<FakturoidSubject>> | Gets asynchronously list of all subjects. |
| SelectAsync(int page, DateTime? createdSince, DateTimeOffset? updatedSince, string customId) | Task<IEnumerable<FakturoidSubject>> | Gets asynchronously paged list of subjects |
| SelectSingleAsync(int id) | Task<FakturoidSubject> | Selects asynchronously single subject with specified ID. |
| UpdateAsync(FakturoidSubject entity) | Task<FakturoidSubject> | Updates asynchronously the specified subject. |
Creates asynchronously the specified new subject.
| Parameter | Type | Description |
|---|---|---|
| entity | FakturoidSubject | The new subject. |
Task
ID of newly created subject.
Deletes asynchronously with specified id.
| Parameter | Type | Description |
|---|---|---|
| id | int | The contact id. |
Task
Searches asynchronously all Subjects in Name, Full name, Email, Email copy, Registration number, VAT number and Private note.
| Parameter | Type | Description |
|---|---|---|
| query | string | Search string. |
Task<IEnumerable<FakturoidSubject>>
Collection of search results.
Searches asynchronously all Subjects in Name, Full name, Email, Email copy, Registration number, VAT number and Private note with pagination.
| Parameter | Type | Description |
|---|---|---|
| query | int | Search string. |
| page | string | The page number. |
Task<IEnumerable<FakturoidSubject>>
Collection of search results.
Gets asynchronously list of all subjects.
| Parameter | Type | Description |
|---|---|---|
| customId | DateTime? | The custom identifier used for filtering. |
| createdSince | DateTimeOffset? | List only subjects created since certain date. |
| updatedSince | string | List only subjects updated since certain date. |
Task<IEnumerable<FakturoidSubject>>
List of Altairis.Fakturoid.Client.Models.FakturoidSubject instances.
Gets asynchronously paged list of subjects
| Parameter | Type | Description |
|---|---|---|
| page | int | The page number. |
| createdSince | DateTime? | List only subjects created since certain date. |
| updatedSince | DateTimeOffset? | List only subjects updated since certain date. |
| customId | string | The custom identifier used for filtering. |
Task<IEnumerable<FakturoidSubject>>
List of Altairis.Fakturoid.Client.Models.FakturoidSubject instances.
Selects asynchronously single subject with specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | int | The subject id. |
Task<FakturoidSubject>
Instance of Altairis.Fakturoid.Client.Models.FakturoidSubject class.
Updates asynchronously the specified subject.
| Parameter | Type | Description |
|---|---|---|
| entity | FakturoidSubject | The subject to update. |
Task<FakturoidSubject>
Instance of Altairis.Fakturoid.Client.Models.FakturoidSubject class with modified entity.
Namespace: Altairis.Fakturoid.Client.Proxies
Base class: FakturoidEntityProxy
Proxy class for working with todo tasks.
| Name | Type | Summary |
|---|---|---|
| Context | FakturoidContext | Gets the related context. |
| Name | Returns | Summary |
|---|---|---|
| SelectAsync(DateTimeOffset? since) | Task<IEnumerable<FakturoidTodo>> | Gets asynchronously list of all current todos. |
| SelectAsync(int page, DateTimeOffset? since) | Task<IEnumerable<FakturoidTodo>> | Gets asynchronously paged list of current todos |
| ToggleCompletion(int id) | Task<FakturoidTodo> | Toggles the completion status of a todo task asynchronously. |
Gets asynchronously list of all current todos.
| Parameter | Type | Description |
|---|---|---|
| since | DateTimeOffset? | The date since when todos are to be selected. |
Task<IEnumerable<FakturoidTodo>>
List of Altairis.Fakturoid.Client.Models.FakturoidTodo instances.
Gets asynchronously paged list of current todos
| Parameter | Type | Description |
|---|---|---|
| page | int | The page number. |
| since | DateTimeOffset? | The date since when todos are to be selected. |
Task<IEnumerable<FakturoidTodo>>
List of Altairis.Fakturoid.Client.Models.FakturoidTodo instances.
Toggles the completion status of a todo task asynchronously.
| Parameter | Type | Description |
|---|---|---|
| id | int | The ID of the todo task to toggle. |
Task<FakturoidTodo>
The updated Altairis.Fakturoid.Client.Models.FakturoidTodo instance.
Namespace: Altairis.Fakturoid.Client.Proxies
Query status condition for listing invoices
| Name | Summary |
|---|---|
| Any | Any status of invoice |
| Open | Invoice is issued without being paid, sent, overdue or in any other state |
| Sent | Invoice was sent and is not overdue |
| Overdue | Invoice is overdue |
| Paid | Invoice is paid |
| Cancelled | Invoice is cancelled (only for VAT-payers) |
| Uncollectible | Invoice can no longer be paid and is thus uncollectible |
Namespace: Altairis.Fakturoid.Client.Proxies
Query invoice type condition for listing invoices.
| Name | Summary |
|---|---|
| Any | Any type of invoice. |
| Regular | Regular invoice. |
| Proforma | Proforma invoice. |
| Correction | Correction invoice. |
| TaxDocument | Tax document invoice. |