Supplier Rebate Checker
Pricing
$500.00 / 1,000 completed calculations
Supplier Rebate Checker
Read supplier rebate contracts with GPT-6 Luna, review source-linked draft rules, then reconcile purchases and received rebates with decimal calculations.
Supplier Rebate Checker
Pricing
$500.00 / 1,000 completed calculations
Read supplier rebate contracts with GPT-6 Luna, review source-linked draft rules, then reconcile purchases and received rebates with decimal calculations.
You can access the Supplier Rebate Checker programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "operation": "audit",12 "allowAI": false,13 "agreement": {14 "confirmed": false,15 "sourceText": "FICTIONAL DEMONSTRATION AGREEMENT — NOT A REAL SUPPLIER CONTRACT\n\nAgreement ID: HW-2026-Q3\nSupplier ID: HW001\nSupplier name: Harbour Wholesale\nCurrency: GBP\nPeriod start: 2026-01-01\nPeriod end: 2026-09-30\nRebate mode: retrospective\nCalculation basis: net_goods_ex_tax_freight\nReturns policy: deduct_linked_credits\nRounding: period_half_up\nIncluded products: all\nExcluded products: NONREBATE\nTier: 0 => 0%\nTier: 10000 => 2%\nTier: 20000 => 3%\nClaim deadline: 2026-11-30\n\nThe highest spend tier reached applies to the entire eligible net purchase amount.\nAmounts are after discounts, excluding tax and freight. Deduct credits linked to\npurchases within this agreement period. Round the final period rebate half up\nto two decimal places. No other conditions apply to this synthetic example.\n",16 "evidence": [17 {18 "field": "agreementId",19 "quote": "Agreement ID: HW-2026-Q3"20 },21 {22 "field": "supplierId",23 "quote": "Supplier ID: HW001"24 },25 {26 "field": "supplierName",27 "quote": "Supplier name: Harbour Wholesale"28 },29 {30 "field": "currency",31 "quote": "Currency: GBP"32 },33 {34 "field": "periodStart",35 "quote": "Period start: 2026-01-01"36 },37 {38 "field": "periodEnd",39 "quote": "Period end: 2026-09-30"40 },41 {42 "field": "mode",43 "quote": "Rebate mode: retrospective"44 },45 {46 "field": "basis",47 "quote": "Calculation basis: net_goods_ex_tax_freight"48 },49 {50 "field": "returnsPolicy",51 "quote": "Returns policy: deduct_linked_credits"52 },53 {54 "field": "rounding",55 "quote": "Rounding: period_half_up"56 },57 {58 "field": "claimDeadline",59 "quote": "Claim deadline: 2026-11-30"60 },61 {62 "field": "tiers",63 "quote": "Tier: 0 => 0%"64 },65 {66 "field": "tiers",67 "quote": "Tier: 10000 => 2%"68 },69 {70 "field": "tiers",71 "quote": "Tier: 20000 => 3%"72 },73 {74 "field": "includedProductCodes",75 "quote": "Included products: all"76 },77 {78 "field": "excludedProductCodes",79 "quote": "Excluded products: NONREBATE"80 }81 ],82 "unresolvedTerms": [],83 "includedProductCodes": [],84 "excludedProductCodes": [85 "NONREBATE"86 ],87 "tiers": [88 {89 "minimumSpend": "0",90 "ratePercent": "0"91 },92 {93 "minimumSpend": "10000",94 "ratePercent": "2"95 },96 {97 "minimumSpend": "20000",98 "ratePercent": "3"99 }100 ],101 "agreementId": "HW-2026-Q3",102 "supplierId": "HW001",103 "supplierName": "Harbour Wholesale",104 "currency": "GBP",105 "periodStart": "2026-01-01",106 "periodEnd": "2026-09-30",107 "mode": "retrospective",108 "basis": "net_goods_ex_tax_freight",109 "returnsPolicy": "deduct_linked_credits",110 "rounding": "period_half_up",111 "claimDeadline": "2026-11-30"112 },113 "purchases": `lineId,invoiceId,date,supplierId,currency,productCode,type,netAmount,originalLineId114P001,INV-1001,2026-01-15,HW001,GBP,GOODS-A,purchase,12500.00,115P002,INV-1002,2026-07-20,HW001,GBP,GOODS-A,purchase,12500.00,116C001,CR-1003,2026-08-03,HW001,GBP,GOODS-A,credit,-1000.00,P002117P003,INV-1004,2026-09-20,HW001,GBP,NONREBATE,purchase,500.00,118P004,INV-1005,2026-10-01,HW001,GBP,GOODS-A,purchase,1000.00,119P005,INV-OTHER,2026-06-01,OTHER001,GBP,GOODS-A,purchase,3000.00,`,120 "statement": `lineId,supplierId,agreementId,periodStart,periodEnd,currency,rebateAmount,status121S001,HW001,HW-2026-Q3,2026-01-01,2026-09-30,GBP,600.00,paid`,122 "asOfDate": "2026-10-15",123 "ledgerComplete": false,124 "statementComplete": false125};126
127// Run the Actor and wait for it to finish128const run = await client.actor("nathancole1992/supplier-rebate-checker").call(input);129
130// Fetch and print Actor results from the run's dataset (if any)131console.log('Results from dataset');132console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);133const { items } = await client.dataset(run.defaultDatasetId).listItems();134items.forEach((item) => {135 console.dir(item);136});137
138// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docsThe Apify API client for JavaScript is the official library that allows you to use Supplier Rebate Checker API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-clientOther API clients include: