3PL Storage Invoice Auditor
Pricing
$2.00 / 1,000 invoice line revieweds
3PL Storage Invoice Auditor
Audit storage-only 3PL invoice lines against daily inventory and customer-defined rates. CSV/XLSX input, decimal calculations and source row evidence.
Pricing
$2.00 / 1,000 invoice line revieweds
Rating
0.0
(0)
Developer
AFK Digital
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 days ago
Last modified
Categories
Features
Share
3PL Storage Invoice Auditor — 0.1.1
Compare storage charges only with customer-supplied daily inventory and contractual rates. No 3PL login, freight audit, payment execution or claim submission.
Input files
Supply each file as a JSON descriptor: CSV {"format":"csv","csv":"header\\nrow\\n"}, or XLSX {"format":"xlsx","base64":"..."}. XLSX must contain one sheet, with headers in row 1. Formulas are rejected; export values first. Blank rows are not silently removed. CSV is UTF-8, comma-delimited, with a header. Physical spreadsheet/CSV record numbers are tracked starting at 2 (header is 1; a multiline CSV field is one logical record).
- dailyStorageFile: warehouse, storage_type, unit, date, quantity. Exactly one snapshot per warehouse/type/unit/day. Aggregate SKU detail before uploading. Missing days and duplicate snapshots require review.
- storageRateCardFile: warehouse, storage_type, unit, currency, start, end, rate, basis, rounding, money_decimals, money_rounding, minimum_charge, free_days.
- invoiceFile: invoice_line_id, warehouse, storage_type, unit, currency, start, end, quantity, charge, document_type.
- columnMapping: optional objects named dailyStorage, storageRateCard, invoice. Each maps canonical column name to uploaded column name.
- billingPeriod: inclusive ISO start/end, maximum 367 dates.
- tolerance: absolute money tolerance as a decimal string; default 0.01.
- maxInvoiceLines: 1–5000, default 1000. Exceeding a limit fails rather than silently truncating.
Empty/default input runs the synthetic two-day demo. Partial real file input never uses demo data. Limits: each file 10 MiB; XLSX expanded archive 50 MiB; 50 columns; 20,000 characters per cell; 100,000 daily records; 1,000 rates; 5,000 invoice records. Work exceeding the documented calculation budget is rejected. Recommended Actor memory 512 MiB, timeout 300 seconds.
Explicit rules
All money is calculated with Python Decimal and returned as decimal strings. Supply decimal point values without thousands separators. Rate dates and invoice dates are inclusive. Units are opaque exact keys: pallet-day, shelf-day, volume-day or customer-defined units remain separate. No unit or currency conversion is inferred. Each row must state its unit.
- basis=daily_snapshot: sum daily quantity times that day's applicable rate.
- basis=period_peak: largest daily quantity, multiplied by rate. Requires peak_multiplier=once or number_of_days. Peak applies to this invoice line's period. Rate changes combined with peak billing require manual review.
- rounding=none, or ceil with a positive rounding_increment. Quantity rounding applies before daily billing or peak selection.
- money_decimals=0–6 and money_rounding=half_up or half_even are mandatory.
- minimum_charge=0 explicitly disables a minimum. A positive value requires minimum_scope=invoice_line; applied after summing and before final money rounding. Warehouse/month minima shared by multiple lines require manual review.
- free_days=0 explicitly disables free days. Positive integer values require free_days_scope=first_days_of_invoice_line. This means the first N calendar dates of this line, not receipt-based or inventory-age-based exemptions. Other free-day rules require review. Peak plus free days requires review.
- Date-based daily rates can change; each date must have exactly one matching tariff. Changes to minimum, free-day, peak or money rules require split lines.
- Partial months use only actual inclusive invoice dates. No monthly prorating is inferred.
- Negative quantities, duplicate/overlapping invoice scopes, missing/ambiguous rates and unsupported rules return null expected cost with a reason.
- Credits are identified using document_type=credit_note or negative charge, isolated for review and excluded from calculated totals. Credit allocation is never inferred.
Results
One Dataset item per invoice line, including invoice_line_id, warehouse, storage_type, billed_period, billed_quantity, expected_quantity, expected_charge, invoiced_charge, difference, currency, calculation_breakdown, evidence_rows, status and reason. difference = invoiced_charge minus expected_charge. Positive differences are review candidates, not confirmed overpayments or recoverable savings. Quantity differences are shown independently of money tolerance. Missing/invalid costs return null, never zero. Dataset exports support JSON/CSV. Key-value outputs: OUTPUT (JSON), OUTPUT_CSV (nested fields JSON encoded), SUMMARY (currency-separated invoice totals). CSV protects text against spreadsheet formula execution; negative text values may have a leading apostrophe.
Example
2 pallet-days on February 1 and 4 on February 2 at USD 0.10: expected quantity 6; expected charge USD 0.60; invoiced USD 1.00; difference USD 0.40. Evidence: invoice row 2, daily rows 2 and 3, tariff row 2.
Privacy
The Actor does not log commercial file contents, amounts or row values. Inputs and audit results contain business data and are stored in Apify run storage under the run owner's access and retention settings. No third-party requests, tracking or 3PL credentials are used by the audit. No external file download is supported. Delete run inputs/outputs and configure retention according to your policy; a public Actor does not mean customer Dataset results should be shared.
Pricing
USD 2.00 per 1,000 reviewed invoice lines (USD 0.002 per line). Billing uses only apify-default-dataset-item at that price, one output per invoice row, including needs_review and credit lines. Daily inventory rows and rate rows carry no separate event fee. No separate Actor start charge applies. No manual charge call is made, avoiding double charging. Current Apify published compute price: USD 0.20/CU at FREE/BRONZE, USD 0.16 SILVER, USD 0.13 GOLD. Apify commission is 20%; platform usage may be deducted from payout. Sources checked November 11, 2026: https://docs.apify.com/actors/monetize/pricing-and-costs https://docs.apify.com/actors/monetize/pay-per-event At 512 MiB for 5 minutes, compute alone is 0.04167 CU = USD 0.00833 at USD 0.20/CU. Storage/data operations add cost. This is a ceiling scenario estimate, not a measured Apify cloud bill. Actual cloud test costs are recorded in the release report. Price and paid publication authorized by the owner.
Development
docker build -t newapi89:0.1.0 .
docker run --rm newapi89:0.1.0 python -m unittest discover -s tests -v
docker run --rm newapi89:0.1.0
This is a batch file audit, not continuous monitoring. Evidence refers to uploaded records; it is not independent verification of physical stock or contractual validity.
Spending limits: Dataset, JSON, CSV and SUMMARY contain the same affordable subset of invoice lines. SUMMARY reports supplied and withheld counts. Increase your spending limit to receive all lines.