Actions30
- Accommodations API Actions
- Administrations API Actions
- Contacts API Actions
- Invoices API Actions
- Price Calculation API Actions
- Rates API Actions
- Reservations API Actions
- Timezones API Actions
Overview
This node interacts with the Starfish API specifically for the Invoices API resource to finalize an invoice. It allows users to finalize an invoice by providing the unique invoice ID and optionally delay the finalization by a specified time in seconds. This is useful in scenarios where invoice finalization needs to be controlled or delayed programmatically, such as in automated billing workflows or financial processing systems.
Use Case Examples
- Automatically finalize an invoice immediately after a booking is confirmed.
- Delay the finalization of an invoice by 2 hours to allow for last-minute changes or reviews.
Properties
| Name | Meaning |
|---|---|
| Invoice ID | Unique identifier of the invoice to be finalized. |
| Delay | Time in seconds to delay the finalization of the invoice. |
| Request Options | Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
invoiceId- The unique identifier of the finalized invoice.status- The status of the invoice after the finalization operation.finalizedAt- Timestamp indicating when the invoice was finalized.
Dependencies
- Requires an API key credential for authentication with the Starfish API.
Troubleshooting
- Ensure the provided Invoice ID is correct and exists in the system to avoid 'Invoice not found' errors.
- If using delay, verify the delay value is a valid number representing seconds.
- Check network connectivity and proxy settings if requests fail or time out.
- If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.
Links
- Starfish API Documentation - Finalize Invoice - Official documentation for the finalize invoice operation in the Starfish API.