Create budget
documentedCreate a budget.
POST /BudgetsBudgetsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.xero.com/api.xro/2.0/Budgets" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "xero-tenant-id: {{XERO_TENANT_ID}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"Name": "{{$budgetName}}", "Year": {{$year}}, "BudgetLines": [ {"AccountCode": "{{$accountCode}}", "Period": {{$period}}, "Amount": {{$amount}} } ] }'