@extends('layouts.app') @section('content') {{-- Hero --}}
Add-On Plugin

Agency Pulse Line Item Tax Rates

Extends the base Agency Pulse Invoice plugin with granular tax control at the individual line item level โ€” supporting multi-tax assignments, real-time calculations, and seamless integration with the invoice builder.

Agency Pulse Line Item Tax Rates Plugin
{{-- Feature Groups --}}
{{-- Per-Item Tax Assignment --}}

๐Ÿงพ Per-Item Tax Assignment

  • Granular Tax Control: Assign specific tax rates to individual line items within an invoice, rather than applying a single tax rate to the entire subtotal.
  • Multi-Tax Support: Ability to assign multiple tax rates to a single line item (e.g., combining state and local taxes, or VAT and GST where applicable).
  • Tag-Based Selector UI: Features a modern, tag-like interface (pills/tags) within the invoice builder for intuitive selection and clear visualization of assigned taxes.
  • Dynamic AJAX Loading: Available tax rates are fetched in real-time via AJAX from the global system settings, ensuring the selector is always up-to-date.
{{-- Intelligent Calculation Engine --}}

๐Ÿงฎ Intelligent Calculation Engine

  • Weighted Subtotal Calculations: The plugin’s core engine calculates taxes based only on the line items they are assigned to, ensuring precision for complex billing scenarios.
  • Automated Tax Aggregation: Automatically groups and sums taxes by rate for the invoice totals section, providing a clear breakdown for both the sender and the client.
  • Frontend & Email Synchronization: Custom filters ensure that per-item tax calculations are accurately reflected in the public invoice view, downloadable PDFs, and automated notification emails.
  • Legacy Value Support: Maintains backward compatibility by automatically migrating and supporting legacy single-tax assignments within the new multi-tax architecture.
{{-- Builder & UI Integration --}}

๐Ÿ—๏ธ Builder & UI Integration

  • Seamless Table Injection: Injects a dedicated “Tax Rate” column directly into the core Agency Pulse Invoice builder line-items table.
  • Real-Time Subtotal Updates: Updates the tax breakdown and grand total dynamically as users modify tax assignments for individual rows.
  • Visual Status Indicators: Provides clear visual feedback within the builder UI to show which items have taxes applied and which remain tax-exempt.
{{-- Dependency & Security --}}

๐Ÿงฉ Dependency & Security

  • Main Plugin Protection: Includes built-in dependency checking to ensure the core Agency Pulse Invoice plugin is active before initializing feature sets.
  • AJAX Security (Nonces): Implements WordPress nonces for all AJAX endpoints to prevent unauthorized access to tax rate data.
  • Data Integrity: Tax assignments are stored as persistent metadata within the invoice’s line item JSON structure, ensuring portability and long-term data retention.
{{-- Ecosystem Compatibility --}}

๐ŸŒ Ecosystem Compatibility

  • Agency Pulse API Integration: Hooks into the apapi_invoice_calculate_taxes service to provide consistent tax calculation logic across the entire Agency Pulse ecosystem.
  • Admin UI Overlays: Adds informative notices and configuration guidance within the invoice editor to assist users in managing complex tax scenarios.
{{-- Bottom CTA --}} @if($product ?? null)

Get {{ $product->name }}

Unlock all the features above for your agency.

${{ number_format($product->price, 2) }} / monthly ${{ number_format($product->price * 10, 2) }} / yearly
@csrf
@endif @endsection