NinjaPipe icon

NinjaPipe

Production-ready NinjaPipe node with one action interface, safer validation, Databin webhook support, and update-friendly UX

Budget → Create Budget Expense

AI-generated

Summary

Create a budget expense

Inputs

  • showAdvanced — Show path override and raw JSON fields for special cases
  • resourcePathOverride — Only use this if your NinjaPipe workspace exposes a different endpoint path
  • id (required) — Record ID
  • useGuidedFields — Recommended. Turn this off only if you want to send the full request body manually
  • budgetName — Budget Name
  • budgetAmount — Amount
  • budgetCurrency — Currency
  • budgetCategory — Category
  • budgetNotes — Notes
  • additionalFields — Use this for fields not shown in the guided UI
  • advancedBodyJson — Optional advanced payload merged after the guided fields
  • rawBodyJson — Raw Body JSON

Output shape

a single created budget expense record

Response contains the expense details; additional fields can be included via additionalFields; errors are propagated unless continueOnFail is enabled.

Examples

Example 1: Create a budget expense for a project

resource: Budget, operation: createExpense, budgetName: 'Project Alpha', budgetAmount: '2500', budgetCurrency: 'EUR', budgetCategory: 'Development', additionalFields: [{field: 'project_id', type: 'string', value: 'proj_001'}]

Example 2: Create expense using raw JSON payload

resource: Budget, operation: createExpense, useGuidedFields: false, rawBodyJson: {'description':'Team travel','amount':1200,'currency':'USD','category':'Travel'}

Links

Discussion