Send Invoice

Access Endpoint URL: https://rest.everyware.com/InvoicingOnly/SendInvoice [POST]

Summary

You can use the SendInvoice method to place a non-Everyware invoice into our database, where it will be queued for later delivery via message.

Inbound Parameters

Parameters should be passed in a single JSON-body object.

Parameter NameDescriptionOptional/Required
MasterSiteExternalIDThe ID, in an external system, that is associated with the master site.Required
SiteExternalIDThe ID, in an external system, that is associated with the site.Required
CutomerExternalIDThe ID, in an external system, that is associated with the customer.Optional
StatementIDThe ID associated with the billing statement.Optional
RecordTypeAccepts values of "New", "Update", or "Cancel"Optional
BalanceThe balance remaining to be paid on the invoice.Optional
LocationDescriptionA string that describes the location of the site generating the invoice.Optional
FirstNameThe first name of the customer to whom the invoice is being sent.Optional
LastNameThe last name of the customer to whom the invoice is being sent.Optional
PhoneNumber1The primary phone number (10-digits max, no formatting) of the customer to whom the invoice is being sent.

Example: 3055551212
Optional
PhoneNumber2The secondary phone number (10-digits max, no formatting) of the customer to whom the invoice is being sent.

Example: 3055551212
Optional
EmailAddressThe email address of the customer to whom the invoice is being sent.

Example: [email protected]
Optional
TextURLThe link to the text used by the company generating the external invoice. Used for tracking.Optional
EmailURLThe link to the email used by the company generating the external invoice. Used for tracking.Optional
LogoURLThe link to the logo of the company generating the external invoice.Optional
DueDateThe due date for the invoice to be paid.Optional
HexadecimalColorCodeThe hexadecimal code for the color that the background of the invoice will be set to.

Example: #ffffff
Optional
SMSOverrideMessageText that overrides the message template that the account defaults to, if so desired.Optional
EmailAdditionalBodyAdditional text for email invoices can be established here.Optional

Sample Code

{
	"MasterSiteExternalID": "092934728",
  "SiteExternalID": "847377273",
  "CustomerExternalID: "",
	"StatementID": "",
  "RecordType": "New",
  "CadenceType": "",
  "Balance": "20.00",
  "LocationDescription": "",
  "FirstName": "John",
  "LastName": "Smith",
	"PhoneNumber1": "3055551212",
  "PhoneNumber2": "",
  "EmailAddress": "",
  "TextURL": "",
  "EmailURL": "",
  "LogoURL": "",
  "DueDate": "",
  "HexadecimalColorCode": "",
  "SMSOverrideMessage": "",
  "EmailAdditionalBody": ""
}
curl --location 'https://rest.everyware.com/InvoicingOnly/SendInvoice' \
--header 'Authorization: Basic [xxx]' \
--header 'Content-Type: application/json' \
--data-raw '{
	"MasterSiteExternalID": "092934728",
  "SiteExternalID": "847377273",
  "CustomerExternalID: "",
	"StatementID": "",
  "RecordType": "New",
  "CadenceType": "",
  "Balance": "20.00",
  "LocationDescription": "",
  "FirstName": "John",
  "LastName": "Smith",
	"PhoneNumber1": "3055551212",
  "PhoneNumber2": "",
  "EmailAddress": "",
  "TextURL": "",
  "EmailURL": "",
  "LogoURL": "",
  "DueDate": "",
  "HexadecimalColorCode": "",
  "SMSOverrideMessage": "",
  "EmailAdditionalBody": ""
}'
{
	"OrderNumber": null,
  "SMSID": null,
	"IsSuccess": true,
  "Message": "Invoice has successfully been added to the system.",
  "Data": null
}