Invoice ID or Invoice ForeignID
Total amount of invoice in major units. If the entered amount has more decimal places than the currency supports, trailing decimals will be truncated.
Set approvers for this invoice.
If true, this invoice will be paid as a batch payment. Batches are automatically determined by Mercoa based on the payment source, destination, and scheduled payment date.
ID or foreign ID of entity who created this invoice. If creating a payable invoice (AP), this must be the same as the payerId. If creating a receivable invoice (AR), this must be the same as the vendorId.
User ID or Foreign ID of entity user who created this invoice.
Currency code for the amount. Defaults to USD.
Initial date when funds are scheduled to be deducted from payer’s account.
Base64 encoded image or PDF of invoice document. PNG, JPG, WEBP, and PDF are supported. 10MB max. If the invoice already has a document, this will add a new document to the invoice.
Due date of invoice.
If the invoice failed to be paid, indicate the failure reason. Only applicable for invoices with custom payment methods.
If using a custom payment method, you can override the default fees for this invoice. If not provided, the default fees for the custom payment method will be used.
The ID used to identify this invoice in your system. This ID must be unique within each creatorEntity in your system, e.g. two invoices with the same creatorEntity may not have the same foreign ID.
Date the invoice was issued.
Metadata associated with this invoice.
Note to self or memo on invoice.
ID or foreign ID of the payer of this invoice.
ID of payment destination for this invoice. If not provided, will attempt to use the default payment destination for the vendor when creating an invoice if a default payment destination exists for the vendor.
Options for the payment destination. Depending on the payment destination, this may include things such as check delivery method.
If this is a recurring invoice, this will be the payment schedule for the invoice. If not provided, this will be a one-time invoice.
ID of payment source for this invoice. If not provided, will attempt to use the default payment source for the payer when creating an invoice if a default payment source exists for the payer.
Date of funds settlement.
The IDs of the vendor credits to be applied to this invoice. Passing this field will un-apply any previously applied vendor credits.
ID or foreign ID of the vendor of this invoice.
DEPRECATED. Use document field instead.
True if the invoice has documents attached.
True if the invoice was created by an incoming email.
Metadata associated with this invoice.
True if the payment destination has been confirmed by the vendor. False if the payment destination has been set (for example, a check to an address) but has not been confirmed by the vendor.
Total amount of invoice in major units
If true, this invoice will be paid as a batch payment. Batches are automatically determined by Mercoa based on the payment source, destination, and scheduled payment date.
The ID of the entity who created this invoice.
Entity user who created this invoice.
Currency code for the amount. Defaults to USD.
Initial date when funds are scheduled to be deducted from payer’s account. The actual deduction date may differ from this date, and will be reflected in the processedAt field.
Due date of invoice.
If the invoice failed to be paid, this field will be populated with the type of failure.
Fees associated with this invoice.
The ID used to identify this invoice in your system. This ID must be unique within each creatorEntity in your system, e.g. two invoices with the same creatorEntity may not have the same foreign ID.
Date the invoice was issued.
For invoice templates, this is the date when the next recurring payment will be scheduled.
If this is a recurring invoice, this will be the payment schedule for the invoice. If not provided, this will be a one-time invoice.
Date when the invoice payment was processed.
Date of funds settlement.
Transactions associated with this invoice.
The IDs of the vendor credits that are currently applied to this invoice.