HomeGuidesAPI ReferenceChangelog
Terms of Use
Changelog

3.256.0 release notes

  1. ✨ New features
    1. Added the experimental POST /public-api/actions/transaction/v1.0/{transaction}/set-custom-fields endpoint to update transaction custom field values, including on finalized transactions, without changing financial data or transaction status. Send a customFields object keyed by field identifier; omitted identifiers remain unchanged, and null clears a value.
    2. Added the optional customFields response property to GET and POST /public-api/resources/transactions/v1.0, and GET and PATCH /public-api/resources/transactions/v1.0/{transaction}. Values are keyed by field identifier; applicable fields without values return null, and the property is omitted when no fields apply.
    3. Added custom field filtering through filter[customFields] on GET /public-api/resources/transactions/v1.0. Nonempty criteria for unknown, inaccessible, disabled, deleted, or non-filterable custom fields are ignored.
    4. Added the read-only boolean isBaseTariff to responses from GET and POST /public-api/resources/tariffs/v1.0, and GET, PATCH, and PUT /public-api/resources/tariffs/v1.0/{tariff}. It indicates whether the tariff is the base tariff in at least one tariff group, including groups not visible to the API token; it is not included in tariff snapshots.
    5. Added support for electricityRateSource: "integration" and the integrationId request property on POST /public-api/resources/reimbursement-policies/v1.0 and PATCH /public-api/resources/reimbursement-policies/v1.0/{reimbursementPolicy}. The integration must belong to the policy's operator and is required when selecting this source; integrationId is also returned for integration-based policies by these endpoints and by GET /public-api/resources/reimbursement-policies/v1.0 and GET /public-api/resources/reimbursement-policies/v1.0/{reimbursementPolicy}.
  2. 🔧 Improvements
    1. Made the electricity rate source of integration-based reimbursement policies editable through PATCH /public-api/resources/reimbursement-policies/v1.0/{reimbursementPolicy}. Changing electricityRateSource clears the previous source's reference automatically, and sending integrationId alone changes the integration without changing the source.
    2. Expanded the supported notifications values with user.UserGroup.changed on GET and POST /public-api/notifications/v1.0, GET and PUT /public-api/notifications/v1.0/{notification}, GET and POST /public-api/notifications/v2.0, GET and PUT /public-api/notifications/v2.0/{notification}, and POST /public-api/actions/notifications/v1.0/{notification}/resend. Consumers can subscribe to user group changes and select this notification type when resending failed notifications.