getProformaInvoice function

Future<ApiResponse<Object?>> getProformaInvoice(
  1. ExsitedClient client,
  2. Object proformaId, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

GET /api/{api_version}/proforma_invoices/{proforma_id}

Retrieve one pro-forma invoice, by its code; under proforma_invoice.

No typed view. Read response.map.

Implementation

Future<ApiResponse<Object?>> getProformaInvoice(
  ExsitedClient client,
  Object proformaId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendGetRequest(ProformaInvoicesUrls.proformaInvoice,
        pathParams: {'proforma_id': proformaId},
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);