Upcoming changes 24.07.2023
- One minute read - 190 wordsThe creation of documents without positions will no longer be allowed in the future. This concerns the creation of these new documents:
order_type = 'AN'
order_type = 'AB'
order_type = 'LI'
This is mandatory to create a correct accounting entry and to guarantee clean data in the export. The following endpoints are affected:
/api/v1/CreditNote/Factory/saveCreditNote
- creditNotePosSave must contain at least one item when creating new credit notes.
/api/v1/Order/Factory/saveOrder
- orderPosSave must contain at least one item when creating new offers, orders, delivery notes.
/api/v1/CreditNote/Factory/createFromInvoice
- the associated invoice must have at least one item
- the endpoint is new and has only been documented since 22.05.2023 (so probably irrelevant)
/api/v1/CreditNote/Factory/createFromVoucher
- the associated voucher must have at least one item
- the endpoint is new and has only been documented since 22.05.2023 (i.e. probably irrelevant).
Status Quo: Offers, orders, delivery notes and credit notes can be created without a position.
Future: Offers, orders, delivery notes and credit notes must have at least one position when created. Already created offers, orders, delivery notes or credit notes without positions are not affected.
Release: 24.07.2023 (4.159)