Share A Refund GL Coding API overview

Overview

The Share A Refund GL Coding API lets you automate the assignment of General Ledger (GL) codes to shipping transactions. You can develop applications that integrate with Share A Refund to streamline accounting processes, ensuring that freight costs are accurately allocated to the correct departments, projects, or cost centers without manual intervention.

View Doc: https://app.sharearefund.com/api/doc#api-GL_Coding →

The following figure shows the relationship between your Share A Refund app, the Share A Refund API, and GL Coding services.

GL Coding API diagram svg

Figure 1. Share A Refund API relationship diagram.

Share A Refund App

Share A Refund’s GL coding services give users the ability to define logic-based rules that automatically tag invoices and shipments with the appropriate financial codes, facilitating seamless reconciliation and reporting.

Share A Refund API

The REST API that allows users to manage GL codes, create assignment rules, and retrieve coded transaction data from within your app.

Cost Allocation

A system that maps shipping expenses to specific internal accounts based on references, sender/receiver addresses, or other shipment metadata.

Rules Engine

A mechanism that executes user-defined logic to apply GL codes dynamically as new invoices are processed, ensuring consistency across all billing data.

What can users do with the Share A Refund GL Coding API?

Users can use the Share A Refund GL Coding API to perform common workflows, such as:

  • Create and manage a library of General Ledger codes
  • Define rules to auto-assign codes based on reference numbers or POs
  • Update GL mappings for specific departments or cost centers
  • Retrieve coded invoice data for export to ERP systems
  • Validate existing GL codes against active accounting lists
  • Audit unassigned shipments to ensure 100% cost allocation

GL Coding properties available to create, modify, update and delete through the Share A Refund GL Coding API:

  • Allocation Rules
  • Cost Centers
  • GL Codes
  • Mappings
  • Validation Lists

Additional info

Learn more about developing with Share A Refund GL Coding API, including handling authentication, authorization, reference the Develop on Share A Refund API for your workspace. More

Learn more about how to launch and run a Share A Refund GL Coding API app, read the Developer Getting Started Guide. More

Updated on January 23, 2026
Was this article helpful?

Related Articles