Invoices and Payments
Invoices and Payments represent revenue collected by your business customers. This can be in-person sales made through a point of sale system, invoices sent through your software, ecommerce sales, or any other type of accounts receivable activity.
To import invoices, make a call to the Create Invoice endpoint. This endpoint takes in the data on the sale your customer made, what was sold, any associated taxes, and how the sale was paid for.
Invoices without payments
Invoices can be created without any payments associated with them. Payments towards the invoice can then be recorded later on using the Record an Invoice Payment endpoint.
The API will respond with an Invoice object.
Invoices with payments
For instances where invoices are immediately paid, such as when using a point of sale device for in-person sales or online merchandise sales, you can also include payment information directly in the creation of the invoice. This looks very similar to the above example with the addition of payment information.
In this case, the API will respond with the same created invoice, but with the invoice marked as fully or partially paid and the payment information included.