using AvvaMobile.Core.Parasut;
var parasut = new Parasut(
"USERNAME", "PASSWORD",
"CLIENT ID", "CLIENT SECRET", "COMPANY ID");
var response = await parasut.Customer.Create(model);
if (response.IsSuccess)
Console.WriteLine(response.Data?.data?.id);
else
Console.WriteLine(response.Message);Highlights
Automatic token management
The token is cached inside the client and only renewed before it expires. You never fetch a token before calling a service.
Common result envelope
Every service returns a common envelope with IsSuccess, Message, Errors and typed Data.
Customers, products, invoices
List, get, create, edit and delete for customers, products and sales invoices, plus invoice payments and customer collections.
E-invoice and e-archive
Convert invoices to e-invoices or e-archive invoices, fetch the official document and its PDF, and track job status.
No external dependencies
HTTP uses HttpClient and JSON uses System.Text.Json. Bring your own HttpClient via IHttpClientFactory.
Cancellation support
Every service method accepts an optional CancellationToken.
Supported services
- Customer: customers and suppliers
- Product: products and services
- Invoice and InvoicePayment: sales invoices and their payments
- CustomerPayment: customer payments and collections
- EInvoiceInbox, EInvoice, EArchive: e-invoice inbox, e-invoice and e-archive
- TrackableJob: e-invoice / e-archive job status
Requirements
Getting started
- 1Add the package: dotnet add package AvvaMobile.Core.Parasut
- 2Create the Parasut client with your credentials and keep it as a singleton.
- 3Call the service methods; the token is fetched automatically.
Licence: MIT
Open source · MIT licence
More projects
All projectsAvva Mobile Sidekick
A voice-first AI development desktop app that puts a ChatGPT conversation and a Claude Code terminal side by side, one pair per project.
ChatGPT Tabs
A Chrome-style tabbed desktop client for the ChatGPT web app, on macOS and Windows.
Teleport
A tiny native macOS menu bar utility for vertically stacked monitors of different widths.
