Download the PHP package azaharizaman/nexus-receivable without Composer

On this page you can find all versions of the php package azaharizaman/nexus-receivable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nexus-receivable

Nexus\Receivable

Accounts Receivable (A/R) Package for Nexus ERP

Framework-agnostic accounts receivable management handling customer invoicing, payment receipts, credit control, and collections.

📋 Table of Contents

Overview

Nexus\Receivable manages the complete Accounts Receivable lifecycle:

  1. Invoicing: Creating invoices from fulfilled sales orders
  2. Payment Application: Tracking and applying customer payments
  3. Credit Control: Enforcing credit limits before order confirmation
  4. Collections: Automated dunning for overdue invoices
  5. Bad Debt: Write-off procedures with GL integration

Key Features

Installation

Add to your application's composer.json:

Install dependencies:

Required Dependencies

This package requires the following Nexus packages:

Core Concepts

Invoice Lifecycle

Invoice Status Definitions

Status Description Can Receive Payment Contributes to AR Balance
DRAFT Invoice created but not submitted ❌ ❌
PENDING_APPROVAL Awaiting approval ❌ ❌
APPROVED Approved, ready for GL posting ❌ ❌
POSTED GL journal entry created ✅ ✅
PARTIALLY_PAID Some payment received ✅ ✅
PAID Fully paid ❌ ❌
OVERDUE Past due date ✅ ✅
CANCELLED Voided/cancelled ❌ ❌
WRITTEN_OFF Bad debt written off ❌ ❌

Payment Receipt Lifecycle

Architecture

Package Structure

Key Design Patterns

Revenue Recognition

Accrual Basis (Default and Mandatory)

Revenue is recognized on invoice creation (or goods/service delivery), in compliance with IFRS 15/ASC 606.

Revenue Recognition Flow

Why No Cash-Basis Option?

Cash-basis revenue recognition is NOT supported to maintain:

  1. Compliance Integrity: IFRS/GAAP mandate accrual accounting for most entities
  2. Architectural Simplicity: Avoids dual-mode complexity in Finance package
  3. Accurate Financial Reporting: Prevents revenue manipulation

Cash-basis reporting is handled by Nexus\QueryEngine as a reporting view, not a transactional mode.

Payment Allocation Strategies

The package supports multiple strategies for applying payments across open invoices:

1. FIFO Strategy (Default)

First In, First Out - Applies payment to oldest invoice first.

Use Case: Standard practice for most businesses.

2. Proportional Strategy

Distributes payment proportionally across all open invoices.

Use Case: Customer preference for balanced allocation.

3. Manual Strategy

User specifies exact allocation amounts.

Use Case: Specific customer instructions or disputes.

Configuration

Set customer's preferred allocation strategy in Party package:

Credit Limit Enforcement

Credit limits are enforced before sales order confirmation to prevent over-extension of credit.

Individual Customer Limits

Customer Group Limits

For corporate customers with multiple subsidiaries under a single credit umbrella:

Outstanding Balance Calculation

Outstanding balance includes invoices with status:

Formula:

Integration with Sales

The CreditLimitChecker replaces the NoOpCreditLimitChecker stub in Nexus\Sales:

Dunning & Collections

Automated collections workflow for overdue invoices.

Escalation Levels

Days Overdue Level Action Integration
7 First Reminder Email notification Nexus\Notifier
14 Second Reminder Email + phone call flag Nexus\Notifier
30 Final Notice Certified letter Nexus\Notifier + Nexus\Workflow
60+ Collections Credit status change Nexus\Party

Usage

Template Variables

Dunning email templates (managed via Nexus\Notifier) support:

Workflow Integration

The dunning process integrates with Nexus\Workflow:

Multi-Currency Support

Handle payments in different currency than invoice.

Scenario

Processing

Database Storage

GL Posting with FX Gain/Loss

FX Gain/Loss Calculation:

Exchange Rate Source

Exchange rates are retrieved from Nexus\Currency package:

Integration Points

With Nexus\Sales

Trigger: SalesOrderFulfilledEvent

Credit Limit Check:

With Nexus\Finance

GL Posting - Revenue Recognition:

GL Posting - Payment Receipt:

GL Posting - Bad Debt Write-Off:

With Nexus\Party

Customer Entity:

With Nexus\Notifier

Dunning Emails:

With Nexus\Workflow

Collections Escalation:

With Nexus\AuditLogger

All state transitions are logged:

Logged Events:

With Nexus\EventStream (Optional)

For large enterprises requiring payment lifecycle replay:

Usage Examples

Create Invoice from Sales Order

Approve and Post Invoice

Record and Apply Payment

Handle Prepayment (Unapplied Cash)

Generate Aging Report

Write Off Bad Debt

📖 Documentation

Package Documentation

Additional Resources

License

MIT License - see LICENSE file for details.

Support

For issues and questions, please refer to the main Nexus ERP documentation.


Package Version: 1.0.0
Nexus ERP Compatibility: Laravel 12+
PHP Requirement: ^8.3


All versions of nexus-receivable with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
psr/log Version ^3.0
azaharizaman/nexus-currency Version dev-main
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package azaharizaman/nexus-receivable contains the following files

Loading the files please wait ...