post https://api.revolv3.com/api/Invoices/
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.
Name | Description |
---|---|
PaymentMethodId | Unique identifier for the customer's payment information |
InvoiceStatus | The initial status for the invoice to be created |
BillingDate | The day on which billing should be attempted for the invoice |
InvoiceLineItems | A list of one or more items the customer should be billed for |
Name | Description | Default value |
---|---|---|
MerchantInvoiceRefId | Merchant's unique identifier for the invoice to be created | null |
TaxAddress | Address to be used for taxation purposes. Possible sets of Address details: AddressLine1, City and State or AddressLine1 and PostalCode or State and PostalCode | null |