Create statements
documentedCreate bank statements.
POST /StatementsStatementsno 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/bankfeeds.xro/1.0/Statements" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Xero-Tenant-Id: {{$tenant_id}}" \
-H "Xero-Application-Id: {{$application_id}}" \
-H "Xero-User-Id: {{$user_id}}" \
-H "Idempotency-Key: {{$idempotency_key}}" \
-d '{"statements": [{"start_date": "{{$start_date}}", "end_date": "{{$end_date}}", "bank_feed_account_id": "{{$bank_feed_account_id}}", "start_balance": {{$start_balance}}, "start_balance_credit_or_debit": "{{$start_balance_credit_or_debit}}", "end_balance": {{$end_balance}}, "end_balance_credit_or_debit": "{{$end_balance_credit_or_debit}}", "status": "{{$status}}"}]}'