We have introduced a new API endpoint for getting the current BILL foreign exchange rate.

You can now get the current BILL foreign exchange rate for a payment made to an international vendor. The BILL foreign exchange rate changes periodically. Use this endpoint to get the current exchange rate based on the payment amount and vendor payment currency.

OperationAPI endpoint
Get BILL foreign exchange rateGET /v3/payments/exchange-rate

Features

MFA widget improvements

The mfaSuccess event is emitted when the MFA setup or MFA challenge is submitted successfully. We have added rememberMeId and deviceId in the event payload.

{
  setup: boolean;
  required: boolean;
  rememberMe?: boolean;
  rememberMeId: string;
  deviceId: string;
}
FieldDescription
rememberMeIdMFA ID generated when the remembeMe is set as true for the user.
deviceIdMobile device name. This is a nickname for the mobile device used to receive the validation token to the registered phone number.

Note that rememberMeId is available in the payload only when MFA rememberMe is set as true for the user.

We have introduced a set of API endpoints for recurring invoice operations. A recurring invoice is a template for creating identical invoices for accepting recurring payments from a customer. Each invoice represents an amount that you are owed by a customer for goods and services that your organization provides.

OperationAPI endpoint
Create a recurring invoicePOST /v3/recurring-invoices
Get list of recurring invoicesGET /v3/recurring-invoices
Get recurring invoice detailsPOST /v3/recurring-invoices/{recurringInvoiceId}
Update a recurring invoicePATCH /v3/recurring-invoices/{recurringInvoiceId}
Replace a recurring invoicePUT /v3/recurring-invoices/{recurringInvoiceId}
Archive a recurring invoicePOST /v3/recurring-invoices/{recurringInvoiceId}/archive
Restore a recurring invoicePOST /v3/recurring-invoices/{recurringInvoiceId}/restore

See Recurring invoices for more information.

In the Bills API response, we have introduced the paidAmount field. This value is the sum of all cleared payments and any credit amount applied to the bill.

See POST /v3/bills in the API reference for more information.

Features

KYC/KYB widget improvements

Under Business details, we have improved how the company address information is displayed.

MFA widget improvements

We have improved the screen design of the 2-step verification success screen.

Manage funding widget improvements

  • On the manage funding method screen, we have added a spinner for BILL to correctly determine whether the user verification banner must be displayed at the top of the screen.
  • When the user clicks Cancel in the user verification flow, we have ensured that the user is correctly navigated to the manage funding list screen.
  • On the add funding method screen, we have ensured that the elements follow the chosen color theme.
  • We have improved messaging on the delete funding account modal.

Bug fixes

KYC/KYB widget

We learned that the correct icon would not be displayed on the successful submission screen. We have now fixed this issue.

Manage funding widget improvements

When the user clicks Add to add a new funding method, we learned that the funding method CTAs would intermittently appear and then be greyed out. We have now fixed this issue.

In the bills API endpoints, we have introduced the quantity and price fields at the line item level.

FieldDescription
quantityBill line item unit quantity
priceBill line item unit price. For a bill in an international currency (not USD), this value is in the local currency.

In the billLineItems array, when you set amount for a bill line item, BILL uses this value as the bill line item amount. You can now set quantity and price for BILL to calculate the bill line item amount. For example, if quantity is 2 and price is 79.99 for a bill line item, BILL calculates and displays the line item amount in the response as 159.98 (2 x 79.99).

In addition, we have introduced the customerId field at the line item level in the classifications object. You can now tag a bill line item with a customerId.

See POST /v3/bills in the API reference for more information.

The spend.transaction.updated webhook notification now includes the currencyData object. The object provides information about the transaction currency.

FieldDescription
exchangeRateBILL exchange rate for currency conversion
exponentNumber of decimal places in the currency format
originalCurrencyAmountTransaction amount in the local currency before conversion
originalCurrencyCodeThree-letter ISO currency code for the transaction amount in the local currency
symbolCurrency symbol, such as $, €, and £

See Spend & Expense transaction notification payloads for more information.

In the bills API endpoints, we have introduced the capability of adding vendor credits to the bill. In the Create a bill (POST /v3/bills), Replace a bill (PUT /v3/bills/{billId}), and Update a bill (PATCH /v3/bills/{billId}) requests, you can now add vendor credits in the vendorCredits object.

FieldDescription
idBILL-generated ID of the vendor credit applied to the bill payment. The value begins with vcr.
amountCredit amount

See Vendor credits for more information.