N1Developer docsv1

TESTED LIVE

Organisation

13 real calls against a live Core. Open a call for its headers, request and response.

organisation

024Organization · loadownerPOST /graphql200 OKAs expected16 ms
Operation
organisation
Request id
01a14ba9-4456-7647-9f8a-b6f4f7d94614
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditOrganization { organisation { ...O } }
fragment O on Organisation { id code createdAt shortName name logo { ...F } phone email website businessType industry registrationDetails address { line1 line2 city state pincode } country gstRegistered gstin gstState taxRates { id rate active } defaultTaxRate invoicePrefix invoiceStartNumber invoiceFooter invoiceLogo { ...F } termsAndConditions signature { ...F } }
fragment F on AppFileReference { id name kind sizeBytes }

Variables

{}

Response · HTTP 200

{
  "data": {
    "organisation": {
      "id": "01a14ba6-e3d8-7d56-8060-bfa0d3554b8b",
      "code": "demo-coimbatore",
      "createdAt": "2026-10-17T20:56:30.900Z",
      "shortName": "Demo Precision Works, Coimbatore",
      "name": "Demo Precision Works, Coimbatore",
      "logo": null,
      "phone": "",
      "email": "",
      "website": "",
      "businessType": "private-limited",
      "industry": "metal-manufacturing",
      "registrationDetails": "",
      "address": {
        "line1": "",
        "line2": null,
        "city": "",
        "state": "",
        "pincode": ""
      },
      "country": "India",
      "gstRegistered": true,
      "gstin": "33DEMOA0001A1Z5",
      "gstState": "Tamil Nadu",
      "taxRates": [
        {
          "id": "0192f0c1-0000-7000-8000-f00000000000",
          "rate": 0,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000001",
          "rate": 5,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000002",
          "rate": 12,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000003",
          "rate": 18,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000004",
          "rate": 28,
          "active": false
        }
      ],
      "defaultTaxRate": 18,
      "invoicePrefix": "CBE",
      "invoiceStartNumber": 1,
      "invoiceFooter": "",
      "invoiceLogo": null,
      "termsAndConditions": "",
      "signature": null
    }
  }
}
028UsersList · loadownerPOST /graphql200 OKAs expected11 ms
Operation
users+roles+organisation
Request id
01a14ba9-4950-73ce-8a4b-3ef2d4ea4592
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditUsersList { organisation { name } roles { role description permissions } users(first: 20, sort: { field: CREATED_AT, direction: ASC }) { totalCount pageInfo { hasNextPage endCursor } edges { node { ...U } } } }
fragment U on User { id name email phone designation department address city state pinCode country role status joinedAt hasPassword permissions { viewOrders manageUsers exportReports } photo { ...F } documents { ...F } activity(first: 5) { totalCount edges { node { id label detail at tone } } } }
fragment F on AppFileReference { id name kind sizeBytes }

Variables

{}

Response · HTTP 200

{
  "data": {
    "organisation": {
      "name": "Demo Coimbatore Works"
    },
    "roles": [
      {
        "role": "OWNER",
        "description": "Runs the shop. Everything, including who else can sign in.",
        "permissions": [
          "org.read",
          "org.manage",
          "users.read",
          "users.manage",
          "customers.read",
          "customers.write",
          "customers.delete"
        ]
      },
      {
        "role": "ADMIN",
        "description": "Manages people, settings and customers on the owner’s behalf.",
        "permissions": [
          "org.read",
          "org.manage",
          "users.read",
          "users.manage",
          "customers.read",
          "customers.write",
          "customers.delete"
        ]
      },
      {
        "role": "ACCOUNTANT",
        "description": "Customers, invoices and payments.",
        "permissions": [
          "org.read",
          "customers.read",
          "customers.write"
        ]
      },
      {
        "role": "SUPERVISOR",
        "description": "Plans and watches the shop floor.",
        "permissions": [
          "org.read",
          "customers.read"
        ]
      },
      {
        "role": "OPERATOR",
        "description": "Runs machines and logs production.",
        "permissions": [
          "org.read"
        ]
      },
      {
        "role": "QC",
        "description": "Inspects parts and records results.",
        "permissions": [
          "org.read"
        ]
      }
    ],
    "users": {
      "totalCount": 6,
      "pageInfo": {
        "hasNextPage": false,
        "endCursor": "WyIyMDI2LTEwLTE3VDIwOjU2OjMxLjI2MDQzNVoiLCIwMWExNGJhNi1lNGU3LTdiNjQtODhhYy02N2E2N2I0NmIzMTMiXQ"
      },
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e3c9-75f4-bf79-c35ada7f69bd",
            "name": "Audit Owner",
            "email": "owner@demo-coimbatore.demo.none1.in",
            "phone": null,
            "designation": "Owner",
            "department": "",
            "address": "10 Synthetic Works Road",
            "city": "Coimbatore",
            "state": "Tamil Nadu",
            "pinCode": "641001",
            "country": "India",
            "role": "OWNER",
            "status": "ACTIVE",
            "joinedAt": "2026-10-17",
            "hasPassword": true,
            "permissions": {
              "viewOrders": true,
              "manageUsers": true,
              "exportReports": true
            },
            "photo": null,
            "documents": [],
            "activity": {
              "totalCount": 1,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e41d-719e-8cd0-bccc9ac18713",
                    "label": "Joined organisation",
                    "detail": null,
                    "at": "2026-10-17T20:56:31.000Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e420-7894-9aa9-5dd131ee9c29",
            "name": "Demo Admin",
            "email": "admin@demo-coimbatore.demo.none1.in",
            "phone": null,
            "designation": "Office admin",
            "department": "",
            "address": "",
            "city": "",
            "state": "",
            "pinCode": "",
            "country": "India",
            "role": "ADMIN",
            "status": "ACTIVE",
            "joinedAt": "2026-10-17",
            "hasPassword": true,
            "permissions": {
              "viewOrders": true,
              "manageUsers": true,
              "exportReports": true
            },
            "photo": null,
            "documents": [],
            "activity": {
              "totalCount": 1,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e45b-74c8-bfa8-83e52308e02d",
                    "label": "Joined organisation",
                    "detail": null,
                    "at": "2026-10-17T20:56:31.063Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e442-7fae-b468-bf9fee75d9ec",
            "name": "Demo Supervisor",
            "email": "supervisor@demo-coimbatore.demo.none1.in",
            "phone": null,
            "designation": "Shop floor supervisor",
            "department": "",
            "address": "",
            "city": "",
            "state": "",
            "pinCode": "",
            "country": "India",
            "role": "SUPERVISOR",
            "status": "ACTIVE",
            "joinedAt": "2026-10-17",
            "hasPassword": true,
            "permissions": {
              "viewOrders": true,
              "manageUsers": false,
              "exportReports": false
            },
            "photo": null,
            "documents": [],
            "activity": {
              "totalCount": 1,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e47d-7771-8875-eb5ec61acbc4",
                    "label": "Joined organisation",
                    "detail": null,
                    "at": "2026-10-17T20:56:31.096Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
            "name": "Demo Operator",
            "email": "operator@demo-coimbatore.demo.none1.in",
            "phone": null,
            "designation": "CNC operator",
            "department": "",
            "address": "",
            "city": "",
            "state": "",
            "pinCode": "",
            "country": "India",
            "role": "OPERATOR",
            "status": "ACTIVE",
            "joinedAt": "2026-10-17",
            "hasPassword": true,
            "permissions": {
              "viewOrders": false,
              "manageUsers": false,
              "exportReports": false
            },
            "photo": null,
            "documents": [],
            "activity": {
              "totalCount": 1,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e4a7-711b-86f0-5ae04fac9b2c",
                    "label": "Joined organisation",
                    "detail": null,
                    "at": "2026-10-17T20:56:31.132Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e48b-766b-8c6b-8862bea47064",
            "name": "Demo Inspector",
            "email": "qc@demo-coimbatore.demo.none1.in",
            "phone": null,
            "designation": "QC inspector",
            "department": "",
            "address": "",
            "city": "",
            "state": "",
            "pinCode": "",
            "country": "India",
            "role": "QC",
            "status": "ACTIVE",
            "joinedAt": "2026-10-17",
            "hasPassword": true,
            "permissions": {
              "viewOrders": false,
              "manageUsers": false,
              "exportReports": false
            },
            "photo": null,
            "documents": [],
            "activity": {
              "totalCount": 1,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e4c7-7361-b183-f9d7d2ecf9c2",
                    "label": "Joined organisation",
                    "detail": null,
                    "at": "2026-10-17T20:56:31.170Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e4e7-7b64-88ac-67a67b46b313",
            "name": "Demo Accountant",
            "email": "accountant@demo-coimbatore.demo.none1.in",
            "phone": null,
            "designation": "Accounts",
            "department": "",
            "address": "",
            "city": "",
            "state": "",
            "pinCode": "",
            "country": "India",
            "role": "ACCOUNTANT",
            "status": "ACTIVE",
            "joinedAt": "2026-10-17",
            "hasPassword": true,
            "permissions": {
              "viewOrders": true,
              "manageUsers": false,
              "exportReports": true
            },
            "photo": null,
            "documents": [],
            "activity": {
              "totalCount": 1,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e524-723d-8b6e-2343962bdf1f",
                    "label": "Joined organisation",
                    "detail": null,
                    "at": "2026-10-17T20:56:31.260Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        }
      ]
    }
  }
}
084JobCardDetails · loadsupervisorPOST /graphql200 OKAs expected67 ms
Operation
jobCard+order+customer+organisation
Request id
01a14ba9-9866-7730-94b5-4d0256ad44ed
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditJobCardDetails($id: ID!, $orderId: ID!, $customerId: ID!) { jobCard(id: $id) { ...J } order(id: $orderId) { ...ORD } customer(id: $customerId) { id name billingAddress { state } } organisation { id gstState gstRegistered defaultTaxRate taxRates { id rate active } } }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }
fragment ORD on Order { id jobCardId customerId customerName customerEmail partName jobName description quantity priority status dueDate poNumber poAmount routeCardNo dcNo dcDate partNumber drawingNumber rmPartNumber shopOrderNumber rawMaterialSize heatNumber projectId rawMaterialGrade materialSource quoteId notes createdAt designFile { ...F } documents { ...F } statusHistory { id label detail at tone } }

Variables

{
  "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
  "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
  "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7"
}

Response · HTTP 200

{
  "data": {
    "jobCard": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "code": "JOB4",
      "qrValue": "JC-00004",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "partName": "Bearing housing",
      "jobName": null,
      "material": "EN8 steel",
      "quantity": 40,
      "priority": "HIGH",
      "dueDate": "2026-10-23",
      "status": "NOT_STARTED",
      "designApproval": "PENDING",
      "materialSource": "BOUGHT_OUT",
      "materialQc": "ACCEPTED",
      "quotation": "PENDING",
      "billing": "NOT_INVOICED",
      "designFile": null,
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "seq": 1,
          "name": "Turning",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ],
      "qcHistory": [
        {
          "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
          "kind": "RM",
          "stage": "Incoming inspection",
          "result": "ACCEPTED",
          "remark": "Material and size as per drawing",
          "recordedAt": "2026-10-17T20:56:32.134Z",
          "jobOperationId": null,
          "inspector": "Demo Inspector",
          "rejectedMaterial": null,
          "report": null
        }
      ]
    },
    "order": {
      "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "jobCardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "customerEmail": null,
      "partName": "Bearing housing",
      "jobName": null,
      "description": null,
      "quantity": 40,
      "priority": "HIGH",
      "status": "NEW",
      "dueDate": "2026-10-23",
      "poNumber": "DEMO-COI-PO-004",
      "poAmount": null,
      "routeCardNo": null,
      "dcNo": null,
      "dcDate": null,
      "partNumber": null,
      "drawingNumber": null,
      "rmPartNumber": null,
      "shopOrderNumber": null,
      "rawMaterialSize": "Ø40 x 3000 mm",
      "heatNumber": null,
      "projectId": null,
      "rawMaterialGrade": "EN8",
      "materialSource": "BOUGHT_OUT",
      "quoteId": null,
      "notes": null,
      "createdAt": "2026-10-17T20:56:31.594Z",
      "designFile": null,
      "documents": [],
      "statusHistory": [
        {
          "id": "01a14ba6-e66d-7d11-8ca9-c400735bf62f",
          "label": "Order created",
          "detail": null,
          "at": "2026-10-17T20:56:31.597Z",
          "tone": "INFO"
        },
        {
          "id": "01a14ba6-e89b-7df7-bf86-2d5bc146ca88",
          "label": "Incoming inspection: accepted",
          "detail": "Material and size as per drawing",
          "at": "2026-10-17T20:56:32.155Z",
          "tone": "SUCCESS"
        }
      ]
    },
    "customer": {
      "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "name": "Demo Agro Implements",
      "billingAddress": {
        "state": "Tamil Nadu"
      }
    },
    "organisation": {
      "id": "01a14ba6-e3d8-7d56-8060-bfa0d3554b8b",
      "gstState": "Tamil Nadu",
      "gstRegistered": true,
      "defaultTaxRate": 18,
      "taxRates": [
        {
          "id": "0192f0c1-0000-7000-8000-f00000000000",
          "rate": 0,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000001",
          "rate": 5,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000002",
          "rate": 12,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000003",
          "rate": 18,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000004",
          "rate": 28,
          "active": false
        }
      ]
    }
  }
}
138QuoteDetails · loadownerPOST /graphql200 OKAs expected29 ms
Operation
quote+organisation+customers
Request id
01a14ba9-d6b2-7a1c-9a25-68c285dedd79
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditQuoteDetails($id: ID!) { quote(id: $id) { ...QT } organisation { name address { line1 city state pincode } gstin phone email gstRegistered gstState defaultTaxRate taxRates { id rate active } invoiceLogo { ...F } logo { ...F } termsAndConditions invoiceFooter } customers(first: 5) { edges { node { id name gstin billingAddress { state } } } } }
fragment QT on Quote { id number customerId customerName part quantity material status gstRate orderId createdAt lines { id operation description minutesPerPiece setupMinutes ratePerMinute amount } totals { subtotal discount taxable gstRate supply cgst sgst igst gst total } }
fragment F on AppFileReference { id name kind sizeBytes }

Variables

{
  "id": "01a14ba9-d1fa-71fe-8713-a07475f8dd8a"
}

Response · HTTP 200

{
  "data": {
    "quote": {
      "id": "01a14ba9-d1fa-71fe-8713-a07475f8dd8a",
      "number": "QTN/26-27/0003",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "part": "Audit shaft",
      "quantity": 12,
      "material": "EN8",
      "status": "DRAFT",
      "gstRate": 18,
      "orderId": null,
      "createdAt": "2026-10-17T20:59:43.013Z",
      "lines": [
        {
          "id": "01a14ba9-d577-781e-bf3a-835a7ee8a35b",
          "operation": "Turning",
          "description": "",
          "minutesPerPiece": 5,
          "setupMinutes": 10,
          "ratePerMinute": 2000,
          "amount": 140000
        },
        {
          "id": "01a14ba9-d578-7d2b-ad44-38d8963c84d0",
          "operation": "Drilling",
          "description": "",
          "minutesPerPiece": 1,
          "setupMinutes": 0,
          "ratePerMinute": 900,
          "amount": 10800
        }
      ],
      "totals": {
        "subtotal": 150800,
        "discount": 0,
        "taxable": 150800,
        "gstRate": 18,
        "supply": "INTRA",
        "cgst": 13572,
        "sgst": 13572,
        "igst": 0,
        "gst": 27144,
        "total": 177944
      }
    },
    "organisation": {
      "name": "Demo Coimbatore Works",
      "address": {
        "line1": "10 Synthetic Works Road",
        "city": "Coimbatore",
        "state": "Tamil Nadu",
        "pincode": "641001"
      },
      "gstin": "33DEMOA0001A1Z5",
      "phone": "+919000000100",
      "email": "office@example.test",
      "gstRegistered": true,
      "gstState": "Tamil Nadu",
      "defaultTaxRate": 18,
      "taxRates": [
        {
          "id": "0192f0c1-0000-7000-8000-f00000000000",
          "rate": 0,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000001",
          "rate": 5,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000002",
          "rate": 12,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000003",
          "rate": 18,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000004",
          "rate": 28,
          "active": false
        }
      ],
      "invoiceLogo": null,
      "logo": null,
      "termsAndConditions": "Synthetic terms",
      "invoiceFooter": "Thank you"
    },
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba9-67a8-73e2-b421-6469418b8866",
            "name": "Audit Components",
            "gstin": null,
            "billingAddress": {
              "state": "Tamil Nadu"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "name": "Demo Agro Implements",
            "gstin": null,
            "billingAddress": {
              "state": "Tamil Nadu"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "name": "Demo Auto Components",
            "gstin": null,
            "billingAddress": {
              "state": "Tamil Nadu"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e579-7091-b879-fd026c5ab537",
            "name": "Demo Hydraulics",
            "gstin": null,
            "billingAddress": {
              "state": "Karnataka"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "name": "Demo Pumps & Valves",
            "gstin": null,
            "billingAddress": {
              "state": "Tamil Nadu"
            }
          }
        }
      ]
    }
  }
}
142InvoiceDetails · loadownerPOST /graphql200 OKAs expected10 ms
Operation
invoice+organisation
Request id
01a14ba9-db40-7903-86e7-ae700c24686f
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditInvoiceDetails($id: ID!) { invoice(id: $id) { ...INV } organisation { name address { line1 city state pincode } gstin phone email invoiceLogo { ...F } logo { ...F } termsAndConditions invoiceFooter signature { ...F } } }
fragment INV on Invoice { id number customerId customerName jobCardId orderId routeCard part quantity status discount gstRate quoteId poAmount notes issuedAt dueDate lines { id operation description minutesPerPiece setupMinutes ratePerMinute amount } totals { subtotal discount taxable gstRate supply cgst sgst igst gst total } payment { paidOn receivedAmount tdsAmount tdsSection } }
fragment F on AppFileReference { id name kind sizeBytes }

Variables

{
  "id": "01a14ba6-e836-79c7-861a-0c20920fb6fc"
}

Response · HTTP 200

{
  "data": {
    "invoice": {
      "id": "01a14ba6-e836-79c7-861a-0c20920fb6fc",
      "number": "CBE/26-27/0002",
      "customerId": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
      "customerName": "Demo Auto Components",
      "jobCardId": "01a14ba6-e649-75ad-bbc9-16d7ecd00878",
      "orderId": "01a14ba6-e649-7d5b-9cc7-beaf68d484d7",
      "routeCard": "JC-00002",
      "part": "Valve spindle",
      "quantity": 80,
      "status": "NEW",
      "discount": 0,
      "gstRate": 18,
      "quoteId": null,
      "poAmount": null,
      "notes": null,
      "issuedAt": "2026-10-18",
      "dueDate": "2026-11-17",
      "lines": [
        {
          "id": "01a14ba6-e834-7522-b8bb-9760c119f49d",
          "operation": "CNC turning",
          "description": "",
          "minutesPerPiece": 6,
          "setupMinutes": 45,
          "ratePerMinute": 1500,
          "amount": 787500
        },
        {
          "id": "01a14ba6-e834-79d8-b991-0695c09addf2",
          "operation": "Deburring",
          "description": "",
          "minutesPerPiece": 1,
          "setupMinutes": 0,
          "ratePerMinute": 800,
          "amount": 64000
        }
      ],
      "totals": {
        "subtotal": 851500,
        "discount": 0,
        "taxable": 851500,
        "gstRate": 18,
        "supply": "INTRA",
        "cgst": 76635,
        "sgst": 76635,
        "igst": 0,
        "gst": 153270,
        "total": 1004770
      },
      "payment": null
    },
    "organisation": {
      "name": "Demo Coimbatore Works",
      "address": {
        "line1": "10 Synthetic Works Road",
        "city": "Coimbatore",
        "state": "Tamil Nadu",
        "pincode": "641001"
      },
      "gstin": "33DEMOA0001A1Z5",
      "phone": "+919000000100",
      "email": "office@example.test",
      "invoiceLogo": null,
      "logo": null,
      "termsAndConditions": "Synthetic terms",
      "invoiceFooter": "Thank you",
      "signature": null
    }
  }
}
219Billing · shop-nameownerPOST /graphql200 OKAs expected16 ms
Operation
organisation
Request id
01a14bff-f7e0-70b3-bd49-c7ef0fe1b391
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query ProofShop { organisation { name } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "organisation": {
      "name": "Demo Coimbatore Works"
    }
  }
}

updateOrganisation

025Organization · save-general-business-invoiceownerPOST /graphql200 OKAs expected86 ms
Operation
updateOrganisation
Request id
01a14ba9-456c-72c1-ad94-f0e3489d8bf0
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-025",
  "content-type": "application/json"
}

Query

mutation AuditOrgSave($input: UpdateOrganisationInput!) { updateOrganisation(input: $input) { ...O } }
fragment O on Organisation { id code createdAt shortName name logo { ...F } phone email website businessType industry registrationDetails address { line1 line2 city state pincode } country gstRegistered gstin gstState taxRates { id rate active } defaultTaxRate invoicePrefix invoiceStartNumber invoiceFooter invoiceLogo { ...F } termsAndConditions signature { ...F } }
fragment F on AppFileReference { id name kind sizeBytes }

Variables

{
  "input": {
    "name": "Demo Coimbatore Works",
    "phone": "+919000000100",
    "email": "office@example.test",
    "website": "https://example.test",
    "businessType": "private-limited",
    "industry": "cnc-machining",
    "registrationDetails": "SYN-REG-001",
    "invoiceFooter": "Thank you",
    "termsAndConditions": "Synthetic terms"
  }
}

Response · HTTP 200

{
  "data": {
    "updateOrganisation": {
      "id": "01a14ba6-e3d8-7d56-8060-bfa0d3554b8b",
      "code": "demo-coimbatore",
      "createdAt": "2026-10-17T20:56:30.900Z",
      "shortName": "Demo Coimbatore Works",
      "name": "Demo Coimbatore Works",
      "logo": null,
      "phone": "+919000000100",
      "email": "office@example.test",
      "website": "https://example.test",
      "businessType": "private-limited",
      "industry": "cnc-machining",
      "registrationDetails": "SYN-REG-001",
      "address": {
        "line1": "",
        "line2": null,
        "city": "",
        "state": "",
        "pincode": ""
      },
      "country": "India",
      "gstRegistered": true,
      "gstin": "33DEMOA0001A1Z5",
      "gstState": "Tamil Nadu",
      "taxRates": [
        {
          "id": "0192f0c1-0000-7000-8000-f00000000000",
          "rate": 0,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000001",
          "rate": 5,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000002",
          "rate": 12,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000003",
          "rate": 18,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000004",
          "rate": 28,
          "active": false
        }
      ],
      "defaultTaxRate": 18,
      "invoicePrefix": "CBE",
      "invoiceStartNumber": 1,
      "invoiceFooter": "Thank you",
      "invoiceLogo": null,
      "termsAndConditions": "Synthetic terms",
      "signature": null
    }
  }
}
026Organization · save-addressownerPOST /graphql200 OKAs expected22 ms
Operation
updateOrganisation
Request id
01a14ba9-46c6-7080-8ff6-3f8959415fc3
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-026",
  "content-type": "application/json"
}

Query

mutation AuditOrgAddress($input: UpdateOrganisationInput!) { updateOrganisation(input: $input) { address { line1 city state pincode } country } }

Variables

{
  "input": {
    "address": {
      "line1": "10 Synthetic Works Road",
      "city": "Coimbatore",
      "state": "Tamil Nadu",
      "pincode": "641001"
    },
    "country": "India"
  }
}

Response · HTTP 200

{
  "data": {
    "updateOrganisation": {
      "address": {
        "line1": "10 Synthetic Works Road",
        "city": "Coimbatore",
        "state": "Tamil Nadu",
        "pincode": "641001"
      },
      "country": "India"
    }
  }
}
155Organization · save-gstownerPOST /graphql200 OKAs expected31 ms
Operation
updateOrganisation
Request id
01a14ba9-ea3b-7d1c-bc96-14e021d393d6
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-155",
  "content-type": "application/json"
}

Query

mutation AuditOrgGst($input: UpdateOrganisationInput!) { updateOrganisation(input: $input) { gstRegistered gstin gstState taxRates { id rate active } defaultTaxRate } }

Variables

{
  "input": {
    "gstRegistered": true,
    "gstin": "33AAAAA0000A1Z5",
    "taxRates": [
      {
        "id": "eb55c069-236c-4926-ad25-4866646ba840",
        "rate": 18,
        "active": true
      },
      {
        "id": "b6cf424a-ba22-44ab-8bb0-20a19f712990",
        "rate": 12,
        "active": false
      }
    ],
    "defaultTaxRate": 18
  }
}

Response · HTTP 200

{
  "data": {
    "updateOrganisation": {
      "gstRegistered": true,
      "gstin": "33AAAAA0000A1Z5",
      "gstState": "Tamil Nadu",
      "taxRates": [
        {
          "id": "eb55c069-236c-4926-ad25-4866646ba840",
          "rate": 18,
          "active": true
        },
        {
          "id": "b6cf424a-ba22-44ab-8bb0-20a19f712990",
          "rate": 12,
          "active": false
        }
      ],
      "defaultTaxRate": 18
    }
  }
}
156Organization · save-invoice-settingsownerPOST /graphql200 OKAs expected43 ms
Operation
updateOrganisation
Request id
01a14ba9-eb60-799b-b305-c3f3df90a41b
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-156",
  "content-type": "application/json"
}

Query

mutation AuditOrgInvoice($input: UpdateOrganisationInput!) { updateOrganisation(input: $input) { invoicePrefix invoiceStartNumber invoiceFooter } }

Variables

{
  "input": {
    "invoicePrefix": "DCW",
    "invoiceStartNumber": 101,
    "invoiceFooter": "Synthetic footer"
  }
}

Response · HTTP 200

{
  "data": {
    "updateOrganisation": {
      "invoicePrefix": "DCW",
      "invoiceStartNumber": 101,
      "invoiceFooter": "Synthetic footer"
    }
  }
}
157Organization · save-documentsownerPOST /graphql200 OKAs expected37 ms
Operation
updateOrganisation
Request id
01a14ba9-ec91-7cf1-876e-5f28d13799da
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-157",
  "content-type": "application/json"
}

Query

mutation AuditOrgDocs($input: UpdateOrganisationInput!) { updateOrganisation(input: $input) { termsAndConditions invoiceLogo { ...F } signature { ...F } } }
fragment F on AppFileReference { id name kind sizeBytes }

Variables

{
  "input": {
    "termsAndConditions": "Synthetic terms v2",
    "invoiceLogo": null,
    "signature": null
  }
}

Response · HTTP 200

{
  "data": {
    "updateOrganisation": {
      "termsAndConditions": "Synthetic terms v2",
      "invoiceLogo": null,
      "signature": null
    }
  }
}
210Settings · clear-sac-and-bankownerPOST /graphql200 OKAs expected44 ms

Start without the optional PDF settings.

Operation
updateOrganisation
Request id
01a14bff-ed87-7b9a-b2df-996250a727c3
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-210",
  "content-type": "application/json"
}

Query

mutation ProofOrgClear($input: UpdateOrganisationInput!) { updateOrganisation(input: $input) { id sacCode bankDetails { ifsc } } }

Variables

{
  "input": {
    "sacCode": null,
    "bankDetails": null
  }
}

Response · HTTP 200

{
  "data": {
    "updateOrganisation": {
      "id": "01a14ba6-e3d8-7d56-8060-bfa0d3554b8b",
      "sacCode": null,
      "bankDetails": null
    }
  }
}
214Settings · set-sac-and-bankownerPOST /graphql200 OKAs expected17 ms

Optional settings printed on PDFs: SAC only when set; bank details.

Operation
updateOrganisation
Request id
01a14bff-f234-7915-80a8-17d8609ad20b
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-214",
  "content-type": "application/json"
}

Query

mutation ProofOrgPdf($input: UpdateOrganisationInput!) { updateOrganisation(input: $input) { id sacCode bankDetails { accountName bankName accountNumber ifsc branch } } }

Variables

{
  "input": {
    "sacCode": "998873",
    "bankDetails": {
      "accountName": "Demo Precision Works",
      "bankName": "Example Bank",
      "accountNumber": "000011112222",
      "ifsc": "EXMP0001234",
      "branch": "Peelamedu"
    }
  }
}

Response · HTTP 200

{
  "data": {
    "updateOrganisation": {
      "id": "01a14ba6-e3d8-7d56-8060-bfa0d3554b8b",
      "sacCode": "998873",
      "bankDetails": {
        "accountName": "Demo Precision Works",
        "bankName": "Example Bank",
        "accountNumber": "000011112222",
        "ifsc": "EXMP0001234",
        "branch": "Peelamedu"
      }
    }
  }
}

Search documentation

Search operations, types and errors from the generated contract.