ArubaFatturazioneElettronica.NET
1.0.0
dotnet add package ArubaFatturazioneElettronica.NET --version 1.0.0
NuGet\Install-Package ArubaFatturazioneElettronica.NET -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ArubaFatturazioneElettronica.NET" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ArubaFatturazioneElettronica.NET --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ArubaFatturazioneElettronica.NET, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ArubaFatturazioneElettronica.NET as a Cake Addin #addin nuget:?package=ArubaFatturazioneElettronica.NET&version=1.0.0 // Install ArubaFatturazioneElettronica.NET as a Cake Tool #tool nuget:?package=ArubaFatturazioneElettronica.NET&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ArubaFatturazioneElettronica.NET
github repo: https://github.com/lorenzobasoc/ArubaFatturazioneElettronica.NET
ArubaFatturazioneElettronica.NET is a Aruba Fatturazione Elettronica API client for C# developers.
🔧 Installation
- .NET CLI
dotnet add package ArubaFatturazioneElettronica.NET
- Package Manager Console
Install-Package ArubaFatturazioneElettronica.NET
🚀 How to use it
class Program
{
static async Task Main(string[] args) {
var client = new ArubaApi("username", "password");
// Get user's infos
var userInfo = await arubaApi.Auth.GetUserInfo();
// Get transmission info request
var multicedente = await arubaApi.FinancialCommunications.GetTransmissionInfoRequest(
new GetTransmissionInfoReqDto {
UserName = "username2",
Password = "psw",
RequestID = "976",
}
);
// Search sent invoices pdd
var stream = await arubaApi.SearchSentInvoices.Pdd("IT01879020517A2024_aaa2m.xml.p7m", null);
var fileStreamResult = new FileStreamResult(stream.Result, "application/zip") {
FileDownloadName = "pdd.zip",
};
// Upload invoice
var response = await arubaApi.SendInvoices.UploadInvoice(new UploadInvoiceReqDto {
Data = new InoviceDataDto {
IsPaInvoice = false,
TransportCost = 12.3M,
Items = [
new ItemDto {
Description = "description 1",
Quantity = 3,
MeasureUnit = "NR",
UnitPrice = 21.00M,
Vat = VatTypes.VENTIDUE,
},
new ItemDto {
Description = "description 2",
Quantity = 4,
MeasureUnit = "pz",
UnitPrice = 22247,
Vat = VatTypes.DIECI,
},
],
CustomerData = new CustomerDataDto {
VatNumOrFiscalCode = "11111111112",
Country = "IT",
Denomination = "Customer Denomination",
SiteStreet = "viale Trieste 34",
},
TransmissionData = new TransmissionDataDto {
TransmitterCountry = "IT",
TransmitterVatCode = "01879020517",
..
},
SupplierData = new SupplierDataDto {
SupplierCountry = "IT",
SupplierVat = "00123456787",
SupplierName = "Name",
...
},
GeneralData = new GeneralDataDto {
DocumentType = "TD01",
...
},
PaymentData = new PaymentDataDto {
PaymentConditions = "TP02",
...
},
},
});
}
}
🧰 All covered API endpoints
Auth
- userInfo
- multicedenti
- multicedenteById
Comunicazioni finanziarie
- CreateTransmissionRequest
- GetTransmissionInfoRequest
- pdd
Invio Fatture Elettroniche
- upload
- uploadSigned
Ricerca Fatture Inviate
- findByUsername
- getByFilename
- getZipByFilename
- getByInvoiceId
- getByIdSdi
- pdd
Ricerca Fatture Ricevute
- findByUsername
- getByFilename
- getZipByFilename
- getByIdSdi
- getInvoiceWithUnsignedFile
- pdd
Invio Esito Committente
- sendEsitoCommittente
- Stato sendEsitoCommittente
Ricerca Notifiche su Fatture Inviate
- getByFilename
- getByInvoiceFilename
- getByInvoiceId
Ricerca Notifiche su Fatture Ricevute
- getByFilename
- getByInvoiceFilename
- getByInvoiceId
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 137 | 8/9/2024 |