Skip to content

csarcrr/invoicing-integration

Repository files navigation

This package aims to help integrations with invoicing systems

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

About

Invoicing Integration is an agregator of several invoicing softwares in Portugal. We aim to help you use these softwares without the assle of learning every nuance of their API.

Current Features

For a full list of features and capabilities, please see FEATURES.md.

Usage

For more in-depth usage details and examples, please visit the official documentation.

Installation

You can install the package via composer:

composer require csarcrr/invoicing-integration

You can publish the config file with:

php artisan vendor:publish --tag="invoicing-integration-config"

Example

<?php

use CsarCrr\InvoicingIntegration\InvoicingIntegration;
use CsarCrr\InvoicingIntegration\Invoice\InvoiceItem;

$integration = Invoice::create();

$item = new InvoiceItem(reference: 'SKU-001', quantity: 2);
$item->setPrice(1000);
$item->setDescription('Product Description');
$integration->addItem($item);

$invoiceData = $integration->invoice();

Testing

composer test

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Simplified invoicing for the Portuguese industry. Multiple providers, one integration.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors 4

  •  
  •  
  •  
  •  

Languages