Receipt Requests API (/receipt_requests)
Introduction
Use the Receipt Requests API to create, update, or query receipt requests for your transaction.
The URL to access the Receipt Requests API is: /api/receipt_requests
See Integration Best Practices for more info.
Actions
/api/receipt_requests/:id/add_approver?approver_id=33
Verb |
Path |
Action |
Description |
---|---|---|---|
DELETE |
|
destroy |
Delete receipt request |
GET |
|
index |
List receipt requests |
GET |
|
show |
Show receipt request |
POST |
|
submit |
Submit receipt request for approval |
POST |
|
withdraw |
Withdraw receipt request |
PUT |
/api/receipt_requests/:id/add_approver
|
add_approver | Add a user as an approver |
PUT |
/api/receipt_requests/:id/remove_approval
|
remove_approver | Remove a user as an approver |
PUT |
/api/receipt_requests/:id/add_watcher
|
add_watcher | Add a user as a watcher |
PUT |
/api/receipt_requests/:id/remove_watcher
|
remove_watcher | Remover a user as a watcher |
Receipt Request Elements
Element |
Description |
Req'd |
Unique |
Allowable Value |
In |
Out |
Data Type |
---|---|---|---|---|---|---|---|
id |
Coupa unique identifier |
any |
yes |
integer |
|||
created_at |
Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ |
any |
yes |
datetime |
|||
updated_at |
Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ |
any |
yes |
datetime |
|||
type |
Type |
any |
yes |
string(255) |
|||
status |
Status |
any |
yes |
string(255) |
|||
lines |
Request lines |
any |
yes |
[] |
|||
created_by |
User who created |
any |
yes |
||||
updated_by |
User who updated |
any |
yes |