@robinpath/invoice-parser
v0.1.1
Published
Invoice Parser module for RobinPath.
Readme
@robinpath/invoice-parser
Invoice Parser module for RobinPath.
Why use this module?
The invoice-parser module lets you:
- parseInvoiceText
- extractTotal
- extractDate
- extractInvoiceNumber
- extractLineItems
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/invoice-parserQuick Start
No credentials needed — start using it right away:
invoice-parser.extractTotalAvailable Functions
| Function | Description |
|----------|-------------|
| invoice-parser.parseInvoiceText | parseInvoiceText |
| invoice-parser.extractTotal | extractTotal |
| invoice-parser.extractDate | extractDate |
| invoice-parser.extractInvoiceNumber | extractInvoiceNumber |
| invoice-parser.extractLineItems | extractLineItems |
| invoice-parser.extractVendorInfo | extractVendorInfo |
| invoice-parser.extractTaxAmount | extractTaxAmount |
| invoice-parser.extractCurrency | extractCurrency |
| invoice-parser.extractEmails | extractEmails |
| invoice-parser.extractPhoneNumbers | extractPhoneNumbers |
| invoice-parser.extractAddresses | extractAddresses |
| invoice-parser.categorizeExpense | categorizeExpense |
Examples
extractTotal
invoice-parser.extractTotalextractDate
invoice-parser.extractDateextractInvoiceNumber
invoice-parser.extractInvoiceNumberIntegration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/invoice-parser";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
invoice-parser.extractTotal
`);Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/quickbooks— QuickBooks module for complementary functionality@robinpath/xero— Xero module for complementary functionality@robinpath/freshbooks— FreshBooks module for complementary functionality@robinpath/invoice— Invoice module for complementary functionality@robinpath/json— JSON module for complementary functionality
License
MIT
