# Update exchange rates in journal line **PATCH /api-v1/journal/line** ## Servers - Generated server url: https://wyzio.app (Generated server url) ## Parameters ### Headers - **WEAL-TOKEN** (string) API token (can be retrieved from account settings) - **TARGET-ORGANIZATION-ID** (integer) ID of organization, for which the operation must be performed ### Query parameters - **date** (string(date-time)) - **companyCurrencyId** (integer) ### Body: application/json (object) - **id** (integer) - **journalEntryId** (integer) - **accountId** (integer) - **accountNumber** (integer) - **description** (object) - **accountCurrencyId** (integer) - **accountCurrencyCode** (string) - **foreignCurrencyId** (integer) - **foreignCurrencyCode** (string) - **accountDebit** (string) - **accountCredit** (string) - **foreignDebit** (string) - **foreignCredit** (string) - **companyDebit** (string) - **companyCredit** (string) - **departmentId** (integer) - **departmentName** (string) - **contactId** (integer) - **contactName** (string) - **orderId** (integer) - **orderIdToDisplay** (string) - **articleId** (integer) - **articleIdToDisplay** (object) - **vatCodes** (array[object]) - **vatCodesConcatenated** (object) - **accountName** (object) - **officeId** (integer) - **officeName** (string) ## Responses ### 200 OK #### Body: application/json (object) - **id** (integer) - **journalEntryId** (integer) - **accountId** (integer) - **accountNumber** (integer) - **description** (object) - **accountCurrencyId** (integer) - **accountCurrencyCode** (string) - **foreignCurrencyId** (integer) - **foreignCurrencyCode** (string) - **accountDebit** (string) - **accountCredit** (string) - **foreignDebit** (string) - **foreignCredit** (string) - **companyDebit** (string) - **companyCredit** (string) - **departmentId** (integer) - **departmentName** (string) - **contactId** (integer) - **contactName** (string) - **orderId** (integer) - **orderIdToDisplay** (string) - **articleId** (integer) - **articleIdToDisplay** (object) - **vatCodes** (array[object]) - **vatCodesConcatenated** (object) - **accountName** (object) - **officeId** (integer) - **officeName** (string) ### 400 400 Bad Request ### 401 401 Unauthorized ### 403 403 Access Denied ### 404 404 Not Found ### 500 500 Internal Server Error [Powered by Bump.sh](https://bump.sh)