Skip to main content

Get Invoice Exchange Rate

GET 

/api/purchase-orders/:purchaseOrder/invoice-currency-rate

Get the exchange rate a new bill on this purchase order would take for a given invoice date — base-currency units per one unit of the order's currency.

Required scope: purchase-orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Response fields:

  • rate — the rate for the date
  • source — where it came from: feed (the daily rate feed on or before the date), history (a dated manual rate), default (the order is in the base currency) or purchase_order (no dated rate exists, so the order's own rate is kept)
  • purchase_order_rate — the rate stored on the purchase order, for comparison

Create Purchase Invoice applies this same rate when currency_rate is left out.

Request​

Responses​

OK

Response Headers
    Content-Type