csarcrr/invoicing-integration

This package aims to help integrations with invoicing systems

Fund package maintenance!
:vendor_name

Installs: 35

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/csarcrr/invoicing-integration


README

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.