Skip to content
Developer home
X3

Example GraphQL queries for Invoicing

  Less than to read

Customer invoicing information with specific rate type and control value

{
  sage {
    x3Invoicing {
      customerInvoice(filter: "{rateType :{$eq: 'dailyRate'},control :{$eq: 'C300'} }") {
        edges {
          node {
            customerInvoiceType {
              legislation {
                glossaryId
                code
              }
            }
            sourceModule
            category
            id
            control
            company {
              code
            }
            financialSite {
              code
              description
              shortDescription
              siteRegistrationNumber
              sic
              carrier
            }
            accountingDate
            internalNumber
            sourceDocumentDate
            sourceDocument
            currency {
              code
            }
            rateType
            rateDate
            payByBusinessPartner {
              code
              isActive
              companyNames
              shortCompanyName
              europeanUnionVatNumber
            }
          }
        }
      }
    }
  }
}

Try it on our demo endpoint