What it is for
Connect Moon Invoice with the rest of your apps.
Moon Invoice has no triggers: use it as an action in flows started by other apps, a schedule or a webhook.
Set up the connection
Authentication type: Custom credentials
- 1Sign in to Moon Invoice and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a Moon Invoice step, click "Connect" and paste it into: Email, Secret Key.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
| Connection field | Type | Required |
|---|---|---|
| Text | Yes | |
| Secret Key | Text | Yes |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Add New Contact: fill in Company; use the data selector to map values from earlier steps.
- Create Credit Note: fill in Company, Contact, Credit Note Number, Entry Date; use the data selector to map values from earlier steps.
- Create Estimate: fill in Company, Contact, Estimate Number, Entry Date; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Actions (7)
Operations available as flow steps. Expand each one to see its fields.
Add New Contact33 fields
| Field | Type | Required |
|---|---|---|
| Company | List (from your account) | Yes |
| Organization | Text | No |
| First Name | Text | No |
| Last Name | Text | No |
| Text | No | |
| Mobile Number | Text | No |
| Business Number | Text | No |
| Home Number | Text | No |
| VAT Number | Text | No |
| Registration Number | Text | No |
| Fax Number | Text | No |
| Internal Notes | Long text | No |
| Hourly Rate | Number | No |
| Currency Code | Text | No |
| Is Customer | Yes / No | No |
| Is Vendor | Yes / No | No |
| Payment Reminder | Yes / No | No |
| Billing Address Street 1 | Text | No |
| Billing Address Street 2 | Text | No |
| Billing Address City | Text | No |
| Billing Address State | Text | No |
| Billing Address Country | Text | No |
| Billing Address Zip | Text | No |
| Shipping Address Street 1 | Text | No |
| Shipping Address Street 2 | Text | No |
| Shipping Address City | Text | No |
| Shipping Address State | Text | No |
| Shipping Address Country | Text | No |
| Shipping Address Zip | Text | No |
| Payment Terms (Days) | Number | No |
| Opening Balance | Number | No |
| Opening Balance Date | Text | No |
| Bank Details | Long text | No |
Create Credit Note26 fields
| Field | Type | Required |
|---|---|---|
| Company | List (from your account) | Yes |
| Contact | List (from your account) | Yes |
| Credit Note Number | Text | Yes |
| Entry Date | Text | Yes |
| Credit Note Header | Text | No |
| Credit Note Terms | Long text | No |
| Notes | Long text | No |
| Selected Currency | Text | No |
| Discount Before Tax | Yes / No | No |
| Round Off | Yes / No | No |
| Rounded Amount | Number | No |
| Discount Percentage | Number | No |
| Billing Address Street 1 | Text | No |
| Billing Address Street 2 | Text | No |
| Billing Address City | Text | No |
| Billing Address State | Text | No |
| Billing Address Country | Text | No |
| Billing Address Zip | Text | No |
| Shipping Address Street 1 | Text | No |
| Shipping Address Street 2 | Text | No |
| Shipping Address City | Text | No |
| Shipping Address State | Text | No |
| Shipping Address Country | Text | No |
| Shipping Address Zip | Text | No |
| Product Data (JSON) | Long text | No |
| Task Data (JSON) | Long text | No |
Create Estimate29 fields
| Field | Type | Required |
|---|---|---|
| Company | List (from your account) | Yes |
| Contact | List (from your account) | Yes |
| Estimate Number | Text | Yes |
| Entry Date | Text | Yes |
| Estimate Header | Text | No |
| Estimate Terms | Long text | No |
| Estimate Notes | Long text | No |
| Selected Currency | Text | No |
| Shipping Cost | Number | No |
| Shipping Method | Text | No |
| Discount Amount | Number | No |
| Discount Before Tax | Yes / No | No |
| Round Off | Yes / No | No |
| Rounded Amount | Number | No |
| Discount Percentage | Number | No |
| Billing Address Street 1 | Text | No |
| Billing Address Street 2 | Text | No |
| Billing Address City | Text | No |
| Billing Address State | Text | No |
| Billing Address Country | Text | No |
| Billing Address Zip | Text | No |
| Shipping Address Street 1 | Text | No |
| Shipping Address Street 2 | Text | No |
| Shipping Address City | Text | No |
| Shipping Address State | Text | No |
| Shipping Address Country | Text | No |
| Shipping Address Zip | Text | No |
| Product Data (JSON) | Long text | No |
| Task Data (JSON) | Long text | No |
Create Expense18 fields
| Field | Type | Required |
|---|---|---|
| Company | List (from your account) | Yes |
| Date | Text | Yes |
| Expense Number | Text | Yes |
| Contact | List (from your account) | Yes |
| Expense Cost | Number | No |
| Expense Notes | Long text | No |
| Total Amount | Number | No |
| Category Name | Text | No |
| Payment Type | Text | No |
| Selected Currency | Text | No |
| Is Recurring | Yes / No | No |
| Recurring End Date | Text | No |
| Recurring Interval (Days) | Number | No |
| Recurring Period | Fixed list | No |
| Round Off | Yes / No | No |
| Rounded Amount | Number | No |
| Tax IDs (JSON) | Long text | No |
| Tax is Inclusive | Yes / No | No |
Create Invoice37 fields
| Field | Type | Required |
|---|---|---|
| Company | List (from your account) | Yes |
| Contact | List (from your account) | Yes |
| Invoice Number | Text | Yes |
| Entry Date | Text | Yes |
| Due Date | Text | Yes |
| Invoice Header | Text | No |
| Terms | Long text | No |
| Notes | Long text | No |
| Selected Currency | Text | No |
| Shipping Cost | Number | No |
| Shipping Method | Text | No |
| PO Number | Text | No |
| Discount Amount | Number | No |
| Discount Before Tax | Yes / No | No |
| Deposite Amount | Number | No |
| Amount Due | Number | No |
| Amount Paid | Number | No |
| Total Amount | Number | No |
| Sub Total | Number | No |
| Is Recurring | Yes / No | No |
| Recurring End Date | Text | No |
| Recurring Period | Fixed list | No |
| Billing Address Street 1 | Text | No |
| Billing Address Street 2 | Text | No |
| Billing Address City | Text | No |
| Billing Address State | Text | No |
| Billing Address Country | Text | No |
| Billing Address Zip | Text | No |
| Shipping Address Street 1 | Text | No |
| Shipping Address Street 2 | Text | No |
| Shipping Address City | Text | No |
| Shipping Address State | Text | No |
| Shipping Address Country | Text | No |
| Shipping Address Zip | Text | No |
| Payment Methods (JSON) | Long text | No |
| Product Data (JSON) | Long text | No |
| Task Data (JSON) | Long text | No |
Create Product18 fields
| Field | Type | Required |
|---|---|---|
| Company | List (from your account) | Yes |
| Product Name | Text | Yes |
| Product Code | Text | No |
| Product Buy Cost | Number | No |
| Product Unit Cost | Number | No |
| Product Type | Text | No |
| Product Quantity | Number | No |
| Product Notes | Long text | No |
| Product Category | Text | No |
| Product Currency | Text | No |
| HSN Code | Text | No |
| Stock Manage | Yes / No | No |
| Show In Menu | Yes / No | No |
| Product Serialized | Yes / No | No |
| Product Batched | Yes / No | No |
| Product Diet Type | Fixed list | No |
| Product Buy Tax (JSON) | Long text | No |
| Product Sales Tax (JSON) | Long text | No |
Create Task9 fields
| Field | Type | Required |
|---|---|---|
| Company | List (from your account) | Yes |
| Task Name | Text | Yes |
| Project | List (from your account) | Yes |
| Hours | Number | No |
| Notes | Long text | No |
| Rate | Number | No |
| Task Type | Text | No |
| SAC Code | Text | No |
| Task Tax (JSON) | Long text | No |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
