An exchange rate type is a container record to hold the exchange rates (from one currency to another) and subsequently the exchange rate entries. All companies have the Intacct Daily Rate, but this is hidden from the API list and get operations.


List Exchange Rate Types

readByQuery

<readByQuery>
    <object>EXCHANGERATETYPES</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use EXCHANGERATETYPES
fields Required string Comma separated list of fields on the object to list. Use * to return all fields.
query Required string SQL-like query based on fields on the object. Illegal XML characters must be properly encoded. The following SQL operators are supported: <, >, >=, <=, =, like, not like, in, not in. When doing NULL comparisons: IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. Single quotes in any operands must be escaped with a backslash - For example, the value Erik's Deli would become 'Erik\'s Deli'.
pagesize Optional integer Set a custom page size between 1 and 1000 items (Default: 100)

Get Exchange Rate Type

read

<read>
    <object>EXCHANGERATETYPES</object>
    <keys>1</keys>
    <fields>*</fields>
</read>

Parameters

Name Required Type Description
object Required string Use EXCHANGERATETYPES
keys Required string The exchange rate type RECORDNO to get
fields Required string Comma separated list of fields on the object to get. Use * to return all fields.

Get Exchange Rate Type by Name

readByName`

<readByName>
    <object>EXCHANGERATETYPES</object>
    <keys>My Custom Rate</keys>
    <fields>*</fields>
</readByName>

Parameters

Name Required Type Description
object Required string Use EXCHANGERATETYPES
keys Required string The object ID to get
fields Required string Comma separated list of fields on the object to get. Use * to return all fields.

List Exchange Rates

readByQuery

<readByQuery>
    <object>EXCHANGERATE</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use EXCHANGERATE
fields Required string Comma separated list of fields on the object to list. Use * to return all fields.
query Required string SQL-like query based on fields on the object. Illegal XML characters must be properly encoded. The following SQL operators are supported: <, >, >=, <=, =, like, not like, in, not in. When doing NULL comparisons: IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. Single quotes in any operands must be escaped with a backslash - For example, the value Erik's Deli would become 'Erik\'s Deli'.
pagesize Optional integer Set a custom page size between 1 and 1000 items (Default: 100)

Get Exchange Rate

read

<read>
    <object>EXCHANGERATE</object>
    <keys>1</keys>
    <fields>*</fields>
</read>

Parameters

Name Required Type Description
object Required string Use EXCHANGERATE
keys Required string The exchange rate RECORDNO to get
fields Required string Comma separated list of fields on the object to get. Use * to return all fields.

Create Exchange Rate

create

<create>
    <EXCHANGERATE>
        <TYPENAME>Test</TYPENAME>
        <FROM_CURRENCY>CAD</FROM_CURRENCY>
        <TO_CURRENCY>USD</TO_CURRENCY>
        <EXCHANGERATEENTRIES>
            <EXCHANGERATEENTRY>
                <EFFECTIVE_START_DATE>01/12/2015</EFFECTIVE_START_DATE>
                <EXCHANGE_RATE>4.56</EXCHANGE_RATE>
                <RECIPROCAL_RATE></RECIPROCAL_RATE>
            </EXCHANGERATEENTRY>
            <EXCHANGERATEENTRY>
                <EFFECTIVE_START_DATE>02/20/2015</EFFECTIVE_START_DATE>
                <EXCHANGE_RATE>2.63</EXCHANGE_RATE>
                <RECIPROCAL_RATE></RECIPROCAL_RATE>
            </EXCHANGERATEENTRY>
        </EXCHANGERATEENTRIES>
    </EXCHANGERATE>
</create>

Parameters

Name Required Type Description
EXCHANGERATE Optional object The object to create

EXCHANGERATE

Name Required Type Description
TYPENAME Required string The exchange rate type name
FROM_CURRENCY Required string From currency code
TO_CURRENCY Required string To currency code
EXCHANGERATEENTRIES Optional array[EXCHANGERATEENTRY] Exchange rate entries

EXCHANGERATEENTRY

Name Required Type Description
EFFECTIVE_START_DATE Required string The exchange rate type name
EXCHANGE_RATE Required currency Exchange rate
RECIPROCAL_RATE Optional currency Reciprocal rate. If left blank Intacct calculates this for you.

List Exchange Rate Entries

readByQuery

<readByQuery>
    <object>EXCHANGERATEENTRY</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use EXCHANGERATEENTRY
fields Required string Comma separated list of fields on the object to list. Use * to return all fields.
query Required string SQL-like query based on fields on the object. Illegal XML characters must be properly encoded. The following SQL operators are supported: <, >, >=, <=, =, like, not like, in, not in. When doing NULL comparisons: IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. Single quotes in any operands must be escaped with a backslash - For example, the value Erik's Deli would become 'Erik\'s Deli'.
pagesize Optional integer Set a custom page size between 1 and 1000 items (Default: 100)

Get Exchange Rate Entry

read

<read>
    <object>EXCHANGERATEENTRY</object>
    <keys>1</keys>
    <fields>*</fields>
</read>

Parameters

Name Required Type Description
object Required string Use EXCHANGERATEENTRY
keys Required string The exchange rate entry RECORDNO to get
fields Required string Comma separated list of fields on the object to get. Use * to return all fields.

Provide feedback