View settings
GET /api/settings
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<invoice_intro>...</invoice_intro>
<invoice_note>...</invoice_note>
<offer_intro>...</offer_intro>
<offer_note>...</offer_note>
<invoice_email_subject>...</invoice_email_subject>
<invoice_email_body>...</invoice_email_body>
<offer_email_subject>...</offer_email_subject>
<offer_email_body>...</offer_email_body>
<article_number_pre>ART</article_number_pre>
<client_number_pre>KD</client_number_pre>
<invoice_number_pre>RE</invoice_number_pre>
<offer_number_pre>AN</offer_number_pre>
<article_number_length type="integer">4</article_number_length>
<client_number_length type="integer">5</client_number_length>
<invoice_number_length type="integer">8</invoice_number_length>
<offer_number_length type="integer">0</offer_number_length>
<currency_code>EUR</currency_code>
<discount_rate type="float">2.0</discount_rate>
<discount_days type="integer">14</discount_days>
<due_days type="integer">30</due_days>
<offer_validity_days type="integer">2010-10-07</offer_validity_days>
</settings>
Edit settings
PUT /api/settings
Updates the settings with the given parameters.
| XML element | Description | Type |
|---|---|---|
| invoice_intro | Introductory text of an invoice | ALNUM |
| invoice_note | Explanatory notes of an invoice | ALNUM |
| offer_intro | Introductory text of an offer | ALNUM |
| offer_note | Explanatory notes of an offer | ALNUM |
| confirmation_intro | Introductory text of a confirmation | ALNUM |
| confirmation_note | Explanatory notes of a confirmation | ALNUM |
| delivery_note_intro | Introductory text of a delivery note | ALNUM |
| delivery_note_note | Explanatory notes of an delivery note | ALNUM |
| credit_note_intro | Introductory text of a credit note | ALNUM |
| credit_note_note | Explanatory notes of an credit note | ALNUM |
| invoice_email_subject | Subject of an invoice e-mail | ALNUM |
| invoice_email_body | Text of an invoice e-mail | ALNUM |
| offer_email_subject | Subject of an offer e-mail | ALNUM |
| offer_email_body | Text of an offer e-mail | ALNUM |
| confirmation_email_subject | Subject of a confirmation e-mail | ALNUM |
| confirmation_email_body | Subject of a confirmation e-mail | ALNUM |
| delivery_note_email_subject | Subject of a delivery note e-mail | ALNUM |
| delivery_note_email_body | Subject of a delivery note e-mail | ALNUM |
| credit_note_email_subject | Subject of a credit note e-mail | ALNUM |
| credit_note_email_body | Subject of a credit note e-mail | ALNUM |
| reminder_email_subject | Subject of a reminder e-mail | ALNUM |
| reminder_email_body | Subject of a reminder e-mail | ALNUM |
| article_number_pre | Prefix of an article number | ALNUM |
| client_number_pre | Prefix of a client number | ALNUM |
| invoice_number_pre | Prefix of an invoice number | ALNUM |
| offer_number_pre | Prefix of an estimate number | ALNUM |
| confirmation_number_pre | Prefix of a confirmation | ALNUM |
| delivery_note_number_pre | Prefix of a delivery note | ALNUM |
| credit_note_number_pre | Prefix of a credit note | ALNUM |
| offer_number_length | Minimum length of offer numbers (to be filled with leading zeros) | INT |
| invoice_number_length | Minimum length of invoice numbers (to be filled with leading zeros) | INT |
| article_number_length | Minimum length of article numbers (to be filled with leading zeros) | INT |
| client_number_length | Minimum length of client numbers (to be filled with leading zeros) | INT |
| confirmation_number_length | Minimum length of confirmation numbers (to be filled with leading zeros) | INT |
| delivery_note_number_length | Minimum length of delivery note numbers (to be filled with leading zeros) | INT |
| credit_note_number_length | Minimum length of credit note numbers (to be filled with leading zeros) | INT |
| currency_code | Default currency of the account | ISO currency code |
| discount_rate | Cash discount in percent | FLOAT |
| discount_days | Discount period in days from invoice date | INT |
| due_days | Maturity in days from invoice date | INT |
| offer_validity_days | Validity of offers in days | INT |
Please note: If the default currency will be changed, possibly some of the invoice and offers currency exchange rates (quote) become invalid. It must therefore be taken to ensure that the courses will be updated.
<settings>
<invoice_intro>
Dear [Client.salutation] [Client.first_name] [Client.last_name]...
</invoice_intro>
</settings>
English »
Deutsch