experteam/api-laravel-ebilling

Laravel library to manage common operations used in electronic billing processes
1,404
Install
composer require experteam/api-laravel-ebilling
Latest Version:1.3.0
PHP:^8.1 || ^8.2 || ^8.3
License:MIT
Last Updated:Nov 18, 2025
Links: GitHub  ·  Packagist
Maintainer: experteam-mx

API Laravel EBilling

Laravel library to manage common operations used in electronic billing processes. It includes:

  • Document request manager: manage document requests and retrieve them by document ID.

Install

Run the following commands to install:

composer require experteam/api-laravel-ebilling

Update

Run the composer command to update the package:

composer update experteam/api-laravel-ebilling

Use

After installing the package, you should run the migration command to create the necessary tables in your database.

php artisan migrate

this will create the following tables:

  • document_requests

Document Request Manager

You can use the Document Request Manager to store and retrieve document requests:

// Store a document request
$documentRequest = DocumentRequestManager::store($documentId, $service, $observation);

// Get document requests by document ID
$documentRequests = DocumentRequestManager::getByDocumentId($documentId);

API Endpoints

The package provides the following API endpoints:

  • GET /api/document-requests/{documentId}: Get all document requests for a specific document ID.

Example response:

{
  "success": true,
  "data": {
    "requests": [
      {
        "id": 1,
        "document_id": 123,
        "service": "example_service",
        "times": [
          "2025-07-23T18:57:00.000000Z"
        ],
        "observation": "Example observation",
        "created_at": "2025-07-23T18:57:00.000000Z",
        "updated_at": "2025-07-23T18:57:00.000000Z"
      }
    ]
  }
}

License

MIT license.

Related Packages

experteam/api-laravel-base

Library to help with Laravel api Authentication

12,256 0
experteam/api-laravel-crud

Library to help with Laravel api CRUDs definition

12,234 0
experteam/api-laravel-interface

Library to help with Laravel Interfaces Libraries

2,448 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925