ACCOUNTING MarkBuyerBillAsSent API Version 1
Updated on 2014-07-09
Current Version: Version 1
Deprecated Version:
Requests Allowed: GET&SOAP
Summary:
"Bill Successfully Updated" or "Bill Marked As Invoice Sent"
Resource/WSDL Page:
http://<your_domain_here>/api/1/accounting.asmx?op=MarkBuyerBillAsSent
Parameters
api_key | Must be a valid API key (existing and NOT expired) Example Values: rYwtD48irQ0CiHRiuaB9abASO3e8O7GS |
bill_id | This value can be retrieved using the ExportBuyerBills API Example Values: 1641 |
invoice_number | NULL to erase it, empty string to skip it Example Values: NULL |
date_sent_invoice | Must be one of the following formats: "YYYY-mm-dd", "dd-mm-YYYY" Example Values: 2014-06-22 |
date_sent_invoice_modification_type | Use this to not apply or remove the date. Must be one of the following values: do_not_change, change or remove Example Values: do_not_change |
notes | NULL to erase it, empty string to skip it Example Values: NULL |
**Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value).
Example Request
Sample XML Response:
Example Error Messages:
Error Message | Likely Cause |
Invalid API key | API key does not exist or is expired |
Invalid Invoice Number | Length exceeds 50 characters |
Invalid Notes | Length exceeds 250 characters |
Invalid Bill ID | Bill could not be found using the provided id |