Billomat understands XML and JSON for write requests. Following points should be noted: – All requests should be in UTF-8 – Boolean values are either 1 (true) or 0 (false) – Depending on the desired format for the write request the appropriate content type must be set in the HTTP header (application/xml or application/json). Responses are given in XML or JSON format. Other formats (e.g. PDF) are possible for specifiv resources. You can set the output format by setting the GET parameter format (default: XML):
Alternatively, the format also be determined via an HTTP header:
JSONP is also supported. All you have to do, is to provide the param jsonp with an optional name for the callback function. The default callback function is callback.