[Spce-user] generare invoices all months

Irina Peshinskaya ipeshinskaya at sipwise.com
Tue Mar 13 06:00:50 EDT 2018


Dear David,

In the ngcp-panel 5.5.1 you can use POST method in the /api/invoices 
REST interface.

curl -i -X POST -H 'Connection: close' -H 'Content-Type: 
application/json' --user administrator:pwd -k 
'https://127.0.0.1:1443/api/invoices/' --data-binary '{ "customer_id" : 
"15", "template_id" : "1", "period_start": "2017-11-01 00:00:00", 
"period_end": "2017-11-30 23:59:59"  }'

Best regards,
Irina Peshinskaya

On 2018-03-13 10:39, David | csr-online SPAIN wrote:
> Hello i use version 5.5.1 and i see the gen invoice is disbaled by default because can damage the databse.
> How I can create every month all invoices for my customers? Not manually
>
> Any help please?
>
>
>
> Cordialment | Atentamente | Sincerely
> David Pablo Mitchell
> CTO
>
> CSR ONLINE
> Movil: +34 658174990
> Tel.Oficina:+34 931860160 / +34 902056355 ext.101
> Mail: davidp at csr-online.net
> Web: www.csr-online.net
> You run your business, we run your IT.
>
>
> La información contenida en el mensaje y/o archivo(s) adjunto(s) es confidencial y está destinada a ser leída sólo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario señalado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicación por error, le informamos que está totalmente prohibida, y puede ser ilegal, cualquier divulgación, distribución o reproducción de esta comunicación, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la dirección arriba mencionada.
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user




More information about the Spce-user mailing list