It can also be grouped according to several criteria. The desired values are simply concatenated by commas (?group_by=client,year). The order of values determines the order of aggregation. The grouping parameters can also be combined with the other filters.
status can have the following values: – DRAFT – OPEN – PAID net_gross can have the following values: – NET – GROSS In addition to the credit note combined taxes (taxes) will be returned. items, comments and payments can be accessed separately.
Currency quote (for conversion into standard currency)
The ID of the invoice, if the credit note was created from an invoice.
The ID of the free text to set title, label, intro and note.
The ID of the template to be used to complete the credit note.
ID of the default template
status at creation is always DRAFT.
When initially created in DRAFT state, the credit_note_number is returned as an empty response. It is only on completion of a credit note that the credit note number is calculated and gets a value.
The remaining properties of the credit note are automatically calculated. Credit note items (credit-note-items) can be specified directly at creation. Please find a documentation of the XML elements at Create credit note items, but the XML element credit_note_id need not be specified with.
At this point, the parameter format=pdf can also be used to open the PDF directly with MIME type “application/pdf”. With the optional parameter type=print you can request the PDF without background. Note that the settingprint_version must have been activated.