Skip to main content

iPaaS.com to Brevo Order Mapping Documentation

How the Brevo integration sends an iPaaS.com sale to Brevo as an e-commerce order with its lines, addresses, taxes, discounts and notes: what is sent, in what order, which settings and events it needs, and what to do when an order is refused.

Contents

  • Summary

  • ID Format

  • Deleted Record Support

  • Custom Field Support

  • Mapping Collection Status

  • Duplicate or Conflicting Mappings

  • Supported Child Collections

  • System Caveats

  • Setup Requirements

  • Integration Flow

  • Mappings

  • Error Handling

  • Validation Rules

  • Testing & Validation

  • Additional Notes

  • Related Documents

  • External References

Summary

iPaaS.com sales can be transferred to Brevo as e-commerce orders through the Add/Update Brevo Order FROM iPaaS.com mapping collection and its six child collections, automatically once the sale events are turned on under Outbound Data Flows or with Manual Sync, so that Brevo's purchase automations, segments and emails can use them. Each transfer sends the order's whole current state, with the sale's lines, addresses, taxes, discount codes and notes inside it, and the order's customer is sent to Brevo first when it is not there yet. Orders go only FROM iPaaS.com to Brevo, and Brevo has no way to delete an order.

ID Format

Manual Sync ID Format

Enter the iPaaS.com transaction id, a whole number, for example 186924. A Manual Sync of the transaction sends the order together with its lines, addresses, taxes, discounts and notes. The child collections have no Manual Sync of their own.

Manual Sync window for the Brevo subscription, direction From iPaaS, collection type Order, scope transaction/created, with the transaction id 186924 entered

External ID Format

  • Order: the order id sent to Brevo, which is the transaction number, for example SO-10023, or the transaction's iPaaS.com id when it has no number. It can never change: a transaction whose number changed after its first transfer is refused with BREV-BIZL-1011 before anything is sent, because Brevo would record a second order. Putting the number back in iPaaS.com lets the order send again. A transaction first sent without a number keeps its iPaaS.com id as its Brevo order id, so giving it a number later is a changed number and is refused the same way: add the number before its first transfer, or leave it without one.

  • Lines, addresses, taxes, discounts and notes: each has its own link per order, in the form of the order id and the item's iPaaS.com id joined by a vertical bar. iPaaS.com holds the item's id as the transaction's id and the item's own id joined by a vertical bar, so the link reads, for example, SO-10023|186924|4471 for a line. An item that a child collection's filter leaves out gets no link.

Deleted Record Support

Not supported. Brevo has no way to delete an order, and the template has no Delete collection for sales, so deleting a transaction in iPaaS.com sends nothing to Brevo and raises no error; the order stays in Brevo as it was. A Delete collection added for transactions is refused with BREV-BIZL-1002 and nothing is changed in Brevo. There is no need to turn on the delete event for sales under Outbound Data Flows.

To take an order back in Brevo, send the transaction with a cancelled, refunded, partially refunded or returned status. Brevo records such an order as history, never as a live order, so by Brevo's documentation a reversed sale does not start an automation, and the earlier entries of the order stay in Brevo.

Custom Field Support

The Order collection supports custom fields; its six child collections do not.

  • Sent automatically: the order carries any order custom field that has a value, under the field's own name, as a detail of the Brevo order.

  • Sending a transaction value of your choice: subscribers or their Managed Integration Service Provider (MiSP) can add a Custom mapping to the Add/Update Brevo Order FROM iPaaS.com collection that sends a transaction value under a name of their choice. For example, a custom field named order_tax mapped from the transaction's TaxAmount reaches the Brevo order as the detail order_tax. Validate such a mapping in a staging subscription before relying on it in production.

Mapping Collection Status

  • Status: Enabled, for the Order collection and for each of its six child collections.

  • Trigger Events: the iPaaS.com events transaction/created and transaction/updated, once subscribers or their MiSP turn them on under Outbound Data Flows on the Brevo subscription. No automatic transfers occur until these events are turned on. Manual Sync is available by transaction id. The child collections run with every order transfer and have no events of their own.

  • Mapping Filter: see the Order collection under Mappings.

Duplicate or Conflicting Mappings

  • Add/Update Brevo Contact FROM iPaaS.com: sends the order's customer first. Keep it on, and turn on customers before sales. Its filter decides which customers reach Brevo, so an order whose customer that collection leaves out is stopped (see Integration Flow).

  • Order numbers must be unique across every tool that writes orders to the same Brevo account. An order sent under a number another tool already used is not refused, and Brevo shows both entries under the one order.

  • Product collections: an order line names its product by the id Brevo has for it. Send products with the Add/Update Brevo Product FROM iPaaS.com collection first, so that Brevo can show the item sold.

Collision Handling

This collection has no Collision Handling Method, and neither do its child collections: the order id is the transaction number, and Brevo keeps one order per id. A transaction sent again under its own number adds an entry to its own order; it never creates a second order.

Unmapped Field Overwrite

Not applicable. This collection sends data FROM iPaaS.com to Brevo and writes nothing to an iPaaS.com record, so the overwrite risk of collections that bring data TO iPaaS.com does not apply.

Supported Child Collections

All six are children of Add/Update Brevo Order FROM iPaaS.com, run only with their order, and are never transferred on their own.

  • Add/Update Brevo Order Line FROM iPaaS.com: the sale's lines, as the products of the order.

  • Add/Update Brevo Order Address FROM iPaaS.com: the primary billing address.

  • Add/Update Brevo Order Shipping Address FROM iPaaS.com: the primary shipping address. The two address collections work only as a pair.

  • Add/Update Brevo Order Tax FROM iPaaS.com: each tax, kept as order details.

  • Add/Update Brevo Order Discount FROM iPaaS.com: each discount code, as a coupon, with its amount kept as an order detail.

  • Add/Update Brevo Order Note FROM iPaaS.com: each public note, kept as an order detail.

Manage Mappings page of the Brevo subscription: Add/Update Brevo Order FROM iPaaS.com expanded, with its six child collections for the address, discount, line, note, shipping address and tax

System Caveats

Brevo Caveats

  • E-commerce must be active. Brevo accepts products, categories and orders only when e-commerce is active on the Brevo account. Until it is, every such transfer is refused with BREV-AUTZ-1001, which names the setting to activate. Brevo says activation takes a few minutes to finish.

  • No tax, shipping-cost or currency on an order. Brevo has no tax, shipping-cost or currency member on an order, and iPaaS.com transactions carry no currency, so Brevo shows the order in the account's store currency, without converting the amount. The order's total includes the tax and the shipping. A tax or shipping amount held only on the transaction itself, with no tax rows, is not sent as a separate detail.

  • One billing and one shipping address. Brevo keeps one billing address and one shipping address on an order. Only the first address of each kind is used.

  • Order history. Brevo records each post as an entry in the order's history. Brevo's published page says every post is stored as a new entry; in practice, two identical re-posts have ended as one entry after a short delay, and Brevo's order list can show an entry twice for up to about half a minute, so do not rely on a repeat replacing an entry.

  • An order stays on its first contact. Brevo never moves an order that is already recorded to another contact: changing the email on a later update neither moves the order nor creates a contact.

  • Status words. Brevo takes any text as a status, and its published page names only completed and cancelled as examples, so use the words your Brevo automations expect.

  • Rate limits. Brevo's General limits, which apply to every account type, are 5 calls a second and 18,000 an hour for a live order post. The post that records an order as history has no row of its own on Brevo's page, so by the page's table it falls under the limit for all other endpoints, 100 an hour (Brevo's API reference, API limits page, read on 4 December 2026). Professional and Enterprise accounts have higher limits. When a limit is reached, iPaaS.com holds the transfer and runs it again by itself after the limit resets (BREV-EXTN-1002); nothing is needed from subscribers or their MiSP. To lower the load, subscribers or their MiSP can lower the subscription's API Throttle Limit setting (see Brevo Connections and Settings). If an error repeats with no clear cause, contact your MiSP, or iPaaS.com Support at support@ipaas.com.

iPaaS.com Caveats

  • Order fields not mapped. The collection does not map StoreId (optional, for a business that sells through more than one store) or Coupons (built from the codes of the discount child collection). Id is filled in by the integration with the order number: leave it unmapped.

  • Status translation. Keep a row for every status your store uses (see the translation under Mappings).

  • A transaction made with only a customer holds a blank email. The order is then linked to its contact by ExtId.

  • Saving a transaction moves its last-changed date. iPaaS.com moves the date to the time of the save unless the caller sends a date, so any save, even one that changes nothing in the order, adds a history entry in Brevo.

  • SKUs are matched ignoring case. iPaaS.com lets two products or variants have SKUs that differ only in case, and a line that names such a SKU cannot say which one was sold: the order is stopped with BREV-BIZL-1019 and nothing is sent.

  • iPaaS.com refuses a line that carries a SKU matching no product or variant exactly, including a SKU that differs only in case or in surrounding spaces, so such a line never reaches Brevo.

  • A tax or fee sent as a product line reaches Brevo as one of the order's products, with no tax detail, and the components of a bundle sent at a price of 0 reach Brevo as products at 0.

  • Transaction addresses have no phone field that a mapping can read, so no phone number is sent with either address.

Integration-Specific Caveats

  • Customer first. The customer must be in Brevo before the order is sent. This keeps Brevo from creating the contact itself, already unsubscribed, which the integration never reverses.

  • Live orders and history. An order placed within the Live Order Age Days setting (default 2; a whole number from 0 to 365, where 0 sends every order as history) is sent as a live order, which Brevo documents as live data that can trigger its automation workflows. An older order is recorded as history, which Brevo documents as not triggering any automation workflows (Brevo's API reference, Managing the status of the order and create orders in batch pages, read on 4 December 2026). A cancelled, refunded, partially refunded or returned order is always recorded as history, even when new.

  • Order number. It is the order's id in Brevo and cannot change after the first transfer.

  • Guest orders (an email but no iPaaS.com customer) are left out by the template's filter, because Brevo would create their contact unsubscribed.

  • Placeholder emails. An order placed by a customer whose email is a placeholder ending in .invalid is not left out by this collection's filter, because a transaction made with only a customer holds no email of its own, so the filter cannot see it. The Customer collection's filter skips such a customer, so unless Brevo already has a contact with that email, the order stops with BREV-BIZL-1013: nothing reaches Brevo, and iPaaS.com retries the order until the error is dismissed. Dismiss the error when the order does not belong in Brevo, or give the customer a real email address in iPaaS.com, after which the retry sends the customer first and then the order.

  • The two address collections are a pair. See the two address collections under Mappings.

Setup Requirements

Brevo Configuration

  • E-commerce: activate e-commerce on the Brevo account, and check that the API key may use it. Activate it before turning on the order data flow, then allow a few minutes for Brevo to finish.

  • Statuses: decide which status words your Brevo automations expect, and set them in the status translation (see Mappings).

iPaaS.com Configuration

  • Events: under Outbound Data Flows on the Brevo subscription, turn on the sale events transaction/created and transaction/updated. Turn on the customer events before them. The delete event is not needed.

  • Collections: keep the Add/Update Brevo Contact FROM iPaaS.com collection on, and keep all six child collections of the order on, with their filters as shipped.

  • Settings: the Live Order Age Days setting decides whether an order is sent live or as history. The connection settings are described in Brevo Connections and Settings.

  • Products: send products with the Product collection first, so that Brevo can show the item sold.

Outbound data flows page of the Brevo subscription, Transaction section: transaction/created and transaction/updated send to Add/Update Brevo Order FROM iPaaS.com, each with its Active switch

Subscription settings of the Brevo subscription, showing Live Order Age Days set to 2 beside Email Sandbox Mode

Authentication is the Brevo API key entered in the API Key setting of the subscription; see Brevo Installation Instructions and Brevo Connections and Settings. No webhook is set up in Brevo for orders.

Integration Flow

  1. A sale is created or changed in iPaaS.com and the transaction events are on, or a subscriber runs a Manual Sync with the transaction id. The sale must pass the Order collection's filter: type Order or Ticket, at least one line, and an iPaaS.com customer. A sale the filter leaves out is not an error: nothing is sent, nothing appears in Dashboard / Integration Monitoring / Error Logs, and its transfer reads Complete.

  2. The customer goes first. This applies to every transfer except a delete, and it follows these cases in order:

    • The sale has an iPaaS.com customer that is already linked to a Brevo contact: nothing is sent first. When the sale has no email of its own, the integration reads that contact once. If the contact carries the customer's ext_id, the order goes ahead. If not, the customer is sent again through the Add/Update Brevo Contact FROM iPaaS.com collection, which writes the ext_id, and the contact is read again; if it still does not carry the ext_id (for example because it keeps another tool's ext_id), the order is stopped with BREV-BIZL-1016.

    • The sale has an iPaaS.com customer that is not linked yet: the customer, which must exist in iPaaS.com, is read there and sent through the Add/Update Brevo Contact FROM iPaaS.com collection, which creates the contact subscribed. A failure there stops the order with BREV-BIZL-1012. When the customer was sent without an error but is still not linked, because the Customer collection's filter left it out, the order goes only if Brevo already has a contact with the order's or the customer's email; otherwise it is stopped with BREV-BIZL-1013.

    • The sale has no iPaaS.com customer but has an email (a guest order that the filter let in): the order goes only if Brevo already has a contact with that email; otherwise it is stopped with BREV-BIZL-1013.

    • The sale has neither: nothing is done here, and the order is refused in the next step with BREV-VALD-1019.

  3. The order is mapped. The nine mappings of the Order collection run, then each child collection runs for each item of the sale, each with its own filter. A filter on a child skips only that item: the order is sent with the others. For each order line, the two mappings that find the Brevo ids look up the line's SKU in iPaaS.com and read the link the Product collection wrote; they never read Brevo. A product that has not been sent to Brevo yet is named by its iPaaS.com id, which is the id the Product collection will give it, and Brevo accepts the line even though its catalog does not hold the product yet. When the lookup in iPaaS.com fails, the transfer stops with BREV-INTL-1003 and iPaaS.com retries it.

  4. The order is checked before anything is sent. Each refusal has its own code and names what to fix: no number (BREV-VALD-1014), no creation or last-change date (BREV-VALD-1015), no status (BREV-VALD-1016), a status with no row in the translation (BREV-VALD-1017), no amount (BREV-VALD-1018), a negative total (BREV-VALD-1022), no customer email, ext_id or billing phone (BREV-VALD-1019), no lines (BREV-VALD-1020), a line missing its product, price or quantity (BREV-VALD-1021), and a negative line price or a line quantity of 0 that the Order Line collection's filter did not leave out (BREV-VALD-1022). On an update, the order's number must also equal the number it was first sent with (BREV-BIZL-1011). A refused order writes nothing to Brevo.

  5. The order is sent. The order with its lines, addresses, taxes, discounts and notes is sent in one post, as a live order or recorded as history (see Live orders and history under System Caveats). Each transfer sends the order's whole current state again, never a change.

  6. The links are saved. The order's external id is the order id, and each line, address, tax, discount and note of the order gets its own link.

  7. When Brevo's limit is reached, iPaaS.com holds the transfer and runs it again by itself after the limit resets (BREV-EXTN-1002).

Activity log of an order transfer: the customer is created in Brevo and sent before the transaction, then the Add/Update Brevo Order FROM iPaaS.com collection runs and the Brevo order is posted live with its status, amount and line count

Mappings

The Order collection and its six child collections follow. Each Dynamic Formula row refers to the formula of the same destination field, quoted word for word under Dynamic Formulas (verbatim) after its table. The Source Field column names iPaaS.com fields, and the Destination Field column names the fields of the Brevo order.

Add/Update Brevo Order FROM iPaaS.com

iPaaS.com data type: Transaction

Description: Sends each iPaaS.com sale to Brevo as an e-commerce order, as a live order or as history. The sale's lines, addresses, taxes, discounts and notes are sent with it by the child collections.

Mapping Filter

// Sales: web and phone orders (type Order) and point-of-sale sales (type Ticket, as point-of-sale systems commonly send them), with at least one line and an iPaaS.com customer.
// Invoices, returns, quotes, holds and shipments are left out: an invoice repeats its order, and a return is not a purchase.
// If your point-of-sale or store sends its sales as another type, add that type here. A system that records its sales ONLY as invoices (no order first) needs Invoice added: || Type == "Invoice"
// Guest orders (an email but no iPaaS.com customer) are left out: Brevo would create their contact unsubscribed. To send a guest order when Brevo already has a contact with its email,
// replace the last condition with (CustomerId > 0 || !string.IsNullOrWhiteSpace(EmailAddress)); a guest order whose email Brevo doesn't have is then refused with BREV-BIZL-1013 until you dismiss it.
return (Type == "Order" || Type == "Ticket") && Lines != null && Lines.Count > 0 && CustomerId != null && CustomerId > 0;

Filter Description. Only sales of type Order or Ticket that have at least one line (Lines) and an iPaaS.com customer (CustomerId above 0) are sent. Web and phone orders are type Order, and point-of-sale sales are commonly type Ticket. Invoices, returns, quotes, holds and shipments are left out: an invoice repeats its order, and a return is not a purchase. Guest orders (an email but no iPaaS.com customer) are left out, because Brevo would create their contact unsubscribed. A sale the filter leaves out is not an error: nothing is sent, nothing appears in Dashboard / Integration Monitoring / Error Logs, and its transfer reads Complete. The type names must match the types your store or point of sale uses: add another type to the filter if it sends its sales as another type, for example Invoice for a system that records its sales only as invoices. To send a guest order when Brevo already has a contact with its email, replace the last condition as the filter's comments say; a guest order whose email Brevo does not have is then refused with BREV-BIZL-1013 until you dismiss it.

Mapping Type

Source Field (iPaaS.com)

Destination Field (Brevo)

Description

Field

Total

Amount

Required. The transaction's total, including shipping and tax, rounded to 2 decimals and sent as it is. It is never computed from the lines, so a total that does not match the lines is sent unchanged, for example a total of 999.99 with one line of 20. A missing amount is refused with BREV-VALD-1018 and a negative one with BREV-VALD-1022.

Field

TransactionCreatedDateTime

CreatedAt

Required. When the order was placed, sent to Brevo in UTC. It decides how the order is sent: placed within Live Order Age Days it is sent live, which Brevo documents as live data that can trigger its automation workflows; older, it is recorded as history, which Brevo documents as not triggering any automation workflows (Brevo's API reference, Managing the status of the order and create orders in batch pages, read on 4 December 2026). A transaction saved without a creation date is given the time of its creation by iPaaS.com.

Field

EmailAddress

Email

Recommended. The transaction's email address, which Brevo uses to link the order to the contact. An order needs at least one customer identifier: this email, ExtId or a billing phone; with none it is refused with BREV-VALD-1019. Brevo links by the customer's ext_id before the email, so the order goes to the customer's own contact even when this email differs.

Dynamic Formula

Formula ExtId (verbatim below the table)

ExtId

Recommended. The transaction's iPaaS.com customer id, which the Customer collection keeps as the Brevo contact's ext_id. It links the order to the customer's contact when the sale has no email, and it makes Brevo link by the ext_id, which comes before the email. Keep this mapping (see the notes below the table).

Dynamic Formula

Formula Number (verbatim below the table)

Number

Required. The transaction number, which becomes the order's id in Brevo, for example SO-10023; it is the transaction's iPaaS.com id when the transaction has no number. It cannot change after the order's first transfer: a changed number is refused with BREV-BIZL-1011, and putting the number back in iPaaS.com lets the order send again. A transaction first sent without a number keeps its iPaaS.com id, so giving it a number later is refused the same way: add the number before its first transfer, or leave it without one. A missing number is refused with BREV-VALD-1014.

Dynamic Formula

Formula PaymentMethod (verbatim below the table)

PaymentMethod

Optional. How the order was paid: the payment method of the transaction's first payment, for example Credit Card; with split tender, only the first one is sent. Brevo keeps it with the order's billing details. It is left out when the transaction has no payment.

Field

Status

SourceStatus

Recommended. The iPaaS.com status before translation. It is not sent to Brevo: it lets the integration tell a status that has no row in the translation from a transaction with no status, and name the status in the error. It also tells the integration that a cancelled, refunded, partially refunded or returned sale must be recorded as history even when the translation gives it another word. Keep the mapping.

Lookup Translation

Lookup Translation: Brevo Order Status FROM iPaaS.com

Status

Required. The order's status in Brevo, through the translation below. A status with no row in the translation stops the order with BREV-VALD-1017, which names the status; a missing status is refused with BREV-VALD-1016.

Dynamic Formula

Formula UpdatedAt (verbatim below the table)

UpdatedAt

Required. When the transaction last changed, or when it was placed if it never changed, sent in UTC. Brevo adds an entry to the order's history for each new status or new value of this date, so each save of the transaction adds an entry. A missing date is refused with BREV-VALD-1015.

Notes on the mappings

  • ExtId: keep this mapping. With it removed, a linked customer's order that carries an email Brevo does not know makes Brevo create that email as a new contact, already unsubscribed, and link the order to it. A linked customer's sale with no email whose contact does not carry this ext_id (a contact made in Brevo, or one that holds another tool's ext_id) is sent only after the customer is sent to Brevo again, which writes the ext_id. When the contact keeps another tool's ext_id the order is stopped with BREV-BIZL-1016; clearing that contact's EXT_ID attribute in Brevo, then sending the customer again, resolves it.

  • Email: Brevo never moves an order that is already recorded to another contact: changing the email on a later update neither moves the order nor creates a contact.

  • Number: make sure no other tool writes orders under the same numbers to this Brevo account.

Dynamic Formulas (verbatim)

Formula ExtId:

// The transaction's iPaaS.com customer id: the Brevo contact's ext_id, which the Customer collection writes
return CustomerId != null && CustomerId > 0 ? Convert.ToString(CustomerId) : null;

Formula Number:

// The transaction number (the transaction's iPaaS.com id when it has none): the order's id in Brevo
return string.IsNullOrWhiteSpace(TransactionNumber) ? Convert.ToString(Id) : TransactionNumber.Trim();

Formula PaymentMethod:

// The first payment's method (with split tender, the first one), blank when the transaction has no payment
if (Payments == null || Payments.Count == 0) return null;
return Payments[0].Method;

Formula UpdatedAt:

// When the transaction last changed (when it was placed, if it never changed)
return TransactionUpdatedDateTime ?? TransactionCreatedDateTime;

Lookup Translation Tables

Translation Brevo Order Status FROM iPaaS.com. It ships with all 14 iPaaS.com transaction statuses. Add a row for any status your store uses that is not listed.

Source Value (iPaaS.com status)

Destination Value (Brevo status)

Notes

Pending

pending

Sent live when the order was placed within Live Order Age Days; otherwise recorded as history.

Processing

processing

Sent live when the order was placed within Live Order Age Days; otherwise recorded as history.

On Hold

on_hold

Sent live when the order was placed within Live Order Age Days; otherwise recorded as history.

Awaiting Payment

awaiting_payment

Sent live when the order was placed within Live Order Age Days; otherwise recorded as history.

Awaiting Pickup

awaiting_pickup

Sent live when the order was placed within Live Order Age Days; otherwise recorded as history.

Backorder

backorder

Sent live when the order was placed within Live Order Age Days; otherwise recorded as history.

Partially Shipped

partially_shipped

Sent live when the order was placed within Live Order Age Days; otherwise recorded as history.

Shipped

shipped

Sent live when the order was placed within Live Order Age Days; otherwise recorded as history.

Complete

completed

Sent live when the order was placed within Live Order Age Days; otherwise recorded as history.

Cancelled

cancelled

Always recorded as history, even when the order is new.

Partially Refunded

partially_refunded

Always recorded as history, even when the order is new.

Refunded

refunded

Always recorded as history, even when the order is new.

Returned

returned

Always recorded as history, even when the order is new.

Draft

draft

Sent live when the order was placed within Live Order Age Days; otherwise recorded as history.

A status with no row stops the order with BREV-VALD-1017; add the row, and the transfer, which iPaaS.com retries, then completes. A change to the translation usually takes effect at once; the error text allows a few minutes.

Order detail names

Brevo orders have no tax, discount or note members, so the child collections send them as order details with generated names: tax_ followed by the tax's name, discount_ followed by the code, and note_ followed by the note's type. Each name is kept unique: a repeated name gets _2 after it.

Add/Update Brevo Order Line FROM iPaaS.com

iPaaS.com data type: Transaction Line. Parent collection: Add/Update Brevo Order FROM iPaaS.com.

Description: Sends the sale's lines as the products of the Brevo order. Brevo needs at least one line on every order. Each line names its product, and a variant line its variant, by the id Brevo has for it, so Brevo's order views, recommendations and emails show the exact item that was sold.

Mapping Filter

// Product lines with a quantity and a price of 0 or more are sent. A line of quantity 0, a discount sent as a negative-price line and a
// gift card sold on the order are left out (Brevo refuses each of them) and the rest of the order is sent; the order's total still includes them.
return Qty != null && Qty > 0 && (UnitPrice == null || UnitPrice >= 0) && Type == "Product";

Filter Description. Only product lines with a quantity above 0 (Qty) and a price of 0 or more are sent. Brevo does not accept a line of quantity 0, a line with a negative price or a gift card line, which names no product, and without this filter the integration refuses the whole order for one (BREV-VALD-1021 or BREV-VALD-1022), so the filter leaves out such a line and the rest of the order is sent. This covers a discount that the source sends as a line with a negative price, and a gift card sold on the order, which iPaaS.com holds as a line of type Gift Card with no SKU: the Brevo order's amount still includes them, but Brevo does not list them as products. A donation line (type Donation) is left out the same way. It also leaves out a line with a negative quantity. A product line with no price is not left out: it is refused with BREV-VALD-1021. A line the filter leaves out gets no link to Brevo. When the order has no other line, it is refused with BREV-VALD-1020, whose text asks to check that this filter does not leave out every line.

Mapping Type

Source Field (iPaaS.com)

Destination Field (Brevo)

Description

Field

UnitPrice

Price

Required. The price of one unit, rounded to 2 decimals. A line without a price is refused with BREV-VALD-1021, never sent with a made-up price, and, if the collection's filter is removed, a negative price is refused with BREV-VALD-1022. A price of 0 is sent as 0.

Dynamic Formula

Formula ProductId (verbatim below the table)

ProductId

Required. The Brevo id of the product sold, found from the line's SKU with the BrevoProductId function; for a variant's SKU it is the variant's parent product. For example, a line with the SKU TSHIRT-RED-M, a variant of iPaaS.com product 221751 that was sent to Brevo as product 221751, gives 221751. A line whose product cannot be found is refused with BREV-VALD-1021, which names the line. A lookup in iPaaS.com that fails stops the transfer with BREV-INTL-1003, and iPaaS.com retries it.

Field

Qty

Quantity

Required. How many were sold. Whole and fractional quantities are both accepted: a whole quantity is sent as a quantity and a fractional one, for example 1.5, as a fractional quantity. A line without a quantity is refused with BREV-VALD-1021.

Field

Sku

Sku

Recommended. The SKU of the item sold, kept on the Brevo order line. The two id mappings need the SKU to find the product, so keep it mapped.

Dynamic Formula

Formula VariantId (verbatim below the table)

VariantId

Optional. The Brevo id of the variant sold, found from the line's SKU with the BrevoVariantId function, and blank when the line is a product. For a variant that the Product collection sent, the id is v followed by the variant's iPaaS.com id, for example v88; for a variant linked to an existing Brevo product it is that product's own id. It is sent exactly as it is found. A lookup in iPaaS.com that fails stops the transfer with BREV-INTL-1003, and iPaaS.com retries it.

Dynamic Formulas (verbatim)

Formula ProductId:

// The Brevo id of the product sold (for a variant's SKU, of the variant's product): its link for this subscription, or its iPaaS.com id when it isn't in Brevo yet
return BrevoProductId(Sku);

Formula VariantId:

// The Brevo id of the variant sold (blank for a product): its link for this subscription, or v and its iPaaS.com id when it isn't in Brevo yet
return BrevoVariantId(Sku);

The product's Brevo id is its iPaaS.com id for a product the integration created, or another id for a product that collision handling linked to an existing Brevo product. The same SKU on two lines stays two lines. The functions are described in Brevo Mapping Functions.

Add/Update Brevo Order Address FROM iPaaS.com and Add/Update Brevo Order Shipping Address FROM iPaaS.com

iPaaS.com data type: Transaction Address (both collections). Parent collection: Add/Update Brevo Order FROM iPaaS.com.

The two collections Add/Update Brevo Order Address FROM iPaaS.com and Add/Update Brevo Order Shipping Address FROM iPaaS.com work only as a pair. The first sends the order's primary billing address as the billing details of the Brevo order, and the second sends its primary shipping address as the shipping details, with the recipient's name. Both are children of the Order collection and run only with their order. Their eight mappings are the same except the Type mapping and the description of the Name mapping, so they are described together, and each difference is named.

Keep both turned on, with the filters as shipped. If only one is on, Brevo gets only that kind of address, and an address that is both the primary billing and the primary shipping address reaches Brevo as only one of them. A subscriber who edits the filter of one should edit the other to match, so that each primary address still reaches its own slot. An address that is both the primary billing and the primary shipping address is sent by both collections, so Brevo gets it as billing and as shipping. They share one link to Brevo for that address, and an update to it reaches both. An address that is neither primary is sent by neither, and gets no link.

Brevo keeps one billing address and one shipping address on an order, and only the first address of each kind is used. The order is sent without an address when it has none, and no error appears. A blank value is left out. The country and its two-letter code are sent with the address.

iPaaS.com has no phone field that a mapping can read on a transaction address, so no phone number is sent for either address, and Brevo cannot use a billing phone to link an order to a contact. The order is linked by its email or ext_id instead. These collections take no custom fields, so no mapping here can add a phone. A business that keeps a phone in a transaction custom field can send it as an order detail instead: subscribers or their MiSP add a Custom mapping of that custom field, for example Billing Phone, to the Add/Update Brevo Order FROM iPaaS.com collection, and it reaches the Brevo order as the detail Billing Phone. It is not Brevo's billing phone, and Brevo does not link the order by it. Validate such a mapping in a staging subscription before relying on it in production.

Mapping Filter, Add/Update Brevo Order Address FROM iPaaS.com

// The primary billing address. The Order Shipping Address collection sends the primary shipping address, so one address that is both reaches Brevo as billing and shipping
return IsPrimaryBilling == true;

Filter Description. Only the transaction's primary billing address (IsPrimaryBilling) is sent. The primary shipping address is sent by the Add/Update Brevo Order Shipping Address FROM iPaaS.com collection.

Mapping Filter, Add/Update Brevo Order Shipping Address FROM iPaaS.com

// The primary shipping address, as the Brevo order's shipping details (an address that is also the primary billing address is sent by both collections)
return IsPrimaryShipping == true;

Filter Description. Only the transaction's primary shipping address (IsPrimaryShipping) is sent. The primary billing address is sent by the Add/Update Brevo Order Address FROM iPaaS.com collection. An address that is also the primary billing address is sent by both collections.

Mapping Type

Source Field (iPaaS.com)

Destination Field (Brevo)

Description

Dynamic Formula

Formula Address (verbatim below the table)

Address

Recommended. The street address: the address lines joined with commas, for example 12 Main Street, Suite 4. It is left out when all the lines are blank.

Field

City

City

Recommended. The city. It is left out when blank.

Field

Country

Country

Optional. The country as iPaaS.com holds it, usually its two-letter code, sent with the address. Keep CountryCode mapped too.

Dynamic Formula

Formula CountryCode (verbatim below the table)

CountryCode

Optional. The country's two-letter code, for example US, sent in capital letters when iPaaS.com holds the country as a two-letter code, which it usually does. A country written out in full sends no code.

Dynamic Formula

Formula Name (verbatim below the table)

Name

Optional. The recipient's first and last name. In the shipping collection it is sent as the name on Brevo's shipping address. In the billing collection Brevo's billing address has no name, so the integration does not send it, and the mapping has no effect on the order.

Field

PostalCode

PostCode

Recommended. The postal or ZIP code. It is left out when blank.

Field

Region

Region

Recommended. The state, province or region. It is left out when blank.

Dynamic Formula

Formula Type, billing collection only (verbatim below the table)

Type

Required. Which of the Brevo order's addresses this is. With the billing collection's filter, only the primary billing address reaches it, so the formula always returns billing, and Brevo keeps it as the order's billing details. An address with no type is not sent. Leave the mapping as it is.

Static

"shipping", shipping collection only

Type

Required. Which of the Brevo order's addresses this is. The value is always shipping, because the shipping collection sends only the primary shipping address, so its address is always the order's shipping details. It is a fixed value by design, not a placeholder: leave it as it is.

The Type row appears twice because the two collections differ there: the billing collection uses the formula and the shipping collection the static value. The other seven rows apply to both collections.

Dynamic Formulas (verbatim)

Formula Address (both collections):

// The street address lines, joined with commas
return string.Join(", ", new[] { Address1, Address2, Address3 }.Where(a => !string.IsNullOrWhiteSpace(a)).Select(a => a.Trim()));

Formula CountryCode (both collections):

// The country's two-letter code, when iPaaS.com holds the country as one (US, FR ...)
return Country != null && Country.Trim().Length == 2 ? Country.Trim().ToUpper() : null;

Formula Name (both collections):

// The recipient's first and last name
return ((FirstName ?? "") + " " + (LastName ?? "")).Trim();

Formula Type (billing collection only):

// billing for the primary billing address, shipping for the primary shipping address; other addresses are not sent
if (IsPrimaryBilling) return "billing";
if (IsPrimaryShipping) return "shipping";
return null;

Add/Update Brevo Order Tax FROM iPaaS.com

iPaaS.com data type: Transaction Tax. Parent collection: Add/Update Brevo Order FROM iPaaS.com.

Description: Sends each of the sale's taxes to Brevo as details of the order, for use in emails and segments. Brevo orders have no tax amount of their own, so each tax becomes an order detail named tax_ followed by the tax's name, for example tax_State Tax, and its rate becomes a second detail named tax_State Tax_rate. The order's total already includes the tax.

This collection has no mapping filter. Every tax of a sent order is processed.

Mapping Type

Source Field (iPaaS.com)

Destination Field (Brevo)

Description

Field

Amount

Amount

Recommended. The tax amount, rounded once to 2 decimals (half away from zero), so 2.675 is sent as 2.68. A tax without an amount adds no amount detail to the order.

Field

Authority

Name

Optional. The tax's name, which is its authority, for example State Tax. The order detail is named tax_ followed by this name. A tax with no name is kept as tax.

Field

TaxPercent

Rate

Optional. The tax rate as a percentage, for example 8.5, kept beside the amount as the detail named tax_ followed by the name and _rate.

Each detail name is kept unique: a second tax with the same name gets the name followed by _2, and its rate the same, so nothing is overwritten or added together.

Only the sale's tax rows are sent. A tax or shipping amount held only on the transaction itself, with no tax rows, is not sent as a separate detail; it is part of the total. This collection reads only the tax rows and takes no custom fields. Subscribers or their MiSP who need the transaction's own tax amount can add a Custom mapping to the Add/Update Brevo Order FROM iPaaS.com collection, for example a custom field named order_tax mapped from the transaction's TaxAmount, which reaches the Brevo order as the detail order_tax. Validate such a mapping in a staging subscription before relying on it in production.

Add/Update Brevo Order Discount FROM iPaaS.com

iPaaS.com data type: Transaction Discount. Parent collection: Add/Update Brevo Order FROM iPaaS.com.

Description: Sends the sale's discounts to Brevo, for coupon segments and emails. Each discount code becomes one of the Brevo order's coupons, and each discount amount is kept as an order detail named discount_ followed by the code, for example discount_SPRING10. Brevo orders have no discount amount of their own.

This collection has no mapping filter. Every discount of a sent order is processed.

Mapping Type

Source Field (iPaaS.com)

Destination Field (Brevo)

Description

Field

CouponCode

Code

Recommended. The coupon or discount code the customer used, for example SPRING10. It becomes one of the Brevo order's coupons, and it names the order detail that keeps the amount.

Field

DiscountAmount

Amount

Optional. The discount amount taken off the order, rounded once to 2 decimals, kept as the order detail discount_ followed by the code. A discount without an amount adds no amount detail.

  • Repeated codes: each code is sent once as a coupon, ignoring case and surrounding spaces, and the first spelling is kept: SPRING10 and spring10 are one coupon. Every amount is still kept as its own detail, and a repeated detail name gets _2 after it, so nothing is overwritten or added together.

  • No code: a discount with no coupon code adds an order detail named discount with its amount and no coupon.

  • Percentage discounts: iPaaS.com holds a percentage discount with its amount as 0, so a discount that is only a percentage reaches Brevo as an amount of 0.

  • Name: iPaaS.com's discount has no name, so this collection does not map the discount name that Brevo's order detail could use; the detail is always named by the code.

Add/Update Brevo Order Note FROM iPaaS.com

iPaaS.com data type: Transaction Note. Parent collection: Add/Update Brevo Order FROM iPaaS.com.

Description: Sends the sale's notes to Brevo as details of the order, for use in order emails. Brevo orders have no notes, so each note becomes an order detail named note_ followed by the note's type, for example note_Gift, or note when it has no type. A second note of the same type gets _2 after it, so nothing is overwritten. The note types iPaaS.com offers are Gift, Customer Note, Status, Order, Private, Job Note and Job Description.

Mapping Filter

// Only notes marked public: staff-only notes (Private, or any note not marked public) stay in iPaaS.com
return IsPublic == true;

Filter Description. Only notes marked public (IsPublic) are processed. Staff-only notes, meaning any note that is Private or not marked public, stay in iPaaS.com, get no link to Brevo, and are never sent. An order whose only note is staff-only is sent with no note detail. To send staff-only notes too, subscribers or their MiSP can remove the filter, and in that case a Private note reaches Brevo as note_Private.

Mapping Type

Source Field (iPaaS.com)

Destination Field (Brevo)

Description

Dynamic Formula

Formula Label (verbatim below the table)

Label

Optional. The note's type, for example Gift, used to name the order detail: note_ followed by the type. A note with no type is kept as note.

Dynamic Formula

Formula Text (verbatim below the table)

Text

Recommended. The note's text, trimmed, kept as an order detail that can be used in emails. A note with no text, or only spaces, adds nothing.

Dynamic Formulas (verbatim)

Formula Label:

// The note's type, for example Gift Message: Brevo keeps the note as note_ and this label
return Type;

Formula Text:

// The note's text
return Text;

Error Handling

Errors appear in Dashboard / Integration Monitoring / Error Logs. Each entry below gives the message as it is shown, why it occurs and what to do. The full list of messages is in Brevo Error Messages.

  • The order's number is not mapped (BREV-VALD-1014): The message reads: "The order has no number to send to Brevo: its number becomes its Brevo order id. Map the transaction number (or the transaction Id when there is no number) to Number on the Transaction collection (the template does), then resend the transaction." Why it occurs: The Transaction collection does not map Number, or the mapping gives a blank value. The integration uses the transaction number as the Brevo order id, which Brevo shows to you, so that a transaction sent again replaces its own Brevo order instead of recording a second one. Resolution: The MiSP maps the transaction number to Number on the Transaction collection (the default template does; use the transaction Id for systems without numbers), saves it, and the transaction is sent again.

  • The order has no date (BREV-VALD-1015): The message reads: "The order has no {creation date / last-change date}, which Brevo needs to record it. Check that the Transaction collection maps {CreatedAt / UpdatedAt} (the template does) and that the transaction has that date, then resend the transaction." Why it occurs: Brevo needs both the order's creation date and its last-change date. The creation date also decides whether the order starts Brevo's automations (placed within Live Order Age Days) or is recorded as history. iPaaS.com fills in a missing creation date itself, so this error normally names the last-change date, or a mapping that is missing. Resolution: The MiSP maps CreatedAt and UpdatedAt on the Transaction collection (the default template maps the transaction's created and modified dates), and the transaction is sent again.

  • The order has no status (BREV-VALD-1016): The message reads: "The order has no status, which Brevo needs to record it. Check that the Transaction collection maps Status (through the status translation) and SourceStatus, and that the transaction has a status, then resend the transaction." Why it occurs: The transaction has no status, or the Transaction collection maps neither Status nor SourceStatus. Brevo refuses an order without a status. Resolution: The MiSP maps Status through the status translation and SourceStatus without it on the Transaction collection (the default template does), and the subscriber checks that the transaction has a status; then send it again.

  • The order's status has no translation (BREV-VALD-1017): The message reads: "The order's status "{status}" has no row in the Transaction collection's status translation, so it reached the integration blank. Add a row for "{status}" to the status translation with the Brevo status your automations use (for example completed), allow a few minutes for it to take effect, then resend the transaction (iPaaS.com also retries it)." Why it occurs: The transaction's status has no row in the Transaction collection's status translation, so iPaaS.com sent it blank. The integration refuses the order rather than sending it without a status. Resolution: The MiSP adds a row for the status named in the message to the status translation, with the Brevo status your automations use (such as completed, shipped or cancelled). Allow a few minutes for a translation change to take effect; then send the transaction again or let iPaaS.com's retry pick it up.

  • The order has no amount (BREV-VALD-1018): The message reads: "The order has no amount, and the integration never computes or makes up the total it sends Brevo. Check that the Transaction collection maps Amount (the transaction total, the template does) and that the transaction has a total, then resend the transaction." Why it occurs: The Transaction collection does not map Amount, or the transaction has no total. Brevo needs the order's total (with shipping and tax); the integration never adds up the lines or sends 0 instead. Resolution: The MiSP maps the transaction's total to Amount on the Transaction collection (the default template does), and the subscriber checks that the transaction has a total; then send it again.

  • The order has no customer (BREV-VALD-1019): The message reads: "The order has no customer email, ext_id or billing phone, and Brevo needs one to link the order to a contact. Give the transaction a customer email (or map Email or ExtId on the Transaction collection), then resend it; to leave orders without a customer out, add that to the collection's filter and dismiss this error." Why it occurs: Brevo refuses an order that does not name its contact by an email address, the customer's iPaaS.com id (ext_id) or a billing phone number. Point-of-sale sales to walk-in customers often have none of these. Resolution: The MiSP maps the customer's email to Email on the Transaction collection (the default template does), or ExtId to the iPaaS.com customer id that the Customer collection sends. To leave such orders out, keep the default template's condition that a sale has an iPaaS.com customer (CustomerId > 0) in the Transaction collection's filter, and dismiss the error.

  • The order has no lines (BREV-VALD-1020): The message reads: "The order has no lines, and Brevo needs at least one product on an order. Check that the Transaction collection's Lines child collection is turned on and maps the lines, and that its filter does not leave out every line (the template's filter leaves out lines of quantity 0, lines with a negative price and lines that are not products), then resend the transaction; to leave line-less transactions out, add that to the collection's filter and dismiss this error." Why it occurs: Brevo refuses an order without products. The transaction has no lines, the Lines child collection under the Transaction collection is missing or turned off, or the Lines collection's filter leaves out every line (the default template's filter leaves out lines of quantity 0, lines with a negative price and lines that are not products, such as a gift card or a donation). Resolution: The MiSP turns on the Lines child collection under the Transaction collection (the default template has it), and the transaction is sent again. When the filter left out every line, the subscriber corrects the transaction in iPaaS.com so that it has a product line with a quantity above 0 and a price of 0 or more, then resends it. Transactions that have no lines cannot become Brevo orders: add "has at least one line" to the collection's filter (the default template's filter does) and dismiss the error.

  • An order line has no product id, price or quantity (BREV-VALD-1021): The message reads: "Line {n} of the order has no {product id / price / quantity}, and the integration never sends Brevo a value it wasn't given. Give the line a {product id / price / quantity} in iPaaS.com, or check that the Lines child collection maps {ProductId / Price / Quantity}, then resend the transaction." Why it occurs: Brevo needs each order line's product, unit price and quantity, and the integration never makes one up (a price of 0.00 that is given is sent as it is). Lines are counted from 1, in the order the transaction lists them. Resolution: The MiSP maps ProductId, Price and Quantity on the Lines child collection (the default template does); the subscriber corrects the line in iPaaS.com if it has no value. Then send the transaction again.

  • An order value Brevo refuses (BREV-VALD-1022): The message reads: "{The order's amount / Line n's price / Line n's quantity} is {below 0 / 0}, which Brevo does not accept on an order. Correct the transaction in iPaaS.com (a return or refund is a separate transaction the collection's filter leaves out), then resend it; or dismiss this error to leave it out of Brevo." Why it occurs: Brevo does not accept an order total or a line price below 0, or a line quantity of 0. This usually means a return or refund reached the Transaction collection, or a line was entered with no quantity. Resolution: Only sales belong in Brevo: the MiSP keeps returns and refunds out with the Transaction collection's filter (the default template's filter does). The subscriber corrects a line with a quantity of 0 in iPaaS.com, then sends the transaction again; or dismisses the error.

  • The order's number changed (BREV-BIZL-1011): The message reads: "This transaction is linked to Brevo order {id}, but its number is now {number}. Brevo identifies orders by that id, so sending it would record a second order. Change the number back in iPaaS.com, or, to record it as a new Brevo order (the old one stays), contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with this transfer's reference id to unlink the transaction, then resend it." Why it occurs: Brevo identifies an order by the number it was first sent with. The transaction's mapped number has since changed (for example, a prefix was added), so sending it would record a second Brevo order instead of updating the first. Resolution: The subscriber restores the original transaction number in iPaaS.com and sends it again. Or, if the new number should be a new Brevo order, contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with this transfer's reference id to unlink the transaction, then send it again; the old Brevo order stays, because Brevo cannot delete orders. If the number did not change, contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with the transfer's reference id.

  • The order's customer is not in iPaaS.com (BREV-NFND-1003): The message reads: "Transaction {transaction id} was not sent: its customer {customer id} is not in iPaaS.com, so it could not be sent to Brevo first (Brevo would otherwise create the contact unsubscribed). Check the transaction's customer in iPaaS.com, correct the transaction, then retry the transfer." Why it occurs: Before an order goes to Brevo, its customer is sent first if it has not reached Brevo yet. Otherwise Brevo would create the contact itself, already unsubscribed, and the integration never re-subscribes anyone. iPaaS.com has no customer with the transaction's customer id. Resolution: The subscriber opens the transaction in iPaaS.com, checks its customer and corrects the transaction so that it names a customer that exists in iPaaS.com, then retries the transfer; or dismisses the error if the order should not go to Brevo. If the customer exists in iPaaS.com and the error continues, contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with the transfer's reference id.

  • The order's customer could not be sent first (BREV-BIZL-1012): The message reads: "Transaction {transaction id} was not sent: its customer {customer id} could not be sent to Brevo first ({the customer's error}). The transaction's customer must exist in iPaaS.com. Fix the customer's error (it is shown on the customer's own transfer), then retry this transfer; iPaaS.com also retries it." Why it occurs: An order's customer is sent to Brevo first if it has not reached Brevo yet, and that failed. The customer's own error is quoted in the message: for example, the customer has no email address, or the subscription has no Customer collection to send it with. Resolution: The transaction's customer must exist in iPaaS.com. The subscriber or the MiSP fixes the customer's error (see its own transfer, or the reason quoted), then retries the order; iPaaS.com also retries it. If the subscription has no Customer FROM iPaaS.com collection, add one: orders need their customer in Brevo.

  • The order's customer is not in Brevo (BREV-BIZL-1013): When the transaction has no iPaaS.com customer, the message reads: "Transaction {transaction id} was not sent: it has no iPaaS.com customer and no Brevo contact has its email. Brevo would create that contact unsubscribed, and the integration never re-subscribes anyone. To leave sales with no iPaaS.com customer (guest orders) out of Brevo, as the template's filter does, add CustomerId > 0 to the Transaction collection's filter and dismiss this error. To send this one, give the transaction its customer in iPaaS.com (or send a customer with this email to Brevo first), then retry the transfer; iPaaS.com also retries it." When its customer was sent first but did not reach Brevo, it reads: "Transaction {transaction id} was not sent: its customer {customer id} was sent first but did not reach Brevo (the Customer collection's filter may leave it out), and no Brevo contact has the order's email. Brevo would create that contact unsubscribed, and the integration never re-subscribes anyone. If the Customer collection leaves this customer out on purpose, leave its orders out too where the Transaction collection's filter can test the same thing (it can't for a condition on the customer's email, because a transaction carries no email of its own), and dismiss this error. Otherwise check that the subscription has a Customer FROM iPaaS.com collection whose filter lets this customer through and that the customer has an email, resend the customer, then retry this transfer; iPaaS.com also retries it." Why it occurs: If an order arrives before its contact, Brevo creates the contact itself, already unsubscribed, so that shopper could never be emailed. The integration sends an order only when its customer has reached Brevo, or Brevo already has a contact with the order's email address. Here, either the transaction has no iPaaS.com customer (a guest order) and Brevo has no contact with its email, or its customer was sent but did not reach Brevo (the Customer collection's filter left it out, or the subscription has no Customer collection). The default Transaction template leaves guest orders out, so this happens only when the filter lets them in, or for a customer the Customer collection leaves out, such as one whose email is a placeholder ending in .invalid, which the default Customer template leaves out. Resolution: Decide whether such orders belong in Brevo. If not, the MiSP leaves them out with the Transaction collection's filter (for guest orders, CustomerId > 0, as the default template does; for customers the Customer collection leaves out on purpose, the same condition where the transaction carries the same value) and the error is dismissed. A condition on the customer's email address, such as the default Customer template's leaving out placeholder emails ending in .invalid, cannot be written on the Transaction collection's filter, so those errors are dismissed one by one. If they do, give the transaction its customer in iPaaS.com, or send a customer with the order's email address to Brevo first; when the customer was sent but left out, check the Customer FROM iPaaS.com collection's filter and the customer's email address, and give a customer with a placeholder email a real one. The retry then sends the customer and the order.

  • An order with no email cannot reach its customer's contact (BREV-BIZL-1016): The message reads: "Transaction {transaction id} was not sent: it has no email, so Brevo can link it only by its customer's iPaaS.com id {customer id} (ext_id), and Brevo contact {contact id}, linked to that customer, does not carry it even after the customer was sent again. Brevo would create a second contact, unsubscribed. Give the sale an email (or map Email on the Transaction collection), or in Brevo clear contact {contact id}'s EXT_ID if no other tool needs it and check that the Customer collection maps the customer's Id to ExtId, then retry the transfer; iPaaS.com also retries it." Why it occurs: A sale with no email address (for example a point-of-sale sale) can name its Brevo contact only by the customer's iPaaS.com id (ext_id). The customer's linked Brevo contact does not carry that id: it has no ext_id, or another tool's (see BREV-BIZL-1015). The integration sent the customer again to write the id, but the contact still does not carry it, so Brevo would create a second, unsubscribed contact. Nothing is sent to Brevo. Resolution: The subscriber gives the sale an email address, or the MiSP maps the transaction's EmailAddress to Email on the Transaction collection (the default template does). Or, if nothing else needs the contact's ext_id, the subscriber clears EXT_ID on the contact in Brevo and the MiSP checks that the Customer collection maps the customer's Id to ExtId and that its filter lets the customer through; the retry then sends the order. To leave such sales out, add a condition that the sale has an email address to the Transaction collection's filter and dismiss the error.

  • Two iPaaS.com products or variants share an order line's SKU (BREV-BIZL-1019): The message reads: "{BrevoProductId / BrevoVariantId}: {n} iPaaS.com {products / variants} have SKU "{sku}", so the order line can't say which one was sold, and the order was not sent. Give each product and variant its own SKU in iPaaS.com (or delete the duplicate), then resend the order (Manual Sync or a change to the order)." Why it occurs: Order Lines FROM iPaaS.com: the order line mapping's conversion function (BrevoProductId or BrevoVariantId) searched iPaaS.com for the line's SKU and found two or more products, or two or more variants, with it. A line must name the one item sold, so the order is refused before anything is sent to Brevo rather than naming one of them at random. A variant's SKU still wins over a product's with the same SKU. Resolution: Give each product and variant its own SKU in iPaaS.com, or delete the duplicate, then resend the order (Manual Sync, or any change to the order); iPaaS.com also retries it.

  • An order line's product could not be looked up in iPaaS.com (BREV-INTL-1003): The message reads: "{BrevoProductId / BrevoVariantId} could not look up the iPaaS.com product or variant with SKU "{sku}" or its Brevo link, so the order was not sent with a line that might name the wrong product. Nothing to do: iPaaS.com retries the transfer. If it repeats, contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with this transfer's reference id." Why it occurs: The order line mapping looks up the line's product or variant in iPaaS.com by its SKU, and its link to Brevo. iPaaS.com did not answer that lookup (for example, it was busy). The integration does not guess, because a guess could send the line under the wrong product, so the order is not sent this time. Resolution: Usually nothing: iPaaS.com retries the transfer, and it succeeds once the lookup is answered. If it repeats, contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with the transfer's reference id.

  • Brevo e-commerce is not activated (BREV-AUTZ-1001): The message reads: "Brevo refused the {product / product variant / product category / transaction}: the Brevo account's e-commerce is not activated, or the API key may not use it. In Brevo, activate e-commerce and allow a few minutes for it to finish, check that the API key may use e-commerce, then retry the transfer." Why it occurs: Products, product variants, product categories and orders are kept in Brevo's e-commerce feature. Brevo refuses all of them until e-commerce is activated on the account. Brevo says activation takes a few minutes to finish after it is started. Resolution: In Brevo, the subscriber activates e-commerce, waits a few minutes, then retries the transfer. If e-commerce is already active, check that the API key may use it (Settings > SMTP & API > API keys & MCP). If e-commerce has been active for more than an hour and the error continues, contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with the transfer's reference id.

  • Brevo rate limit reached (BREV-EXTN-1002): The message reads: "Brevo's rate limit was reached (HTTP 429): too many calls to Brevo in a short time. iPaaS.com retries the transfer by itself; nothing to do unless this error stays for more than an hour." Why it occurs: Too many requests reached Brevo in a short time. Brevo asked the integration to wait. iPaaS.com holds the transfer until Brevo's limit resets (measured by iPaaS.com: about a second for contacts, and up to about an hour for product and category reads) and then runs it. Resolution: Usually nothing: the transfer runs once the limit resets. If it happens often, the MiSP can lower the subscription's API Throttle Limit or Concurrent Connections setting (iPaaS.com settings on the subscription, described in Brevo Connections and Settings), or spread out scheduled work that uses the same Brevo account. If this error stays for more than an hour, contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with the transfer's reference id.

  • Operation Brevo cannot do (BREV-BIZL-1002): The message reads: "Brevo does not support {operation} for {data type}: {reason}. {what to do}" Why it occurs: A mapping collection asks Brevo for something it has no way to do. The message names the operation, the reason and what to do. For example: deleting an order (Brevo keeps orders as history), deleting a gift card (Brevo keeps only the email already sent), reading changes of products, product variants, product categories, orders or gift cards from Brevo (these travel only FROM iPaaS.com), or sending an order's lines, addresses, taxes, discounts or notes on their own (they travel inside their order). The template has no Delete mapping collection for orders or gift cards: with the template as shipped, deleting one in iPaaS.com sends nothing and raises no error; for a delete, this error appears only after such a collection is added. Resolution: The subscriber or the MiSP does what the message says: for example, send an order with a cancelled status instead of deleting it, remove the transaction or gift card Delete mapping collection, remove the collection that reads from Brevo, or transfer the whole order instead of one of its parts. Then dismiss the error: until the cause is removed, iPaaS.com retries the transfer and the error comes back.

  • The type moves FROM iPaaS.com only (BREV-BIZL-1020): The message reads: "Brevo does not send {type} TO iPaaS.com: it moves FROM iPaaS.com only, so nothing was written. Remove or turn off the mapping collection that brings it TO iPaaS.com." Why it occurs: A mapping collection brings a type TO iPaaS.com that Brevo only receives (products, variants, categories, orders and their parts, gift card emails). Brevo is never their source, so the integration refuses the transfer after reading the Brevo record and before any mapping, and nothing is written to iPaaS.com. Resolution: In iPaaS.com, open your Brevo subscription's mapping collections and find the collection for that type whose direction is TO iPaaS.com. Replace its filter with return false; and save, so that no record passes it, then dismiss the error. Brevo sends only contacts TO iPaaS.com.

Validation Rules

  • Checked before anything is sent: every check in step 4 of the Integration Flow runs first, so a refused order writes nothing to Brevo.

  • Number: required, and it cannot change after the first transfer (BREV-BIZL-1011).

  • Customer: the order needs an email, an ext_id or a billing phone (BREV-VALD-1019), and its customer must be in Brevo first.

  • Lines: at least one line, each with a product, a price of 0 or more and a quantity above 0.

  • Status: every status needs a row in the status translation (BREV-VALD-1017).

Testing & Validation

Test Scenarios

  1. Create a sale of type Order for a customer who is already a Brevo contact, with one line whose product has been sent to Brevo, and with the sale events turned on. Verify that Brevo lists an order for that contact, that its id equals the transaction number, and that its status is the translated word, for example pending.

  2. Change the transaction's status, for example to Shipped. Verify that the same Brevo order gets a new history entry and that the earlier entry stays.

  3. Create a sale for a customer who is not in Brevo yet. Verify that the customer is sent first, that the contact is created subscribed, and that the order is linked to it with no second contact.

  4. Create a sale of type Quote, and a sale with no iPaaS.com customer. Verify that nothing is sent, that no error appears, and that each transfer reads Complete.

  5. Create a sale with a line of quantity 0 and another line with a quantity above 0. Verify that the order is sent with the second line only. Then create a sale whose only line has quantity 0, and verify that it is refused with BREV-VALD-1020. Then create a sale with a product line and a discount line at a negative price, and verify that the order is sent with the product line only and the sale's full amount.

  6. Create a sale with a status that has no row in the translation. Verify that it is stopped with BREV-VALD-1017; add the row and verify that the retry sends the order.

  7. Create a sale with a tax, a discount code, a public note and a private note, and a billing and a shipping address. Verify that Brevo shows the tax and discount as order details, the code as a coupon, only the public note, and each address in its own slot. Then give one address both primary flags and verify that Brevo shows it as billing and as shipping.

  8. Create a sale placed more than Live Order Age Days days ago, and one that is cancelled. Verify that each is recorded as history, not as a live order.

  9. Change the number of a transaction that was already sent. Verify that it is refused with BREV-BIZL-1011, and that putting the number back lets it send.

  10. Run a Manual Sync with the transaction id, using the documented ID format, and verify that the order is sent.

Validation Checklist

  • E-commerce is active on the Brevo account, and the API key may use it.

  • The events transaction/created and transaction/updated are turned on under Outbound Data Flows, the delete event is not, and the customer events are turned on first.

  • The Add/Update Brevo Contact FROM iPaaS.com collection and all six child collections of the order are on, with their filters as shipped.

  • The two address collections still have matching filters.

  • The Order collection's filter lists the sale types your store or point of sale uses.

  • The status translation has a row for every status your store uses, with the words your Brevo automations expect.

  • The Live Order Age Days setting matches how recent an order must be to start an automation.

  • No other tool writes orders to the same Brevo account under the same order numbers.

Additional Notes

  • Not sent: Brevo has no tax, shipping-cost or currency member on an order, and no order delete. There is no iPaaS.com source for the address phone or the discount name, and StoreId and Coupons are not mapped.

  • Orders move only FROM iPaaS.com. A mapping collection that brings orders TO iPaaS.com is refused with BREV-BIZL-1020.

  • Brevo payment requests (pay-by-link) are not part of this integration.

  • Known behaviors of the integration are listed in Brevo Known Limitations.

Related Documents

Related Mapping Documentation

External References

Did this answer your question?