Invoicing

Accelerate cash flow with automated, trackable, and secure invoicing

Streamline how your team creates and manages invoices. This page covers the Invoice app settings in PCE — defaults for invoice/recurring, tax catalog, and discounts — so you can set consistent rules and reduce setup time.

Prerequisites and Limitations

  • Prerequisites: Invoice app installed, API credentials, and a merchant enabled for card and/or ACH.
  • Limitations: Tender types, ACH, and notification channels may vary by gateway and region. Tax and discount behavior depends on your configured categories and approval rules.
Invoice settings overview

Settings Overview

The Invoice app exposes three areas:

AreaWhat You Configure
Invoice & RecurringDefault terms, click‑to‑pay behavior, reminders, recurring schedules, and templates.
Sales TaxTax rates and tax categories used on invoices and recurring plans.
DiscountsItem-, order-, tag-, and collection‑level discounts, approval and timing rules.

Where to find it: In Settings, select the Invoice tile. Tabs at the top separate Invoice and Recurring options.


Invoice Tab

Invoice settings are organized into three sections.

Default Terms

Default payment terms appear on every new invoice; you can override them when creating an invoice.

Default terms

Sending Invoices (Click‑to‑Pay)

Enable a pay link on sent invoices so customers can settle balances online. Use the Yes/No toggle to include a payment link and choose which tender types are allowed (card and/or ACH). You can override the default per invoice.

Click‑to‑Pay options

Reminder Notifications

Send automatic reminders before due dates and after invoices become past due.

TriggerHow It WorksConfiguration
Before Due DateSends a reminder n days before the invoice or plan is due.Enter the number of days before due; use 0 to disable.
After Due DateSends a reminder n days after the invoice or plan becomes past due.Enter the number of days after due; use 0 to disable.
Reminder notifications

Recurring Tab

Recurring settings define defaults for subscriptions billed on a schedule.

Send Customer Authorization

Set your default for requiring customers to authorize a recurring charge before activation. This is a default only — you can change it per contract.

Send authorization

Schedule Defaults

Choose the most common billing frequency to speed up contract setup. This default can be changed on any contract.

Schedule defaults

Recurring Plan Templates

Create templates for frequently used recurring plans to prefill schedule, items, taxes, and terms.

Plan templates

Template Fields

FieldDescription
Plan NameName you’ll enter on a contract to apply this template.
ScheduleBilling frequency for the plan.
OccurrencesNumber of times to bill. Leave blank for unlimited until canceled.
TermsDays the subscriber has to pay after the scheduled date.
ItemsLine items with qty and price; expand a line to add tax and discounts.
MemoOptional message shown to the customer.

Create a template: Select + Add Plan, complete the fields, then Save.


Sales Tax

Manage the tax catalog used by invoices and recurring plans. In Settings, select the Sales Tax tile (near the bottom of the page).

Sales Tax tile

What You’ll See

ColumnDescription
Tax NameThe tax rate name shown at checkout and on receipts.
DescriptionInternal notes about the tax rate.
Rate %Percentage charged for this tax.
CategoriesCategory groups the tax belongs to; use categories to apply multiple related taxes quickly.

Create a New Tax Rate

Add tax
FieldDescription
Tax NameVisible to customers; make it specific to what’s being charged.
DescriptionInternal, optional notes about the rate.
Rate %Percentage to charge.
CategoriesOne or more groups for faster assignment on invoices and plans. If omitted, the rate becomes the default category.
Tax form

View and Edit a Tax Rate

Select a tax name to open details. Edit fields as needed and select Save to apply changes.


Discounts

Configure discount rules for items, orders, tags, and collections.

Discounts tile

What You’ll See

ColumnDescription
Discount NameInternal name used to find the discount at checkout.
Discount AmountPercent or fixed amount to reduce.
LevelWhere it applies — item, order, tag, or collection.
ApprovalWhether supervisor approval is required.
AutomaticApplies automatically when criteria are met.
Start Date / End DateTime‑bound window; leave blank for ongoing.
BarcodeSystem‑generated or manual number.

Create a New Discount

Add discount
FieldDescription
Discount NameInternal label; not shown to customers.
Discount AmountPercentage or fixed amount off the total or item price.
LevelChoose Order, Item, Tag, or Collection.
AutomaticAuto‑apply when criteria match.
Never ExpiresSet to Yes for ongoing (e.g., Military). Set No to define start/end dates.
Supervisor Approval RequiredRequire a supervisor to approve before applying.
BarcodeSystem‑generated or enter your own number.
Discount form

Search and Filter

Use the search box to find discounts by name. Open the filter panel to select criteria and select Apply. To reset, choose Default and Apply. Use Save as Default to keep your preferred filters for next time.

Search and filter

View and Edit a Discount

Select a discount name to view details in a pop‑up. Make changes and select Save to apply them.



PCE MX Invoice lets you create professional invoices and collect payments fast through a secure pay link. Choose a customer, add line items, enable card and/or ACH, and send. Customers receive an email (and optionally SMS) with a link to view and pay. A receipt is issued automatically on successful payment.

PCE Invoice

Prerequisites & Limitations

  • Prerequisites: API credentials, a live or sandbox merchant (merchantId), and at least one configured payment method (card and/or ACH).
  • Limitations: Taxes are applied at line level via taxes or taxCategory. Invoice-level isTaxExempt overrides taxes where permitted. Discount stacking depends on isExclusive. ACH availability is region/gateway dependent.

MX Invoice — End-to-End Workflow

Step 0 — Gather prerequisites

  • Your merchantId (sandbox or live).
  • A Customer (ID or full object ready to include).
  • Optional: tax and tax category IDs (or fetch them in Step 2).
  • Decide payment options: allowCreditCard, allowACH, isClick2PayEnabled.

Step 1 — (Optional) Look up taxes and categories

If you don’t already know which Tax or TaxCategory to use, fetch them now and keep the IDs handy for line items.

Get Tax and Tax Category Information

If you don’t know the tax or tax category IDs, fetch them first.

GET https://api.mxmerchant.com/checkout/v3/tax?merchantId={{merchantId}}

Request Parameter

NameTypeRequiredDescription
merchantIdintegerYesMerchant ID to scope the tax catalog.

Response Fields

PathTypeDescription
records[].idintegerTax ID used on items.
records[].namestringTax name.
records[].ratestringDecimal tax rate (e.g., 0.07).
records[].taxCategories[].idintegerTax Category ID (e.g., 2584).
records[].taxCategories[].namestringCategory name (e.g., Georgia).
records[].taxCategories[].codestringCategory code.
records[].taxCategories[].isPrimarybooleanIndicates primary category for the tax.

Tip: Prefer setting a taxCategory on each line item. Use explicit taxes[] to target a specific tax ID. Set isTaxExempt at the invoice or customer level where allowed.


Step 2 — Build your line items (PurchaseItem[])

Create at least one line item. Add taxes and/or a tax category if applicable. Add item-level discounts here if needed.

PurchaseItem (Line Item)

FieldType / EnumRequiredDescription
productNamestringYesItem title shown on the invoice.
descriptionstringNoAdditional detail.
pricenumberYesUnit price.
quantityintegerYesDefaults to 1 if omitted.
discounts[]array<Discount>NoStructured discounts applied to the line.
taxes[]array<Tax>NoExplicit tax entries.
taxCategoryTaxCategoryNoCategory that determines applicable taxes.
totalAmountstring/numberNoCalculated (read-only on create).

Step 3 — Apply discounts (optional)

Decide whether the discount applies to a single item (put it on that item) or to the whole invoice (add at the top level).

Item-Level Discount

Applies a 23% discount to a specific line item using the discounts[] array at item level.

FieldTypeExample ValueDescription
discountTypeItemItemScope of the discount (applies to the line item).
discountRateTypePercent0.23Percentage discount rate.
namestringBro CodeDiscount name.
ratestring0.23Percent value (23%).
amountstring23.00Computed discount value.
codestringDA4I6PKUHT4MGRFKDiscount code identifier.

Order-Level Discount

Applies a 15% discount to the entire invoice via the discounts[] array at the top level.

FieldTypeExample ValueDescription
discountTypeOrderOrderScope of the discount (applies to invoice total).
discountRateTypePercent0.15Percentage discount rate.
discountApplicationTypeManualManualDiscount was applied manually.
namestringBromanceDiscount name.
ratestring0.15Percent value (15%).
codestringDM4I6PKXSGN11YVPDiscount code identifier.
isExclusivebooleanfalseAllows stacking with other discounts.
isApprovalRequiredbooleanfalseNo manual approval needed.
selectedbooleantrueIndicates discount is active.

Step 4 — Assemble the invoice body

Set top-level fields, attach your purchases[] and customer, and choose payment options and terms.

Top-Level Body Fields

FieldType / EnumRequiredDescription
invoiceDatestring (ISO 8601)NoIf omitted, server time is used.
merchantIdintegerYesMerchant creating the invoice.
statusenum: Unpaid, Paid, VoidNoDefaults to Unpaid on create.
isClick2PayEnabledbooleanNoEnables pay link on the invoice.
allowCreditCardbooleanNoAllow card payments.
allowACHbooleanNoAllow ACH payments.
termsenum (e.g., OnReceipt)NoUsed to calculate dueDate.
dueDatestring (ISO 8601)NoDerived from terms if omitted.
memostringNoFree-form note shown on the invoice.
isTaxExemptbooleanNoInvoice-level tax exemption.
discounts[]array<Discount>NoStructured discounts applied to invoice.
purchases[]array<PurchaseItem>YesAt least one line item required.
shippingAddressAddressNoShipping address snapshot.
billingAddressAddressNoBilling address snapshot.
customerCustomerYesCustomer being invoiced.

Address

FieldTypeDescription
address1stringStreet line 1.
citystringCity.
statestringState/Province.
zipstringPostal/ZIP code.
countrystringISO country code (e.g., US).

Customer

FieldTypeDescription
idintegerCustomer ID.
namestringFull name.
emailstringBilling email for invoice delivery.
mobilestringOptional; may be used for SMS notices.
customerNumberstringMerchant’s external customer number.
isTaxExemptbooleanCustomer-level tax exemption.

Step 5 — Create the invoice

Call the endpoint. Use echo=true during testing to get the object back immediately.

Create Invoice

POST https://sandbox.api.mxmerchant.com/checkout/v3/invoice?echo=true

Use this endpoint to create a new invoice with optional click-to-pay functionality.

Query Parameter

NameTypeRequiredExampleDescription
echobooleanNotrueReturns the created invoice object in the response.

Step 6 — Send the receipt (email and/or SMS)

When the invoice is created, trigger customer notification(s).

Send Invoice Receipt

Send a copy of the invoice receipt via email and/or SMS.

POST https://sandbox.api.mxmerchant.com/checkout/v3/invoicereceipt?id={{invoiceId}}&contact={{email}}%2C{{phoneNumber}}

Parameters

NameLocationRequiredExampleDescription
idqueryYes239998Invoice ID to send a receipt for.
contactqueryYes[email protected],15551234567Comma-separated list of email(s) and/or E.164 phone(s).

Step 7 — Reconcile & verify (post-conditions)

  • Store the invoice ID and status (Unpaid, Paid, or Void) plus any payment/receipt events.
  • Confirm taxes and discounts applied match business rules.
  • If using Click-to-Pay, open the invoice URL and verify the customer experience (card/ACH options, due date, memo, totals).

Reference Objects

(unchanged from your source; included above where needed)

  • Discount
  • Tax
  • TaxCategory
  • Address
  • Customer

See Also

  • Activation Video — PCE MX Invoice

© 2025 Priority Technology Holdings LLC. All rights reserved.