Actions37
- Booking Actions
- Catalog Actions
- Customer Actions
- Invoice Actions
- Order Actions
Invoice → Create
AI-generatedOverview
This node creates an invoice in the Square system. It is useful for automating the generation of invoices associated with a specific location, including optional details such as description, invoice number, payment requests, primary recipient information, and title. For example, a business can use this node to automatically create invoices for customers after a sale or service is completed, streamlining billing processes.
Use Case Examples
- Create an invoice for a specific location with a description and invoice number.
- Add payment requests with due dates and tipping options to an invoice.
- Specify a primary recipient by customer ID when creating an invoice.
Properties
| Name | Meaning |
|---|---|
| Location ID | The ID of the location that this invoice is associated with. |
| Additional Fields | Optional fields to add more details to the invoice such as description, invoice number, payment requests, primary recipient, and title. |
Output
JSON
id- The unique identifier of the created invoice.location_id- The location ID associated with the invoice.description- The description of the invoice if provided.invoice_number- The unique invoice number if provided.payment_requests- Array of payment request objects associated with the invoice.primary_recipientcustomer_id- The customer ID of the primary recipient if provided.
title- The title of the invoice if provided.
Dependencies
- Square API with an API key credential
Troubleshooting
- Ensure the Location ID is valid and exists in the Square system to avoid errors.
- Verify that any JSON fields (e.g., payment requests) are correctly formatted to prevent request failures.
- If the API returns an error, check that the API key credential is correctly configured and has the necessary permissions.
Links
- Square API - Create Invoice - Official Square API documentation for creating invoices.