C#.NET 6.NET 7.NET 8.NET 10

AvvaMobile.Core.Parasut

Integrate with the Paraşüt API without the low-level plumbing.

AvvaMobile.Core.Parasut is a .NET package that lets developers use the Paraşüt (Turkish cloud accounting) APIs without dealing with low-level details. Authentication, token management, serialisation and error handling are taken care of; you fill in your business model and call the method. It covers Paraşüt's core services, from customers, products and invoices to e-invoice and e-archive.

Program.cs
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

01

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.

02

Common result envelope

Every service returns a common envelope with IsSuccess, Message, Errors and typed Data.

03

Customers, products, invoices

List, get, create, edit and delete for customers, products and sales invoices, plus invoice payments and customer collections.

04

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.

05

No external dependencies

HTTP uses HttpClient and JSON uses System.Text.Json. Bring your own HttpClient via IHttpClientFactory.

06

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

.NET 6, 7, 8 or 10Paraşüt Company ID, username and passwordClient ID and Client Secret from Paraşüt support

Getting started

  1. 1Add the package: dotnet add package AvvaMobile.Core.Parasut
  2. 2Create the Parasut client with your credentials and keep it as a singleton.
  3. 3Call the service methods; the token is fetched automatically.

Licence: MIT

Open source · MIT licence

github.com/AvvaMobile/AvvaMobile.Core.Parasut

Let's Connect

How can we assist you? Please let us know what you have in mind.