This endpoint imports an invoice for a business into Layer.
Documentation Index
Fetch the complete documentation index at: https://docs.layerfi.com/llms.txt
Use this file to discover all available pages before exploring further.
customer_id or the customer_external_id must be provided.customer_id or the customer_external_id must be provided.A customer does not need to be created before creating an invoice.
When you provide a customer external id, Layer will create a customer object with the provided external id if it does not already exist.
Customer details can be updated later using the Update a customer endpoint.InvoicePayment object(s) in the payments field of the invoice. This allows you to create and invoice and specify the full payment information in a single API call.
This is equivalent to creating an invoice and then creating a payment fully allocated to that invoice.
InvoicePayment parametersCASH, CHECK, CREDIT_CARD, ACH, CREDIT_BALANCE, OTHER