Method

rxc-invoices-add

Description

This will add an invoice with charges and payment. This isn't fully implemented yet, it is only implemented for the external process to add an AR charge to an invoice for reservation commission.

Parameters

Name Input Value Type Description
addmethodflag Integer This is a flag telling us what procedures to use to add this invoice. This is used to separate the different methods we want to be able to add invoices. (1 = Insert for reservation commissions)
account_id Integer This is the account_id we are adding an invoice and a charge too.
op_business_id Integer This is the operation business_id of the account we are adding this invoice and charge too.
business_id Integer This is the business_id we are adding this invoice and charge too.
origin_invoice_id Integer This is the origin_invoice_id we are setting on this invoice. This is the link to the invoice that spawned the one we are creating.
amount Big Decimal This is the amount of the charge we are adding.
label String This is the label we want on the invoice and charge.
format enumeration (optional) Set this value to "xml" for XML raw formatted output, "xml-clean" for XML tidy formatted output or "json" for JSON formatted output. If not passed, "xml" is used as a default

XML Encoded Request

URL Encoded Request





Result