DSACRM icon

DSACRM

Interact with DSACRM API resources

Actions100

Invoice → Create

AI-generated

Summary

Creates a new invoice in DSACRM by sending a POST request to the /invoices endpoint with the JSON payload provided in the Request Body (JSON) parameter.

Inputs

  • requestBody — JSON payload to send to DSACRM API. Must be a valid JSON object (default: {}).

Output shape

The API response for the created invoice (or an array of responses if multiple items are returned). Each item is wrapped in an n8n item with a json property containing the response data.

Requires DSACRM API credentials (Base URL, Organization Id, API Key) configured via the dsaCrmApi credential. If the request body is not a valid JSON object, the node throws an error.

Examples

Example 1: Create a simple invoice

Set Request Body (JSON) to {"customer_id": 123, "amount": 250.00, "date": "2024-01-15"}

Links

Discussion