Get Invoice by Payment ID API
POST /getInvoiceByPaymentId
Description
This endpoint retrieves details of a specific invoice based on its associated payment ID.
Request
Endpoint: /getInvoiceByPaymentId
Method: POST
Body:
query getInvoiceByPaymentId ($paymentId: Int!) {
getInvoiceByPaymentId (paymentId: $paymentId) {
id
firstName
lastName
clientCompanyName
address
taxId
email
phoneNumber
groupId
amountForGroup
multiLogin
amountForMultiLogin
totalAmount
paymentMethod
paymentDate
invoiceDate
updateDate
}
}
GraphQL Variables:
{
"paymentId": 0
}