List invoices - celdotro/marketplace GitHub Wiki

About

  • Lists the invoices attached to an order

Class

celmarket\Invoices\InvoicesData

Method

getOrderInvoices

API

  • method: orders
  • action: getOrderInvoices

Parameters

  • orders_id = order ID (mandatory)

Response

An object with the following attributes

  • id = The internal ID of the invoice
  • series = Invoice series
  • number = Invoice number
  • providerId = Billing service ID (0 - Standard, 1 - Smartbill, 2 - FGO, 3 - Oblio, 4 - Facturis)

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Invoices/2.removeInvoice.php

Postman Documentation

https://documenter.getpostman.com/view/7949575/UzBiQ8zj#29f791ae-bc11-4142-9c18-c6e567e8f850