invoiceRequest
Request an invoice for the order using plugin.
invoiceRequest(
documentType: Int
number: String
orderId: ID
refundId: ID
): InvoiceRequest
Arguments
invoiceRequest.documentType ● Int scalar
Document type (for order requests): 1) Invoice, 2) Packing Slip, 4) Pre-forma-invoice, 5) Refund Receipt
invoiceRequest.number ● String scalar
Invoice number, if not provided it will be generated.
invoiceRequest.orderId ● ID scalar
ID of the order related to invoice.
invoiceRequest.refundId ● ID scalar
ID of the refund related to the refund receipt.
Type
InvoiceRequest object
Request an invoice for the order using plugin.