Walmart Code 59: Defective Merchandise Allowance
Defective Merchandise Allowance (DM)
Walmart code 59, Defective Merchandise Allowance, happens when an allowance in your supplier agreement is missing from the invoice. Walmart holds that money back from your check. The allowance covers defective goods that shoppers return to the store. You can dispute it in APDP, but Walmart rarely approves codes 50 to 59 there, so your buyer is the faster path.
Based on two independent vendor sources (SPS Commerce / SupplierWiki and Confido). They agree on how the code works and how to dispute it. They disagree on the name: SPS Commerce calls it Defective Merchandise Allowance, Confido calls it Spoils Allowance. This is not from Walmart's own documents.
What Walmart is claiming
Walmart code 59 is not about a short shipment or a wrong price. It says an allowance you already agreed to give is missing from your invoice. So Walmart keeps that money instead of paying it.
The money was always Walmart's to keep. Code 59 is the system catching an invoice that billed full price and never took the allowance off.
- Code 59 is an allowance that covers Walmart's cost for defective or spoiled goods returned at the store. Your supplier agreement sets the rate. The code fires when that allowance is missing from the invoice Walmart pays.
- Two independent vendor sources agree on how it works but use different names. SPS Commerce calls it Defective Merchandise Allowance. Confido calls it Spoils Allowance. Both link it to defective or spoiled goods returned at the store.
- Sometimes a code 59 is a mistake you can dispute. That happens when you gave the allowance but put it in the wrong spot, on one line instead of off the whole invoice. Sometimes it is correct, because the allowance never reached the invoice.
- Code 59 is not a shortage or a price code. It is part of the allowance family, codes 50 to 59, which Walmart rarely reverses in APDP. The way to fix it is through your buyer, with the agreement and the invoice in hand.
What actually causes it
In order of how often it turns out to be the real cause:
- Your EDI provider put the allowance on one line item when the agreement says it should come off the whole invoice. You gave the right amount, but from the wrong place. That is what makes the deduction a mistake worth disputing.
- The purchase order had wrong information, and the invoice copied it. So the allowance never reached the line Walmart reads.
- An allowance that was on the PO got dropped from the EDI 810 invoice your system made.
- The allowance was figured on net instead of gross. So the number on the invoice did not match the number in the agreement.
Is it disputable?
You can file a code 59 dispute in Walmart's Accounts Payable Dispute Portal (APDP). But both vendor sources warn you rarely win there. SPS Commerce says Walmart treats codes 50 to 59 as unlikely to be approved in APDP.
The kind you can win is the mistake. You show that you already gave the allowance, only on the wrong line. Bring the supplier agreement and the EDI 810 to your buyer and show the right amount came out.
If the allowance never reached the invoice, the deduction is correct. You cannot win that one. The fix is in how your system puts allowances on the 810, not in filing a claim you will lose.
Evidence you'll need
Gather this before you file, not after:
- Your supplier agreement, showing the defective-goods allowance rate Walmart gets
- The EDI 810 invoice for that shipment, showing where the allowance went or that it was left off
- Return paperwork that links the allowance to the defective-goods cost it covers
How to stop it recurring
Recovering one deduction is worth less than removing the cause. What closes this one out for good:
- Ask your EDI team to check that every allowance in your supplier agreement reaches the EDI 810 invoice. Put it off the whole invoice or off a line item, whichever the agreement says. A right allowance in the wrong spot still looks missing to Walmart.
- Check that allowances on the purchase order carry over to the invoice before you send it. A PO that lists the allowance and an invoice that drops it is the most common code 59 mistake.
- Make sure the allowance uses the same basis, gross or net, in the agreement and on the invoice. A gross-versus-net mismatch gives Walmart a number that looks short.
- Give your buyer clear paperwork for any special deal, and get their approval in writing. The buyer, not APDP, is where allowance deductions get settled.
If you run NetSuite or Business Central, a Walmart code 59 comes from how your EDI 810 handles agreed allowances, not from anything on the dock.
Match each buyer-specific allowance in the supplier agreement to a set EDI 810 allowance field. Put it off the whole invoice or off a line item, as the agreement says. Hold the invoice from going out until that field is there and its basis, gross or net, matches the agreement.
This closes the gap both vendor sources point to behind code 59. The allowance was agreed, and sometimes even taken, but it never showed up on the invoice where Walmart reads it.
You open a Walmart remittance and find a code 59 deduction for an allowance you thought was settled. No shipment came up short, and no price was wrong. Walmart is holding back a defective-goods allowance your supplier agreement promised, because the invoice it paid did not include that allowance.
The allowance was always Walmart’s to keep. It covers the cost of defective products that shoppers return to the store, at a rate you agreed to. Code 59 is not Walmart making up a charge. It is Walmart noticing that your invoice billed full price and never took the credit off.
Sometimes you did give the allowance, only in the wrong place. Your agreement says to take it off the whole invoice, but your EDI provider took it off one line item. The right money left your account, yet Walmart still read the invoice as missing the allowance. This kind of code 59 is a mistake, and it is worth disputing with your buyer.
The other kind is correct. The allowance never reached the invoice at all, because the PO was wrong, the EDI 810 dropped it, or it was figured on net instead of gross. A dispute there loses.
SPS Commerce says Walmart rarely approves allowance codes, 50 through 59, in the Accounts Payable Dispute Portal. Your buyer is the way to go, with the supplier agreement and the EDI 810 in hand.
Vendor sources also use different names for this code. SPS Commerce calls it Defective Merchandise Allowance. Confido calls the same code Spoils Allowance.
Both link it to defective or spoiled goods returned at the store, and both agree the dispute comes down to whether you already gave the allowance on the invoice.
Code 59 is in the pricing family, next to code 10 (price difference). Both fire when data drifts between your supplier agreement, the purchase order, and the EDI 810 invoice your system sends.
Code 10 is a price that did not match. Code 59 is an allowance that did not show up. The full deduction-code hub covers the rest of the families.
If your ERP is NetSuite or Business Central, check the allowance setup in the erpPrevention steps above before you file a dispute. An allowance your agreement puts off the whole invoice and your 810 puts off a line item will cause this code every month until you fix the setup, no matter how the current claim turns out.
How much is this code costing you a year?
The calculator takes your shipment volume and deduction rate and returns an annual exposure figure. No email required.
Frequently Asked Questions
- Can I dispute a Walmart code 59 deduction?
- Sometimes, but it is hard to win in APDP. Vendor sources say Walmart treats allowance codes 50 to 59 as unlikely to be approved there. The version you can win is one where you gave the allowance but put it on the wrong line. Bring your supplier agreement and EDI 810 to your buyer, who is where these usually get settled. If the allowance never reached the invoice, the deduction is correct.
- What is the difference between Walmart code 59 and code 10?
- Code 10 is a price problem: the invoice price did not match the PO price. Code 59 is an allowance problem: a defective-goods allowance in your supplier agreement did not show up on the invoice. Both are in the pricing family, and both usually come from data that drifted between the agreement, the PO, and the EDI 810. But they claim different things.
- What evidence do I need to dispute a code 59?
- Your supplier agreement with the allowance rate, the EDI 810 invoice for that shipment, and return paperwork that ties the allowance to the defective-goods cost. The agreement and invoice together show your buyer that you already gave the allowance. That is the only version of code 59 worth fighting.
- Is code 59 the same as a defective-product chargeback?
- No. Code 59 is about matching an allowance, not a quality penalty. It fires because an agreed credit for Walmart's defective returns is missing from your invoice, not because one shipment was defective. The topic is defective goods, but the cause is an allowance that did not make it onto the 810.
Sources and verification
- SPS Commerce / SupplierWiki: Code 59, Defective Merchandise Allowance (DM) : Independent vendor source. Uses the label Defective Merchandise Allowance (DM), defines it as a credit offset against store returns, describes the off-line-item vs off-invoice invalid case, and reports that codes 50-59 are unlikely to be approved in APDP.
- Confido: Walmart Deduction Guide : Independent vendor source. Lists code 59 under the different label Spoils Allowance, describes it as a deduction for spoiled or defective merchandise, and states it is disputable if the allowance was already given on the invoice. The label disagreement with SPS Commerce is noted in this entry's copy.