I
I
Ivan Anikin2020-09-08 10:37:45
1C-Bitrix
Ivan Anikin, 2020-09-08 10:37:45

How to split an order into 2 invoices?

The store needs to issue invoices to 2 different organizations.
That is, it may be that in the order, part of the goods must be paid for by the account of the organization "X", and the rest of the goods by the account of the organization "Y".
Is it possible to issue 2 different invoices for an order?
In which there will be different goods.

We place an order via CSaleOrder::DoSaveOrder + CSaleBasket::OrderBasket API.
For the goods in the basket, we will create a marker that will indicate which account which product goes to.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question