Actions12
- Sales Order Actions
- Customer Actions
- Item Actions
- Invoice Actions
Overview
This node interacts with the MYOB Business API to manage invoices, among other resources like sales orders, customers, and items. Specifically, for the Invoice - Get operation, it retrieves detailed information about a single invoice using its unique identifier (UID). This is useful in scenarios where you need to fetch invoice data for reporting, auditing, or integration with other systems such as accounting software or CRM platforms.
Practical example:
You have an automation workflow that triggers when a new payment is received. You want to retrieve the corresponding invoice details from MYOB to verify amounts, customer info, or line items before updating your internal records or sending a confirmation email.
Properties
| Name | Meaning |
|---|---|
| Invoice UID | The unique identifier of the invoice you want to retrieve from MYOB. |
Output
The output JSON contains the full invoice object as returned by the MYOB API endpoint /Sale/Invoice/Item/{invoiceUid}. This typically includes:
- Invoice metadata (e.g., date, status, total amount)
- Customer details linked to the invoice
- Line items on the invoice with quantities, prices, descriptions
- Tax and shipping information if applicable
- Any comments or journal memos associated with the invoice
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the MYOB Business API via OAuth2 authentication.
- The node expects valid credentials configured in n8n for accessing the MYOB API.
- The company file GUID must be available from the credentials to construct API requests.
Troubleshooting
Error: "No input data received"
Occurs if the node is executed without any incoming data items. Ensure that the previous node provides input or configure the node to run without input if supported.Error: "Invoice UID parameter cannot be empty" (implied from similar patterns)
Make sure the Invoice UID property is set and not empty; it is required to identify which invoice to fetch.API errors or empty responses
If the MYOB API returns invalid or empty data, check that the Invoice UID exists and that the API credentials have sufficient permissions.Network or authentication failures
Verify that the OAuth2 token is valid and refreshed, and that network connectivity to MYOB API endpoints is stable.
