Hello
we have salespack and we're thinking about packing all invoices after we close month and sending them all to our account department.
Wa already did script which is saving invoice as attachment after status change to confirm.
Anyone did this?
I'm thinking about script which will:
1. Fetch all invoices from last month through GET api
2. Selecting all attachments ids
3. Copying all files from upload folder based on ids which i fetched earlier
4. packing all attachments to archive
Maybe there is a better way?
we have salespack and we're thinking about packing all invoices after we close month and sending them all to our account department.
Wa already did script which is saving invoice as attachment after status change to confirm.
Anyone did this?
I'm thinking about script which will:
1. Fetch all invoices from last month through GET api
2. Selecting all attachments ids
3. Copying all files from upload folder based on ids which i fetched earlier
4. packing all attachments to archive
Maybe there is a better way?
Comment