Actions43
- Location Groups Actions
- Locations Actions
- Roles Actions
- User Groups Actions
- Users Actions
- Affiliate Entity Groups Actions
- Attachments Actions
- Classes Actions
- Contacts Actions
- Department Groups Actions
- Departments Actions
- Document Sequences Actions
- Earning Types Actions
- Email Templates Actions
- Employee Types Actions
- Employees Actions
- Entities Actions
- Exchange Rate Lines Actions
- Exchange Rate Types Actions
- Exchange Rates Actions
- Attachment Folders Actions
- Get Next Value Actions
Overview
This node operation creates a new exchange rate line within a company configuration system. An exchange rate line defines the conversion rate between currencies effective from a specific start date and is linked to an existing exchange rate entity.
Typical use cases include:
- Automating the addition of currency conversion rates for financial systems.
- Managing dynamic currency exchange rates that change over time.
- Integrating with accounting or ERP systems to keep exchange rates up-to-date programmatically.
For example, a finance team could use this node to add a new exchange rate line effective from January 31, 2021, with a specified conversion rate, linking it to an existing exchange rate record.
Properties
| Name | Meaning |
|---|---|
| Effective Start Date | The date when the exchange rate becomes effective. This marks the beginning of the period during which the specified conversion rate applies. |
| Rate | The conversion rate to apply starting from the effective start date. For example, if converting USD to EUR, this would be the USD-to-EUR rate. |
| Exchange Rate | A JSON reference object pointing to the parent exchange rate entity that this line belongs to. It includes keys like key, id, and href identifying the exchange rate. |
| Additional Body Fields | Optional additional fields to include in the request body. These can include: - Key: Unique system-assigned key for the exchange rate line. - Id: Unique identifier (same as key). - Href: URL endpoint for the exchange rate line. - Reciprocal Rate: The inverse of the conversion rate (e.g., EUR to USD if rate is USD to EUR).- Audit: JSON object containing audit metadata such as creation and modification timestamps and user IDs. |
Output
The node outputs JSON data representing the newly created exchange rate line object. This output typically includes all properties sent in the request plus any additional metadata or identifiers assigned by the backend service.
No binary data output is involved.
Dependencies
- Requires an API key credential for authenticating requests to the AvantGuard Sage Intacct Company Configuration API.
- The base URL for the API must be configured in the credentials.
- The node uses JSON-based REST API calls to create exchange rate lines.
Troubleshooting
- Missing Required Fields: Ensure that
Effective Start Date,Rate, andExchange Rateare provided and correctly formatted. Dates should be ISO strings (e.g., "2021-01-31"). - Invalid JSON in Exchange Rate or Audit Fields: The
exchangeRateandauditproperties expect valid JSON objects. Malformed JSON will cause errors. - API Authentication Errors: Verify that the API key credential is correctly set up and has permissions to create exchange rate lines.
- Network or Endpoint Issues: Confirm the base URL is correct and the API endpoint
/ia/api/v1is reachable. - Reciprocal Rate Mismatch: If specifying
reciprocalRate, ensure it correctly represents the inverse ofrateto avoid inconsistent conversions.
Links and References
- AvantGuard Sage Intacct API Documentation (example placeholder link)
- ISO 8601 Date Format
- Currency Exchange Rate Concepts