Create a currency
Creates a user-defined currency with the specified name and currency code. Exchange rates for user-defined currencies are not updated automatically by QuickBooks Desktop; update them manually as needed.
Headers
The ID of the End-User to receive this request.
The ID of the End-User to receive this request.
Request body
Example request
{
"name": "United States Dollar",
"isActive": true,
"currencyCode": "USD",
"currencyFormat": {
"thousandSeparator": "comma",
"thousandSeparatorGrouping": "xx_xxx_xxx",
"decimalPlaces": "2",
"decimalSeparator": "period"
}
}Response
Returns the newly created currency.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_currency",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "United States Dollar",
"isActive": true,
"currencyCode": "USD",
"currencyFormat": {
"thousandSeparator": "comma",
"thousandSeparatorGrouping": "xx_xxx_xxx",
"decimalPlaces": "2",
"decimalSeparator": "period"
},
"exchangeRate": 1.2345,
"asOfDate": "2024-08-01"
}Changes
Changed in 3 of the 46 revisions of this API.108
- ▲
response property
asOfDatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
exchangeRatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
isUserDefinedCurrencylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
added
subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed
subschema #2from theresponse propertyoneOflist for the response statusresponse-property-one-of-removed
- ▲
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
added
subschema #2to theresponse propertyoneOflist for the response statusresponse-property-one-of-added
- ○
removed
subschema #2from theresponse propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
response property
asOfDatelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
exchangeRatelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
isUserDefinedCurrencylist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ▲
- ▲
response property
asOfDatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
exchangeRatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
isUserDefinedCurrencylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
added
subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed
subschema #2from theresponse propertyoneOflist for the response statusresponse-property-one-of-removed
- ▲