All Invoices API
Retrieve a complete list of all invoices with detailed billing information
All Invoices API
Access complete invoice records with detailed billing information. View customer details, payment methods, amounts, and transaction dates.
Complete Records
All invoice data available.
Detailed Info
Customer and payment details.
Date Tracking
Payment and invoice dates.
Endpoint Overview
/graphqlRetrieve a list of all invoices with comprehensive billing details including customer information, amounts, and payment data.
GraphQL Query
query allInvoices {
allInvoices {
id
firstName
lastName
clientCompanyName
address
taxId
email
phoneNumber
groupId
amountForGroup
multiLogin
amountForMultiLogin
totalAmount
paymentMethod
paymentDate
invoiceDate
updateDate
}
}HTTP Request:
curl -X POST https://api.orbnet.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ADMIN_TOKEN" \
-d '{
"query": "query allInvoices { allInvoices { id firstName lastName email totalAmount paymentMethod paymentDate invoiceDate } }"
}'Response
{
"data": {
"allInvoices": [
{
"id": "inv_12345",
"firstName": "John",
"lastName": "Doe",
"clientCompanyName": "Acme Corp",
"address": "123 Business St, New York, NY 10001",
"taxId": "TAX123456",
"email": "john.doe@example.com",
"phoneNumber": "+1234567890",
"groupId": "100",
"amountForGroup": 29.99,
"multiLogin": "3",
"amountForMultiLogin": 5.99,
"totalAmount": 35.98,
"paymentMethod": "stripe",
"paymentDate": "2024-01-15T10:30:00Z",
"invoiceDate": "2024-01-15T10:30:00Z",
"updateDate": "2024-01-15T10:30:00Z"
}
]
}
}{
"errors": [
{
"message": "Authentication required",
"path": ["allInvoices"],
"extensions": {
"code": "UNAUTHORIZED"
}
}
],
"data": null
}Invoice Fields
Customer Info
Name, company, email, phone.
Billing Address
Full address and tax ID.
Amount Details
Group cost, multi-login, total.
Payment Info
Method and transaction dates.
Use Cases
Financial Reports
Generate revenue reports.
Customer History
View customer payment history.
Tax Records
Access data for tax filing.
Auditing
Perform financial audits.
Related Endpoints
Pagination Recommended
For large datasets, consider using pagination parameters to improve performance. Contact support for pagination options.
Need a Specific Invoice?
Use the Get Invoice by ID endpoint to fetch a single invoice record.