Skip to Content
0
Jul 18, 2018 at 03:17 PM

​How to cancel invoices using the native service layer (CreateCancellationDocument)

403 Views Last edit Jul 21, 2018 at 06:00 AM 3 rev

Hello good day. I am trying to cancel an invoice with the native "Layer of service", I do it as an example of "API reference".

Example:

Method: POST

ttps://hanatest02:50000/b1s/v1/Invoices(1132)/CreateCancellationDocument

Answer attached image

State: 200 OK

I am using Postman to carry out the process and it does not return any error but it does not cancel the invoice, the creation of sales orders, credit notes, etc. they work correctly except for the cancellation of the invoice.

I need help, thanks

regards

Attachments

slcancel.png (39.6 kB)