Predictika · Pharma returned-goods checks

An AI sales agent's generic-product return credit, checked before it goes out

An AI sales agent prepares a returned-goods credit for a customer that wants to send expired Teva USA generic products back: which labeler code, how long after expiration, how the package looks, how the return is claimed and how much credit it is worth. Before the credit goes out, the agent sends it to Predictika, which checks it against a declarative model of the published policy and returns a verdict, every reason and the credit it computed.

Scope: Teva USA Seller's Return Goods Policy for Generic Products (1/2026): covered labeler codes, the one-year return window, non-returnable goods, credit valuation by purchase channel and the Inmar claim requirements. See everything this validator covers

This validator models returns as published in the Teva Return Goods Policy for Generic Products (January 2026), not just the scenarios shown below.

  • Coverage — the 18 labeler codes the policy lists (with the six listed NDCs under code 55253), and the NDCs excluded or covered by the separate Allergan policy.
  • Window and condition — only expired product, returned within one year after expiration, in original unopened packaging with a legible lot number and expiration date; fourteen kinds of non-returnable goods (opened, dispensed, repackaged, donated, stockpiled, overstock, damaged, illegally distributed and others).
  • Credit and claim — credit is the lower of the purchase and return price for direct returns, less any promotional rebate for indirect returns; the stated credit must match; a debit memo number and proof of the purchase source are required; customers may not deduct return costs or debit memo amounts from payments; batch returns need separate government memos and end-customer detail.

Any generic-product return that touches these rules is in scope — not only the scenarios pictured here. Not covered: prices (the policy publishes none, so unit prices come from the customer's invoice or contract), brand products, delivery-damage claim deadlines, and the exact calendar definition of one year (365 days is used). Batch returns and units whose price cannot be located are sent to a person.

The AI sales agentBuilds the return credit from the conversation and says it is ready.
Predictika validatorChecks every rule at once and returns the verdict, each finding, and the computed figures.

6 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch

What the agent proposes

The AI sales agent says

Illustrative agent statement. The validator receives the structured request below.

Proposing agent: AI sales agent (scripted)

Before sending, the agent must call Recorded run

Predictika validator


      
Waiting for the call.

Where rules-based CPQ gets it wrong

Click to expand

Our assessment of what a typical rules-based CPQ (product rules, price rules and validation rules, as in Salesforce CPQ) does with the same cases. It is a judgment about effort and reliability, not a claim that nothing can be built.

What the validator caughtTypical rules-based CPQPredictika
A credit that depends on the purchase channel and a rebateOnly with care
Direct and indirect returns are valued differently, so a price rule has to branch on the channel, take the lower of two prices and subtract any rebate without going below zero.
The unit credit and the total are computed from the channel, both prices, the rebate and the units on every call, then compared with the stated credit.
Many non-returnable conditionsOnly with workarounds
Each condition is a separate flag on a different screen, and a return can trip several at once.
All fourteen conditions are checked together on every call and each one that applies is reported.
A one-year window from the expiration dateOnly with care
A date-difference rule works only if the expiration date and the return date are both captured and kept in step.
The days after expiration are checked against the window, and product that is not yet expired is blocked too.
Claim paperwork requirements (debit memo, proof of source, no deductions)Only with workarounds
These are process rules that rarely reach a configurator, so the rep finds out when the claim is rejected.
Each missing item is reported with the reason, together with every other problem.
Every problem returned in one answerOnly with workarounds
Rules tend to fire as the quote is saved or a step is completed, so a rep often fixes one error and meets the next.
All findings come back together, whatever order the choices arrived in.

What this validator catches: findings from its test cases

Click to expand

Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the quote; approval findings need a person to sign off; everything else is computed.

1Under labeler code 55253 the policy covers only six listed NDCs and this NDC is not one of them.
2The labeler code of the product is not one of the labeler codes the policy covers.
3The NDC is on the exclusion list of the policy or in Attachment A (brand products under a separate Allergan return policy).
4The product is not expired (days after expiration: 0); only expired product can be returned.
5The product is 366 days past expiration; returns must be within one year following the expiration date.
6The product is not expired (days after expiration: -30); only expired product can be returned.
7The package is partially or fully open; only original unopened packaging is eligible.
8The lot number or expiration date is not legible on the package.
9The goods were sold on a non-returnable basis or are marked non-returnable, professional sample, professional package or free goods.
10The goods were damaged by an insurable event such as fire or smoke, or involved in salvage, bankruptcy or fire sales.
11The goods were damaged or deteriorated after the customer took responsibility for them, for example by improper storage or handling.
12The goods were sold, purchased or distributed contrary to federal, state or local law.
13The product was donated to an external party by Teva.
14Labels have been removed or defaced, including patient or prescription labels.
15Teva has directed that this return is not approved.
16The product was bought by a federal or state governmental customer for stockpiling; such sales are final and non-returnable.
17The goods are overstock in customer inventory.
18The product was repackaged outside the original Teva packaging or label, including third-party packaging material.
19The product has been dispensed to a patient.
20This is a forms-only return; the merchandise must be received by Inmar Rx Solutions to receive credit.
21The return request has no debit memo number; one is required for each request to Inmar.
22There is no proof of the purchase source for the merchandise returned.
23The customer plans to deduct return transportation, handling or processing fees from payments; this is prohibited.
24The customer plans to deduct debit memo amounts from payments without prior written approval from Teva.
25The policy values batch returns at the lower indirect net contract price or, alternatively, the then-current Teva average price; a person should confirm which applies.
26A batched return includes product awarded to a government contract (for example 340B) but not on a separate debit memo with its own prefix.
27A batched return from several end customers must carry end-customer-level detail on the debit memo.
28The price for these units could not be located; the policy lets Teva value them at its then-current average price, so the credit shown may change and a person should confirm it.
29The quote states a credit of $1,300.00; the policy valuation gives $1,200.00.
30The quote states a credit of $1,200.00; the policy valuation gives $1,050.00.
31The product is 500 days past expiration; returns must be within one year following the expiration date.
32The quote states a credit of $0.01; the policy valuation gives $1,200.00.

Scenarios and results

Click to expand

The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.

1. Credit and memo: Direct return with a wrong credit and no debit memo number

The agent's request. Please prepare a return credit for 100 units of Teva generic product with labeler code L00093, returned 120 days after expiration through the direct channel. The purchase price is $12.50 per unit and the return price is $12.00 per unit. The credit is stated as $1,500.00. No debit memo number was given; proof of the purchase source is attached; no fees are deducted from payments; the prices come from the customer invoice. It is ready to send.

Verdict: Blocked.

  • Debit memo number missing. The return request has no debit memo number; one is required for each request to Inmar.
  • Stated credit does not match. The quote states a credit of $1,500.00; the policy valuation gives $1,200.00.

2. Credit and memo: The agent resubmits after fixing the errors

The agent's request. Please prepare a return credit for 100 units of Teva generic product with labeler code L00093, returned 120 days after expiration through the direct channel. The purchase price is $12.50 per unit and the return price is $12.00 per unit. The credit is stated as $1,200.00. The debit memo number is included; proof of the purchase source is attached; no fees are deducted from payments; the prices come from the customer invoice. It is ready to send.

Verdict: Allowed.

  • Credit summary. Unit credit $12.00, 100 units, total credit $1,200.00 (the customer bears transport, handling and processing costs).

3. Rebate and paperwork: Indirect return that ignores the rebate

The agent's request. Please prepare a return credit for 40 units of Teva generic product with labeler code L00172, returned 200 days after expiration through the indirect channel. The purchase price is $20.00 per unit and the return price is $18.00 per unit, and a promotional rebate of $1.50 per unit applies. The credit is stated as $720.00. The debit memo number is included; there is no proof of the purchase source; the customer will deduct the return freight and handling fees from its payments; the prices come from the customer invoice. It is ready to send.

Verdict: Blocked.

  • Proof of purchase source missing. There is no proof of the purchase source for the merchandise returned.
  • Customer deducts return costs. The customer plans to deduct return transportation, handling or processing fees from payments; this is prohibited.
  • Stated credit does not match. The quote states a credit of $720.00; the policy valuation gives $660.00.

4. Rebate and paperwork: The agent resubmits after fixing the errors

The agent's request. Please prepare a return credit for 40 units of Teva generic product with labeler code L00172, returned 200 days after expiration through the indirect channel. The purchase price is $20.00 per unit and the return price is $18.00 per unit, and a promotional rebate of $1.50 per unit applies. The credit is stated as $660.00. The debit memo number is included; proof of the purchase source is attached; no fees are deducted from payments; the prices come from the customer invoice. It is ready to send.

Verdict: Allowed.

  • Credit summary. Unit credit $16.50, 40 units, total credit $660.00 (the customer bears transport, handling and processing costs).

5. Price not located: Return whose purchase price could not be found

The agent's request. Please prepare a return credit for 60 units of Teva generic product with labeler code L00228, returned 60 days after expiration through the direct channel. The purchase price is $9.00 per unit and the return price is $8.50 per unit. The credit is stated as $510.00. The debit memo number is included; proof of the purchase source is attached; no fees are deducted from payments; the purchase price could not be located. It is ready to send.

Verdict: Needs approval.

  • Purchase price not located: Teva may use its average price. The price for these units could not be located; the policy lets Teva value them at its then-current average price, so the credit shown may change and a person should confirm it.
  • Credit summary. Unit credit $8.50, 60 units, total credit $510.00 (the customer bears transport, handling and processing costs).

6. Price not located: The agent resubmits after fixing the errors

The agent's request. Please prepare a return credit for 60 units of Teva generic product with labeler code L00228, returned 60 days after expiration through the direct channel. The purchase price is $9.00 per unit and the return price is $8.50 per unit. The credit is stated as $510.00. The debit memo number is included; proof of the purchase source is attached; no fees are deducted from payments; the prices come from the customer invoice. It is ready to send.

Verdict: Allowed.

  • Credit summary. Unit credit $8.50, 60 units, total credit $510.00 (the customer bears transport, handling and processing costs).

Narration transcript

Click to expand

The text of the narrated walkthrough, step by step.

  1. Welcome to a demo of Predictika's Validator. An AI sales agent prepares a returned-goods credit for a customer that wants to send expired Teva USA generic products back: which labeler code, how long after expiration, how the package looks, and more. Before the credit goes out, the agent sends it to Predictika, which checks it against a declarative model of the published policy and returns a verdict, every reason and the credit it computed.
  2. I will start with the first request by the agent.
  3. The agent says. Please prepare a return credit for 100 units of Teva generic product with labeler code L00093, returned 120 days after expiration through the direct channel. The purchase price is $12.50 per unit and the return price is $12.00 per unit. The rest of the request is on screen. The credit is stated as $1,500.00.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with two findings, all in one answer. The return request has no debit memo number; one is required for each request to Inmar. The quote states a credit of $1,500.00; the policy valuation gives $1,200.00.
  6. The validator returned two blocking findings in one answer. A check that reads one field at a time would pass most of this; it shows only when the choices in the quote are checked against each other.
  7. What this shows: for claim paperwork requirements (debit memo, proof of source, no deductions), a rules-based CPQ can do this only with workarounds.
  8. Now the agent resubmits.
  9. The corrected request. It changes the debit memo number to included and the stated credit to $1,200.00.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. Both earlier findings are cleared.
  13. Two problems caught in one call, fixed in one pass, and a clean quote. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.