HomeGuidesAPI ReferenceChangelog
Log In
API Reference

Create an invoice with or without a specific customer attached. To attach a specific customer, pass the customerId to the request url parameter. Otherwise, leave the request url paramter empty.

Upon success, the operation will return a status code of 201 (Created).

If an invalid field or value is submitted, a status of 400 (Bad Request) will be returned.

Required Fields
NameDescription
PaymentMethodIdUnique identifier for the customer's payment information
InvoiceStatusThe initial status for the invoice to be created
BillingDateThe day on which billing should be attempted for the invoice
InvoiceLineItemsA list of one or more items the customer should be billed for
Optional Fields
NameDescriptionDefault value
MerchantInvoiceRefIdMerchant's unique identifier for the invoice to be creatednull
EntityUseCodeAvalara tax exemption codenull
TaxAddressAddress to be used for taxation purposes. Possible sets of Address details: AddressLine1, City and State or AddressLine1 and PostalCode or State and PostalCodenull
Language
Click Try It! to start a request and see the response here!