---
title: Get Invoice Sync Job Status
slug: get-invoice-sync-job-status
docTags: 
createdAt: 2026-08-25T19:28:59.170Z
---

{
  "id": "vQifJ5VklqR0ZeTs-9ePw",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.nue.io/billing/invoices/sync-jobs/{jobId}",
    "servers": [
      {
        "url": "https://api.nue.io/billing/invoices/sync-jobs/{jobId}",
        "description": "Nue Production API Endpoint"
      },
      {
        "url": "https://api.sandbox.nue.io/billing/invoices/sync-jobs/{jobId}",
        "description": "Nue Sandbox API Endpoint"
      }
    ],
    "name": "Get Invoice Sync Job Status",
    "description": "Get the status of the invoice sync job.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "jobId",
          "type": "string<uuid>",
          "description": "The batch sync job ID.",
          "format": "uuid"
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "*/*",
            "application/json"
          ],
          "default": "*/*"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "apiKeyAuth",
          "name": "nue-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "400",
        "description": "Bad Request",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "title",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "message",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "errorCode",
                "kind": "optional",
                "type": "string",
                "description": ""
              }
            ],
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "404",
        "description": "Not Found",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "RYtotXyIyHTiyJI1sEFlG",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.nue.io/billing/invoices/sync-jobs/{jobId} \\\n     --header 'accept: */*'"
        },
        {
          "id": "c8VJYxUUUbid2spohSQye",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"*/*\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.nue.io/billing/invoices/sync-jobs/{jobId}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "7PzhNuVVoSNnk6vTA8da9",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.nue.io/billing/invoices/sync-jobs/{jobId}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"*/*\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "sYkBs4KqWH37PJ8AJjCGS",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.nue.io/billing/invoices/sync-jobs/{jobId}\"\n\npayload = {}\nheaders = {\n   'accept': '*/*',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "RYtotXyIyHTiyJI1sEFlG"
    },
    "results": {
      "languages": [
        {
          "id": "y8ZbA9rBNFOsq_wNkbvtj",
          "language": "200",
          "code": "// OK\n"
        },
        {
          "id": "_cFtJya-SRKdQrDI6eyKn",
          "language": "400",
          "code": "// Bad Request\n{\n  \"title\": \"\",\n  \"message\": \"\",\n  \"errorCode\": \"\"\n}"
        },
        {
          "id": "OSMpKuQx4Ns3kwJhkTgHb",
          "language": "404",
          "code": "// Not Found\n"
        }
      ],
      "selectedLanguageId": "y8ZbA9rBNFOsq_wNkbvtj"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}