Core GraphQL APIReferenceObjects
Invoice
type
InvoiceFields
- fields
_id*ID!commits?couponCode?StringcouponDiscount?FloatTotal of all discounts on the order. Kept for older clients; equals discountTotal.
createdAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
customFields?customer?deliveryArea?StringdeliveryCharge?FloatdeliverySubArea?StringdiscountApplications?discountTotal?FloatinvoiceStatus?INVOICE_STATUSValue in
CANCELLEDPENDINGPROCESSINGREJECTEDSHIPMENT_DELIVEREDSHIPMENT_IN_PROGRESSSHIPMENT_IN_TRANSITinvoiceUID?StringlineItems?netTotalAmount?Floatnote?StringpaidAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
paymentCancelUrl?StringpaymentFailUrl?StringpaymentMethod?INVOICE_PAYMENT_METHODValue in
CODONLINEpaymentProvider?PAYMENT_PROVIDERValue in
BKASHSSLCOMMERZpaymentStatus?PAYMENT_STATUSValue in
CANCELLEDEXPIREDFAILEDPAIDPROCESSINGUNATTEMPTEDpaymentSuccessUrl?StringpaymentTransactionId?StringrejectionReason?Stringshipment?shippingAddress?shippingDiscount?FloatPart of discountTotal that came off the delivery charge.
subTotalAmount?FloattaxAmount?FloattaxRate?Floattenant?StringupdatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
vendor?webhookEvent?StringLatest Graphland PGW webhook event as JSON string. Parse with JSON.parse on the client.
Usages
- Returned by
- QUERY
sale__invoice - Field of
InvoiceWithPagination.nodes
type Invoice { _id: ID! commits: [ResourceCommitHistoryReference!] couponCode: String couponDiscount: Float createdAt: DateTime customFields: [CheckoutCustomFieldReference!] customer: UserReference deliveryArea: String deliveryCharge: Float deliverySubArea: String discountApplications: [DiscountApplication!] discountTotal: Float invoiceStatus: INVOICE_STATUS invoiceUID: String lineItems: [LineItemReference!] netTotalAmount: Float note: String paidAt: DateTime paymentCancelUrl: String paymentFailUrl: String paymentMethod: INVOICE_PAYMENT_METHOD paymentProvider: PAYMENT_PROVIDER paymentStatus: PAYMENT_STATUS paymentSuccessUrl: String paymentTransactionId: String rejectionReason: String shipment: Shipment shippingAddress: LocationReference shippingDiscount: Float subTotalAmount: Float taxAmount: Float taxRate: Float tenant: String updatedAt: DateTime vendor: VendorReference webhookEvent: String}