Mercoa Changelog

API/SDK: 0.6.4 - React 0.0.67

Dec 12, 2024

API:

Invoice:

  • Added taxAmount and shippingAmount to invoices. In a future release, OCR will pull tax and shipping amount on the invoice level instead of the line item level by default. This makes Mercoa more consistent with most accounting software.
  • Added search filters for creatorUserId on invoices and other invoice search endpoints.
  • Added ability to search by NULL metadata values. This is useful for filtering invoices by metadata that is not set.
  • Updated invoice events endpoint to return more information.

React:

  • Added <PayableTaxAndShipping /> to support tax and shipping on the invoice level.

API/SDK: 0.6.1 - React 0.0.64

Nov 18, 2024

API:

Transactions:

  • New transaction endpoints. These endpoints allows you to search for and retrieve transactions, which include failure reasons and check numbers. See documentation for more details.

Approval Rules:

  • Added ability to select ANY approver on any invoice approval slot. This means users will not be required to select an unique approver when creating an invoice.
  • Added autoAssign to approval policies to automatically assign approvers to the invoice.

Vendor Credits:

  • Added support for vendorCredits! See documentation for more details.
  • Also added support for vendor credits in the vendor portal

Entity Customizations:

  • Added more support for entity customizations, including:
    • Customizing the available payment methods for an entity
    • Customizing the available metadata fields for an entity
    • Customizing the OCR response for an entity (line items, metadata, AI predictions)
    • Customizing entity level notifications

Payments:

Checks:

  • You can now add the invoice noteToSelf on the remittance stub of the check by setting the printDescription payment destination options

React:

  • Support for vendorCredits in the <PayableDetails /> and <Counterparty> components. See documentation for more details.
  • APPROVE and REJECT buttons on <PayableDetails /> will save the invoice changes before submitting.
  • Added more props for component customizations

API/SDK: 0.5.11 - React 0.0.62

Nov 1, 2024

API:

  • Added batchPayment support to invoices. This will allow users to pay multiple invoices in a single transaction. See documentation for more details.

React:

  • Added counterpartyPreSubmit support to all <Counterparties /> components, as well as <PayableDetails />. This will allow you to validate and modify the counterparty data before it is saved.
  • Added batchPayment support to <PayableDetails /> with the <PaymentOptions/> sub-component. This will allow users to pay multiple invoices in a single transaction.
  • Multiple bug fixes and improvements.

API/SDK: 0.5.10 - React 0.0.61

Oct 21, 2024

Payments:

  • New Accelerated ACH for D+0 payments. Contact us to learn more.

Customization:

API:

  • Added support for using user foreignIds for comments and approvals in the API path.

Entity Groups:

  • Added copyUsersFrom to add-entities endpoint. This lets you copy users/roles from an existing entity in the group.

React:

  • Improved the <Counterparties /> component.
  • Improved date pickers in all components.
  • Fixes to <StatusTabs /> component.

API/SDK: 0.5.9 - React 0.0.59

Oct 5, 2024

API:

Entity:

  • Added emailTemplates endpoint to entity. This endpoint lets you manage email templates for an entity.

Payment Methods:

  • Bank accounts can now be created with Plaid Access Tokens and Plaid Processor Tokens, as well as the existing Plaid Public Tokens. This means if you have already set up Plaid for your organization, you can now use it to create bank accounts without requiring users to link their bank accounts again.

Approval Policies:

Invoices:

  • Invoices can now be created with an entity group as the creator. This is useful for creating invoices for a group of entities in the UNASSIGNED state.

Organization:

  • Added alternativeInboxDomains to organization to support custom inbox domains on multiple domains.

Webhooks:

  • Added counterparty.onboarding.completed webhook

React:

  • Simplified the <ApprovalPolicies /> component
  • Improvements to onboarding and counterparty components
  • Improvements to <ReceivableDetails /> <PayableDetails /> components
  • Support for creating invoices at the entity group level

API/SDK: 0.5.8 - React 0.0.58

Sep 10, 2024

API:

New Endpoints:

Metadata Improvements:

Metrics Improvements:

API/SDK: 0.5.7 - React 0.0.57

Sep 2, 2024

API:

  • Added category to line items
  • Added foreignId support to all entity user endpoints.

React:

  • Added additionalRoles to approval policies
  • Improved support for Entity Groups
  • Added GroupPayablesTable component to display UNASSIGNED invoices at the group level

API/SDK: 0.5.6 - React 0.0.56

Aug 29, 2024

API:

  • Added foreignId to support most entity ID parameters (invoice, counterparty, etc.).
  • Added addEntities and removeEntities endpoints to entity groups endpoints.
  • Added ability to update representatives.

API/SDK: 0.5.5 - React 0.0.55

Aug 25, 2024

New Feature:

  • Entity Groups are now generally available! You can now create and manage entity groups in the dashboard as well.

API:

  • Added ability to generate a JWT token for an entity group. See documentation for more details.

  • Added metadata to entity update and entity create requests. This lets you add metadata to an entity in a single request.

  • Added metadata to entity get response. This lets you get metadata from an entity in a single request.

React:

  • Added support for entity group tokens in the <MercoaSession> component.

API/SDK: 0.5.2 - React 0.0.53

Aug 15, 2024

New Feature:

  • Added support for recurring payments. You can now set a payment schedule for your invoices, and Mercoa will automatically process the invoice on the schedule.

API:

  • Added more options to the invoiceOrderByField enum. This will allow you to order by the deduction date, invoice date, and settlement date.
  • Added notifyPayeeCounterparty and notifyPayorCounterparty options to notification policies. This lets you send and control notifications to the vendor (AP) or customer (AR).
  • Quantity is now a double instead of an integer in the lineItem object.

React:

  • Major bug fixes for the <Approvals /> component.
  • Added ability to customize columns in the <Payables /> component.
  • Added support for recurring payments.

API/SDK: 0.5.1 - React 0.0.52

Jul 31, 2024

API:

  • Added notifyPayeeCounterparty and notifyPayorCounterparty options to notification policies. This lets you send and control notifications to the vendor (AP) or customer (AR).

React:

  • OCR now automatically pulls payment details from invoices to create custom payment methods.
  • <EntityOnboarding> component now triggers an "onboardingComplete" callback when the onboarding flow is complete.

API/SDK: 0.5.0

Jul 31, 2024

API:

  • Added dateType filter for invoice search and invoice metrics. You can now filter by start and end date for:
    • INVOICE_DATE
    • DEDUCTION_DATE
    • DUE_DATE
    • SETTLEMENT_DATE
    • CREATED_AT
    • UPDATED_AT
  • All invoice endpoints now support using the foreignId as the invoiceId in the path. This will allow you to use your own IDs for invoices instead of the Mercoa generated IDs.
  • All paymentMethod endpoints for custom payment methods now support using the foreignId as the paymentMethodId in the path. This will allow you to use your own IDs for payment methods instead of the Mercoa generated IDs.

API/SDK: 0.4.9 -- React: 0.0.51

Jul 26, 2024

API:

  • Entity Logos are now returned in the logo field of the entity response.

React:

  • BREAKING: Renamed onRedirect to onUpdate and made this prop optional. It will be called when the invoice is updated or deleted.
  • Added support for supportedSchedulePaymentDates in the <PayableOverview> component, which enables overrides for setting payments dates on weekends, holidays, and in the past.

API/SDK: 0.4.8 -- React: 0.0.49

Jul 23, 2024

API:

Invoice Line Items:

Payment Methods:

  • You can now filter payment methods across all entities!
  • You can now add metadata to a payment method.
  • You can now freeze a payment method. The option will still be returned, but will be marked as frozen and cannot be used in an invoice.

React:

  • Updated PDF viewer to use react-pdf instead of the native PDF viewer.
  • Support for frozen payment methods

API/SDK: 0.4.7 -- React: 0.0.48

Jul 18, 2024

API:

Invoice Filters:

Notifications:

Entity Groups:

  • You can now manage users at the entity group level. See documentation for more details.

React:

  • Fields on the <PayableForm/> are now automatically set to readOnly depending on the invoice status.
  • BREAKING: The <PayableDetails /> component now exposes new customization options for the <PayableForm/> and <PayableDocument/>. Please see the documentation for more details.

API/SDK: 0.4.6 -- React: 0.0.47

Jul 10, 2024

API:

  • Added minAmount and maxAmount to custom payment method schemas
  • Added ability to override fees on invoices that use custom payment methods. See documentation for more details.
  • Added new calculatePaymentTiming endpoint to calculate the payment timing for an invoice. See documentation for more details.

SDK

BREAKING: renamed method fees.calculate to calculate.fee to match the new endpoint structure

React:

  • Uses new calculatePaymentTiming endpoint to display payment timing information on invoices
  • Full customization of payment timing and fee components

API/SDK: 0.4.5

Jul 7, 2024
  • All entity endpoints now support using the foreignId as the entityId in the path. This will allow you to use your own IDs for entities instead of the Mercoa generated IDs.
  • Experimental support for entityGroups. Entity groups allow you to group entities together and query invoices/metrics across the group. See the documentation for more details.

API/SDK: 0.4.4 - React: 0.0.46

Jul 2, 2024

API:

React:

  • Fees are now displayed to the user
  • Available balance is now shown on custom payment methods
  • Payment Methods added inline in the invoice details form no longer use a popup

API/SDK: 0.4.2 - React: 0.0.43

Jun 20, 2024

API:

  • ApprovalPolicy now returns createdAt and updatedAt fields.
  • CustomPaymentMethodSchema now accepts an estimatedProcessingTime field. This field is used to display an estimated processing time for a payment method on the invoice details page.

React:

  • <ReceivableDetails /> now shows real time previews of the PDF and Payment Portal.
  • <PayableDetails /> now supports payment timing information.

API/SDK: 0.4.1

Jun 18, 2024

Webhooks types are now included in the Mercoa SDK and Docs. See the webhooks documentation for more details.

API/SDK: 0.4.0

Jun 13, 2024

BREAKING:

API:

  • Added roundedCorners option to organization colorScheme options. This lets you control the border-radius of Mercoa React/iFrame components.
  • Added accountId to counterparties endpoint. This lets you specify the account ID the vendor has on file for a customer.
  • Added isNetworkPayee and isNetworkPayer to entities endpoint. This lets you mark an entity as available to any customer on your platform.

API/SDK: v0.3.39

Jun 4, 2024

API Changes:

API/SDK: v0.3.37

May 31, 2024

API Changes:

  • Added find users endpoint to filter and find users in an entity.
  • Added entity customization endpoint to customize the available payment methods and metadata fields for an entity. This lets you turn off payment methods like ACH or checks for individual entities, and hide metadata fields that are not relevant to an entity.
  • Added ability to set a custom ACH entry description for an invoice. This will show up on the payor's and vendor's bank statement as the description for the ACH entry. See documentation for more details.

API/SDK: v0.3.36

May 27, 2024

BREAKING:

  • OCR requests now take the entityId and vendorNetwork as body parameters instead of a query parameters.

API/SDK/React: v0.3.35

May 22, 2024

API Changes:

  • Added invoice metadata validation rules. See documentation for more details.

React Component Changes:

BREAKING:

  • The <InvoiceInbox /> component has been renamed to <Payables />
  • The <InvoiceTable /> component has been renamed to <PayablesTable />
  • The <InvoiceDetails /> component has been renamed to <PayableDetails />

New:

  • Approvals component now has two states, one for editing and one for viewing the policy.
  • Added excludePayables and excludeReceivables filters to the <InvoiceMetrics /> component.
  • Added new <Receivables /> component to display receivables for an entity. This component is similar to the <Payables /> component, but displays receivables instead of payables.
  • Added new <ReceivableDetails /> component to create and display details for a receivable.

API/SDK/React: v0.3.34

May 13, 2024

API Changes:

API/SDK/React: v0.3.33

May 2, 2024

SDK Changes:

API Changes:

  • Added getSourceEmail endpoint to return the source email that created an invoice.
  • Added externalAccountingSystem to organization response.

React Components:

  • Removed multiple dependencies to reduce bundle size
  • Added more <InvoiceDetails /> customization options, including the ability to choose which side the document preview shows up
  • Added ability to toggle between the invoice document and the source email for the invoice

API/SDK/React: v0.3.32

Apr 23, 2024

API Changes:

  • Added invoiceMetrics to the /findCounterparties endpoint. This will return the total amount/count of invoices for a counterparty, as well as total/count grouped by invoice status.

API/SDK/React: v0.3.29

Apr 19, 2024

API Changes:

  • The search parameter on the /invoices, /entity/{entityId}/invoices, and /invoice-metrics endpoints now searches by vendor, invoice number, and amount!
  • Added metadata parameter to the /invoices and /entity/{entityId}/invoices endpoints. This will allow you to filter for invoices with specific custom field values, like a project ID or PO number.

React components have also been updated to take advantage of these new features.

API/SDK: v0.3.28 - React: v0.0.26

Apr 10, 2024

API Changes:

  • Added flag on bank account check options to specify using a signatory name or image for the signature on a check.
  • Added returnByDate option to invoice metrics endpoint. This will return metrics grouped by day for the specified date range.
  • New add-approver endpoint to add an approver to an invoice. This endpoint will intelligently add the approver to the best position in the approval chain, or take an explicit position.

React Component Updates:

  • Added heightOffset parameter to base MercoaSession component. Will be used in all fix height components to offset the height of the component.
  • Added new invoice metrics component to display per-day metrics for a specified date range.
  • Added the approvers column to the default inbox table columns.
  • Inbox table now supports the following mass actions: Add Approver, Submit for Approval, Approve, Reject, and Set Payment Date.

Admin Dashboard Changes:

  • Added SAVE AS ADMIN button to invoice details page. This will allow admins to update invoice details such as the invoice number, invoice date, and due date even after the invoice has been scheduled or paid.

API/SDK: v0.3.26

Mar 19, 2024

API Changes:

  • Removed disableLineItems from token options. This option is now deprecated and will be removed in the future.
  • Added lineItems to token options. This option replaces disableLineItems and instead allows you to make line items OPTIONAL, REQUIRED, or DISABLED.

API/SDK: v0.3.25

Mar 18, 2024

API Changes:

API/SDK: v0.3.22 - React: v0.0.16

Mar 6, 2024

API Changes:

  • Added endpoints to delete and upload attachments to invoices. See documentation for more details.
  • Renamed uploadedImage on invoice creation to document for consistency with other endpoints.

SDK/Docs Changes:

  • Namespaced endpoints to be more organized. Check PDF generation is now nested under the invoice.document namespace, and payment links are nested under the invoice.paymentLink namespace.
  • No breaking changes to the API or previous SDK versions.

React Component Changes:

  • Added checkboxes to all invoice tables to allow for bulk actions.
  • Created standalone component for invoice tables.
  • Added support for OCR to automatically extract vendor payment details from an invoice.

API/SDK: v0.3.19 - React: v0.0.14

Feb 22, 2024

API Changes:

  • Added immediate support for notifications. This will allow users to receive emails for every notification along with a daily email digest.
  • Removed Payment Source Options on Invoices. Moved ACH options to Payment Destination.
  • Added Calculate Fees endpoint to calculate fees for a payment before creating an invoice.
  • Updated Fees on an Invoice to return values of -1 if fees are not requested in the query.

React Component Changes:

  • Fixed Race Conditions on tables
  • Updated Payment Method Selectors on InvoiceDetails component
  • Support for multi-level approvals and approver propagation

API/SDK: v0.3.16 - React: v0.0.9

Feb 7, 2024

API Changes:

  • Added digest support for notifications. This will allow users to receive a daily email digest of their notifications instead of individual emails.

React Component Changes:

  • React component styles are now namespaced to avoid conflicts with other styles.

API/SDK: v0.3.15 - React: v0.0.8

Jan 29, 2024

API Changes:

  • Added support for multi-level approvals.

React Component Changes:

  • This is the first public release of the React component library!

v0.3.14

Jan 22, 2024

API Changes:

v0.3.13

Jan 19, 2024

API Changes:

  • Added support for checks as a payment method.
    • bankAccount can be enabled for checks and used as the payment source when the payment destination is a check.
    • The bank account must be a valid checking account that can have checks written against it.

v0.3.12

Jan 9, 2024

API Changes:

  • Added counterparties and approvals page to token options. This page allows users to add and manage counterparties and approval rules.
  • Full SSN is now required for createEntity and updateEntity endpoints as well as the Business Representative endpoint.

v0.3.8

Dec 12, 2023

API Changes:

  • Added getBalance endpoint to paymentMethods. This endpoint will return the current balance for an payment method. Currently only supported for bank accounts added via Plaid.
  • Removed markPaid option on iframeOptions. Instead, use the new offline payment method type as the destination.

v0.3.6

Dec 11, 2023

API Changes:

Breaking Changes:

  • Removed ownedByOrg on the entity object. Please use isCustomer instead.

  • isCustomer on the entity object is now a required field for entity creation. It remains optional for entity updates.

  • Removed createdById on the invoice object. Please use creatorUserId instead.

  • Removed creatorId on the invoice object. Please use creatorEntityId instead.

New Features:

  • Added glAccountId to invoice line items. This field is used to map line items to a GL Account. This field is optional.

  • Added lineItem option to metadata. This field is used to map metadata to a line item.

v0.3.5

Nov 16, 2023

API Changes:

  • Added creatorEntityId to invoice /create and /update request types. creatorEntityId will become a required field in the future. It is recommended to use this field instead of creatorId which will be deprecated in the future.
  • Added creatorUserId to invoice /create and /update request and response types. It is recommended to use this field instead of createdById which will be deprecated in the future.
  • Added foreignId to invoice /create and /update request and response types. This field is used to store an external ID for an invoice.
  • Renamed ownedByOrg to isCustomer on the entity object. It is recommended to use this field instead of ownedByOrg which will be deprecated in the future.

v0.3.4

Nov 7, 2023

API Changes:

  • Added accountName to bank account payment methods. This is a user facing name for the bank account that is editable by the user.
  • Added vendor and metadata triggers for approval policies.
  • Added INVOICE_FAILED notification type.
  • Added disabled field to notification policies to completely disable a notification type.

Breaking Changes:

  • Approval Policy Triggers are now an array of objects instead of a single object. This allows you to set multiple triggers that all must be true for a single approval policy. The "all" policy is replaced with an empty list of triggers.
    • Current Policies have been migrated automatically

v0.3.3

Oct 18, 2023

API Changes:

  • Added fees object to invoice /find and /get and entity /invoice/find and /invoice/get endpoints
    • To query for fees, pass in query param includeFees=true
  • Added iFrame Token Option for Entity: Enable Mercoa Payments

v0.3.1

Oct 10, 2023

API Changes:

  • Added pagination to counterparty endpoints
  • Added logo to entity create and update endpoints
  • Added creatorId to invoice creation to specify if the payee or payor created the invoice
  • Created generateInvoicePdf endpoint to generate PDF of an invoice

v0.3.0

Sep 29, 2023

Breaking Changes:

  • isPayor and isPayee fields are now required when creating an entity.

New Endpoints:

  • /entity/{entityId}/invoice/{invoiceId}
    • Can be used to get a single invoice for an entity by ID. This can be the full invoice ID (in_11aa2b77-6391-49e4-8c3f-b198009202c1) or the first 8 characters of the ID (11aa2b77).
    • Useful for bank statement reconciliation. The bank statement descriptor will read AP11aa2b77 for the payment associated with this invoice.

Webhooks:

  • Added counterparty.added and counterparty.hidden webhooks

API Changes:

  • Added metadata, serviceStartDate and serviceEndDate fields to invoice line items
  • Added ownedByOrg filter to entity search
  • Added payerId filter to invoice search
  • Added excludePayables and excludeReceivables filters to entity invoice search
  • Added DELETE endpoint for entity metadata

SDK Changes:

  • archivePayees has been renamed to hidePayees
  • mercoaClient.entity.addPayees and mercoaClient.entity.archivePayees are now mercoaClient.entity.counterparty.addPayees and mercoaClient.entity.counterparty.hidePayees

v0.2.15

Sep 25, 2023
  • Added new invoice metadata type KEY_VALUE to support key value pairs.
  • Added new JWT iframe option markPaid to allow users to mark invoices as paid on the iFrame.
  • Added new TokenGenerationOption expiresIn to set the expiration time of a token.

New Endpoints:

  • /entity/{entityId}/counterparties/payees
  • /entity/{entityId}/counterparties/payors
    • These endpoints will return a list of payees or payors for an entity. This replaces the /entity/{entityId}/counterparties endpoint. It is recommended to use these endpoints instead, as they will support pagination, search, and higher performance. The old endpoint will be deprecated in the future.

v0.2.14

Sep 16, 2023

Breaking Changes:

  • Invoice Metrics now takes multiple currency codes and returns a list of metrics for each currency. See documentation for more details.

New:

  • Added VENDOR_NAME and PAYER_NAME to invoice order by options.
  • Improved API Error Messages

v0.2.13

Sep 1, 2023
  • Added metadataSchema parameter to updateOrganization endpoint.
  • Added metadata endpoints to entity. These endpoints allow you to create, update, and get metadata values for an entity.

v0.2.12

Aug 29, 2023
  • Added counterpartyId filter to findCounterparties endpoint.

v0.2.11

Aug 24, 2023

Vendor and Payer Onboarding

  • Added getOnboardingLink and sendOnboardingLink endpoints to the entity object.
    • getOnboardingLink endpoint will return a link to the Mercoa onboarding page for the entity.
    • sendOnboardingLink endpoint will send an email to the entity with a link to the Mercoa onboarding page.
    • Onboarding fields can be configured in the dashboard.

Other Changes

v0.2.10

Aug 10, 2023

Breaking Changes

paymentMethod is now a discriminated union instead of nested objects. This change was made in v0.2.0 but had backwards compatibility. This change is now required. fundedDate has been renamed to settlementDate for consistency with industry norms.

New Features

  • Added defaultSource and defaultDestination parameters to paymentMethod creation and update requests.

  • Added isDefaultSource and isDefaultDestination parameters to paymentMethod response.

    • These parameters will set the payment method as the default source or destination for the entity.
  • Added formationDate to entity creation and update requests.

v0.2.9

Aug 6, 2023

v0.2.8

Jul 31, 2023
  • Added new getToken and getRawToken endpoints for an entity and entity users:
    • getRawToken is a GET endpoint that returns a JWT token for use with the API
    • getToken is a POST endpoint that returns a JWT token for use with the iFrame. This endpoint takes in a configuration object to customize the iFrame experience.
  • Added organization notification configuration endpoints. See documentation for more details.

v0.2.6

Jul 29, 2023
  • Small breaking change for assigning approvers to an invoice.
    • userId has been renamed to assignedUserId for consistency with the response object
    • An additional approvalSlotId is now needed to specify the which slot the user will be assigned to.
    • See documentation for more details.

v0.2.5

Jul 26, 2023
  • Added userNotificationPolicy endpoints to control what notifications are sent to a user. See documentation for more details.

v0.2.4

Jul 19, 2023
  • Changed createPaymentMethod endpoint when creating a bank account to require accountId when using Plaid. This is to support multiple bank accounts per Plaid Link:

    Old:

    {
      type: 'bankAccount',
      ...
      plaidPublicToken: 'public-sandbox-1234',
    }
    

    New:

    {
      type: 'bankAccount',
      ...
      plaid: {
        publicToken: 'public-sandbox-1234',
        accountId: '1234',
      }
    }
    

v0.2.3

Jul 17, 2023
  • Added getToken endpoint for an entity user:
    • /entity/{entityId}/user/{userId}/token
    • mercoaClient.entity.user.getToken(...
    • This endpoint will return a token scoped to a particular user in an entity

v0.2.2

Jul 15, 2023

API

Breaking Changes

entity.find invoice.find and entity.invoice.find now return paginated results.

Previously, the response would be an array of the data requested. Now, the response is an object with the data and metadata about the request.

The response now looks like this:

{
  data: [ ... ],
  count: 100,
  hasMore: true,
}

New Features

Notifications

Notifications are launched in beta! Your entity users can now get notifications for events like INVOICE_APPROVAL_NEEDED and INVOICE_PAID.

Notifications are available in the dashboard, iFrame, and the API. Email notifications are coming soon.

  • Notifications policies can be set on an entity to control what notifications are sent users aside from the default notifications.
  • New endpoint to get notifications for an entity user: entity.entityUser.notifications.find

Improvements

  • Updated UI for managing entity users
  • Updated UI for managing approval policies
  • Created UI for managing entity notifications
  • Updated iFrame UI for approval workflows
  • Improved KYB process for entities to trigger fewer false negatives

v0.2.1

Jul 10, 2023

Python issue with circular dependencies is fixed. Types are once again exported at the root level to make imports easier.

v0.2.0

Jul 8, 2023

API

Breaking Changes

paymentMethod is now a discriminated union instead of nested objects.

Old Payment Method:

{
    type: 'bankAccount'
    bankAccount: {
      routingNumber: '12345'
      accountNumber: '9876'
      ...
  }
}
{
    type: 'check'
    check: {
      addressLineOne: '123 Fake Street'
      stateOrProvince: 'California'
      postalCode: '94105'
      ...
  }
}

New Payment Method:

{
    type: 'bankAccount'
    routingNumber: '12345'
    accountNumber: '9876'
    ...
}
{
    type: 'check'
    addressLineOne: '123 Fake Street'
    stateOrProvince: 'California'
    postalCode: '94105'
    ...
}

SDK

Breaking Changes

The 0.2.0 uses namespaces to make using the SDK more intuitive. The API routes have not changed, only the SDK structure

For example:

mercoaClient.paymentMethod.get() --> mercoaClient.entity.paymentMethod.get()
mercoaClient.entity.getInvoices() --> mercoaClient.entity.invoice.find()
mercoaClient.entityUsers.get() --> mercoaClient.entity.users.get()
mercoaClient.invoice.getDocuments() --> mercoaClinet.invoice.document.getAll()
mercoaClient.invoice.approve() --> mercoaClinet.invoice.approval.approve()
mercoaClient.invoice.getComment() --> mercoaClient.invoice.comment.get()
...etc

New Features

v0.1.1

Jun 13, 2023

Invoice

Breaking Change

  • Removed the createVendor and updateVendor options on invoice creation/update.
  • Vendors need to be explicitly created and linked to payers. See this guide for details.

Dashboard

New pages for managing Entity Users and Approval Policies are live!

v0.1.0

May 30, 2023

BREAKING: Entity Invoices

  • Added pagination, server side search, and server side order to getInvoices
    • By default, this endpoint will now only return 10 results

Invoices

  • Added new fields for approvers and approvalPolicy
  • Added approve and reject endpoints

Approval Policies (beta)

  • You can now set approval policies on entities.
    • Invoices for entities without an approval policy will have invoices go directly from DRAFT to APPROVED
    • Invoices for entities with an approval policy will have invoices go from DRAFT to NEW, and require the rules on the policy to be fulfilled to move into the APPROVED state

v0.0.11

May 25, 2023

Hotfix:

Update Payment Method had the wrong request body parameters that were too restrictive.

v0.0.10

May 24, 2023

What's Changed

Add Payees Endpoint

  • Vendors (Payees) can now be explicitly added to a Payor, and do not need to be on an invoice to be linked to an entity.

JWT Options:

  • You can now disable vendor creation and restrict what vendors a entity sees on the iFrame

Payment Methods

  • Custom Payment Methods can now be updated.

Invoices

  • New fields of invoiceDate and createdBy added to invoice.
  • New field userId added to invoice comment.
  • Invoice Response now returns invoice comments and hasDocuments
  • Invoice Comments return user information on who created the comment

OCR

  • File Hash based deduplication is now live

v0.0.9

May 19, 2023
  • Added new invoice status of Scheduled

  • If you are using the API to create or update invoices, invoices will need to be set as Scheduled instead of New to be scheduled for processing. iFrame users will not be affected.

  • Added supportedCurrencies field to Custom Payment Method Schemas

  • This field is optional and will default to USD. If your payment rail supports currency other than USD or does not support USD, set this value to the supported currencies.

  • Entity Updates

  • Added new fields for isPayor and isPayee. These fields will become mandatory in the future. These fields determine if this entity is a payor or payee (vendor). If the entity is both, then both fields should be set to true.

  • Updated documentation for ownedByOrg field. This field currently determines if the entity is a payor or payee (vendor). In the future, this field will only be used to determine if you have a direct relationship with this entity.

Note: Current behavior will check if the isPayor and isPayee fields are not set and fall back to the old ownedByOrg method of determining who is a payer or vendor.

v0.0.8

May 10, 2023
  • Entity Invoice Metrics
  • Get Transactions
  • BREAKING CHANGE: Counterparty now returns three lists

v0.0.7

May 5, 2023
  • Org Color Settings
  • Plaid Link support
  • Date Range on Email Logs

v0.0.6

Apr 20, 2023

Support for:

  • Invoice Line Items
  • Invoice Service Term

v0.0.5

Apr 10, 2023

Python SDK Update

v0.0.3

Apr 10, 2023

Python SDK

v0.0.2

Apr 7, 2023

Manual webhook retrigger

v0.0.1

Mar 22, 2023

Initial release