Submit And Resolve An Expense
A 4-step recipe with Remote. We can help you get access.
Recipe · 4 steps
Submit And Resolve An Expense
with Remote
Create an expense and approve or decline it.
- Create the expense for the employment.
- Read the expense back and branch on the caller's decision.
- Approve the expense.
- Decline the expense with the supplied reason.
What you'll need to have ready
- accessToken: Company-scoped bearer access token.
- employmentId: The employment that incurred the expense.
- category: The expense category.
- amount: Amount in the smallest currency unit.
- currency: Currency code for the expense.
- expenseDate: Date the expense was incurred (YYYY-MM-DD).
- description: Free-text description of the expense.
- decision: Either approve or decline.
- declineReason: Reason used when the decision is decline.
For your developer
Arazzo workflow remote-com:submit-expense, 4 operations: createExpense → showExpense → approveExpense → declineExpense. Specs on APIs.io.