Discussions

Ask a Question
Back to all

Setting "Authorized No Charge" status on a Vendor Invoice

I am able to use the API to update a WorkOrderCost's ApStatusId with almost all the values: None (1), Submitted (2), Paid (3), Waiting (4), Authorized (5), Exported (6), Disputed (7), and Imported (8). However, when I try to set Authorized No Charge (265), I get the following error:

services.api.app.exceptions.ApiProblemDetailsException: ApiProblemDetailsException(title=Corrigo API Error, detail=Can't map entity property: value "265" of type System.Int32 wasn't found in enumeration Corrigo.Constants.APInvoiceStatus.)

Yet I can manually set a work order's Vendor Invoice status to Authorized No Charge, and GET it from the API, and clearly see that ApStatusId for Authorized No Charge is 265. What's going on? Thanks!