API2 POST a New Receipt But inventory items aren’t being automatically deducted

“Hi everyone, I’m having an issue with API2 when using the POST method to create a new receipt. The problem is that the inventory items aren’t being automatically deducted after the receipt is posted. Has anyone else encountered this or know how to resolve it? Any help would be appreciated!”

Let me know if you’d like further adjustments!

POST http://localhost:8080/api2/receipt-form HTTP/1.1
Host: localhost
X-API-KEY: CglOb3J0aHdpbmQSEgn0fuadrKRsRRGid5IEpA/XkhoSCWb4QKZZItpPEbmds7wDD0WM
Content-Type: application/json
: 391
: application/json
: 413
Content-Length: 489
Authorization: Bearer

{
“Date”: “2025-02-13”,
“Payee”: “John Doe”,
“ReceivedIn”: “2631bab8-c6c5-4fcb-9ee3-4e61d9f9264f”,
“Name”: “Test”,
“Amount”: 100.00,
“Description”: “Payment received for services API 5”,
“Lines”: [
{
“Item”: “5dc541a0-99d3-4b61-a4ca-977f781d33ca”,
“Account”: “0fb45a62-fc42-43a8-a776-782e8b5ffc96”,
“Description”: “Service Fee 5”,
“Qty”: 1,
“Amount”: 100.00
}
]
}

Does it mean i Need to excute POST Inventory Write-Off?

It would be helpful if you could share the Edit Form of Receipt that you posted / created via API.

Also mention the version of Manager you are using.

Yes Thanks, I upload the edit form. here the things that i Observed.

when i set
Column — Qty to Default and enabled it that’s the time the Quantity Shows up in the Form and when i Click Update it successfully deducted the inventory items

I didn’t find the same issue as you are experiencing on Manager Cloud Edition v25.2.15.2096.

Create Receipts, either manually or through API2, work as it should.

1 Like

Great Big Thanks for the Solution. Big Help.

“QuantityColumn”: true, Works like magic.