Skip to content Skip to main navigation Skip to footer

Create an Invoice

The payments app allows you to create Invoices with a fixed amount or with Invoice Line Items. This article contains an overview of the fields on these objects and how to customize and extend the Invoice object to fit your needs.

Create an Invoice

  1. Click Invoices tab
  2. Click “New” Button
  3. Complete Invoice Fields.

Invoice Fields

Field NameField TypeDescription
Inv#Autonumber, {0000}
EncodedIDText, 30
AccountLookup to Account
Status PicklistDrafted
Ready to Send
Sent
Submit Charge – This status triggers the app to auto create a Payment record and charge the Payment Customer already on file.
Charge Submitted – Charge has been submitted but has not yet been processed by the bank.
Paid
Payment MethodLookup to Payment Method
Payment CustomerLookup to Payment Customer
Payment Customer All Billing EmailsFormula, textFormula field that merges the value of Payment Customer.All Billing Emails.
Invoice Doc URLText, 255Optionally you can provide a link to your invoice document. You can generate this using the Opero Documents app.
Invoice DescriptionText, 255This text will display on the payment page for the customer to see.
Invoice Lines TotalRollup Summary FieldSum of Invoice Line Items.Invoice Line Total
Invoice Fixed AmountCurrency
Invoice TotalFormulaIf Invoice Lines Total != 0, this field shows the Invoice Lines Total, otherwise it shows the Invoice Fixed Amount
Total PaidRollup Summary FieldSum of Payments.Amount where Status=Succeeded
Transaction Fee ChargedDecimal, 2If you configure a Payment Method to charge a transaction fee, then the transaction fee amount charged will be updated here upon payment which will add to the total invoice amount.
Pending PaidRollup Summary FieldSum of Payments.Amount where Status=Pending
Amount DueFormulaInvoice Total – Total Paid
Billing ContactLookup to Contact
Additional Billing EmailsTest, 255
Pay Invoice URLFormulahttps://payments.com/paynow?org={orgid}&inv={EncodedID}
Invoice DateDate
Date SentDate
Due DateDate
Charge DescriptionText 255This is what appears in customer’s bank statement as a description for the charge.
Stripe Metadata LabelText
Stripe Metadata ValueText, 255
CurrencyPicklistList of all available values from Stripe except zero decimal currencies, which are not supported by the app.

Add Invoice Line Items (Optional)

Invoices can either charge a fixed amount or they can have Invoice Line Items. If you would like to use Invoice Line Items, follow these steps.

  1. Go to Invoice Line Items related list on Invoice.
  2. Click “New” button.
  3. Complete Invoice Line Item fields.

Invoice Line Item Fields

Field NameField TypeDescription
Invoice Line Item NameName, Text
QuantityNumber, 16, 2 Decimal
AmountCurrency
Invoice Line TotalFormula, CurrencyQuantity * Amount
Sort OrderNumber, 18

Customize the Invoice Object

The Invoice object was designed with flexibility in mind and can be customized to fit your business needs and processes. For example, with Opero Payments you can:

  • Create an Item or Product object to create products with prices and add a lookup on the Invoice Line Item to select a product. Configure Flow to copy the price.
  • Create a lookup on the Invoice object to relate Invoices to a standard or custom object.
  • Create invoices manually or automate the creation of invoices using Flow or Apex.
  • Integrate with Opero Documents or another document generation app to generate an Invoice PDF. See Article: Generate Invoice PDF and Email

Related Articles