Release an Invoice Hold
An invoice is on hold. Your accounts payables supervisor updates the invoice with the changes needed to release the invoice hold.
Example URL
Here's an example of the resource URL:
PATCH
fscmRestApi/resources/11.13.18.05/invoiceHolds
cURL Command
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X PATCH -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/invoiceHolds/300100170746046
Example Request
Here's an example of the request body in JSON format:
{
"ReleaseName": "Amount approved"
}
Example Response
Here's an example of the response body in JSON format:
{
"HoldId": 300100170746046,
"InvoiceNumber": "REST Unmatched Invoice",
"BusinessUnit": "Vision Operations",
"Supplier": "Advanced Network Devices",
"LineHeld": null,
"HoldDate": "2018-11-26T06:42:57.003+00:00",
"HoldDetails": null,
"HoldReason": "Invoice amount exceeded limit.",
"ReleaseReason": "Invoice amount approved by supervisor or manager.",
"WorkflowStatus": null,
"ReleaseName": "Amount approved",
"HoldName": "Amount",
"ReleaseDate": "2018-11-26T06:49:45.035+00:00",
"HeldBy": "Kerry Jones",
"CreatedBy": "AP_SUPV_OPERATIONS",
"CreationDate": "2018-11-26T06:42:57.003+00:00",
"LastUpdateDate": "2018-11-26T06:49:45.035+00:00",
"LastUpdatedBy": "AP_SUPV_OPERATIONS",
"LastUpdateLogin": "7B273F6DCA3CF7D0E0533BFDF40AFF00",
"PurchaseOrderNumber": null,
"PurchaseOrderLineNumber": null,
"PurchaseOrderScheduleLineNumber": null,
"ReceiptNumber": null,
"ReceiptLineNumber": null,
"ConsumptionAdviceNumber": null,
"ConsumptionAdviceLineNumber": null,
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/invoiceHolds/300100170746046",
"name": "invoiceHolds",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
}
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/invoiceHolds/300100170746046",
"name": "invoiceHolds",
"kind": "item"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/invoiceHolds/300100170746046/lov/HoldNameLookupVVO1",
"name": "HoldNameLookupVVO1",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/invoiceHolds/300100170746046/lov/ReleaseNameVVO1",
"name": "ReleaseNameVVO1",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/invoiceHolds/300100170746046/child/invoiceHoldDff",
"name": "invoiceHoldDff",
"kind": "collection"
}
]
}