Introduction
The Smartbills .NET SDK (Smartbills.SDK) provides a strongly-typed C# client for the Smartbills API. It is designed for server-side .NET applications and covers invoicing, file management, and billing operations.
The .NET SDK currently supports InvoiceClient, FileClient, and BillingClient. Additional service clients (expenses, vendors, reports) will be added in future releases. For broader coverage today, consider the JavaScript SDK or Python SDK.
Features
Quick Start
Install the package
Initialize the client
Create and send an invoice
Architecture
The SDK follows a service-client pattern. Each domain area is accessed through a dedicated client property on the mainSmartbillsClient instance:
long for resource IDs and are fully asynchronous, returning Task<T>. Every method signature includes optional SBRequestOptions and CancellationToken parameters for per-request configuration and cooperative cancellation.
Available Services
InvoiceClient
Full CRUD, send, void, and summary for invoices
FileClient
Retrieve and update files via the Smartbills file service
BillingClient
Checkout sessions, customers, and payment methods
Requirements
Next Steps
Installation
Detailed installation and configuration instructions
Usage Guide
Complete API reference for all service clients