{"meta":{"title":"REST-API-Endpunkte für die Abrechnung","intro":"Verwende die REST-API, um Abrechnungsinformationen abzurufen.","product":"REST-API","breadcrumbs":[{"href":"/de/enterprise-server@3.22/rest","title":"REST-API"},{"href":"/de/enterprise-server@3.22/rest/billing","title":"Abrechnung"},{"href":"/de/enterprise-server@3.22/rest/billing/billing","title":"Abrechnung"}],"documentType":"article"},"body":"# REST-API-Endpunkte für die Abrechnung\n\nVerwende die REST-API, um Abrechnungsinformationen abzurufen.\n\n## Informationen zur Abrechnung\n\nDu kannst Abrechnungsinformationen für ein Unternehmen abrufen. Weitere Informationen finden Sie unter [REST-API-Endpunkte für die Abrechnung](/de/enterprise-server@3.22/rest/billing/billing).\n\n> \\[!NOTE]\n> Most endpoints use `Authorization: Bearer <YOUR-TOKEN>` and `Accept: application/vnd.github+json` headers, plus `X-GitHub-Api-Version: 2026-03-10`. Curl examples below omit these standard headers for brevity.\n\n## Get GitHub Advanced Security active committers for an organization\n\n```\nGET /orgs/{org}/settings/billing/advanced-security\n```\n\nGets the GitHub Advanced Security active committers for an organization per repository.\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the total\\_advanced\\_security\\_committers is not the sum of advanced\\_security\\_committers for each repository.\nIf this organization defers to an enterprise for billing, the total\\_advanced\\_security\\_committers returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.\nThe total number of repositories with committer information is tracked by the total\\_count field.\n\n### Parameters\n\n#### Headers\n\n* **`accept`** (string)\n  Setting to `application/vnd.github+json` is recommended.\n\n#### Path and query parameters\n\n* **`org`** (string) (required)\n  The organization name. The name is not case sensitive.\n\n* **`advanced_security_product`** (string)\n  The security product to get GitHub Advanced Security active committers for.\n  For standalone Code Scanning or Secret Protection products, this parameter is required to specify which product you want committer information for. For other plans this parameter cannot be used.\n  Can be one of: `code_security`, `secret_protection`\n\n* **`per_page`** (integer)\n  The number of results per page (max 100). For more information, see \"Using pagination in the REST API.\"\n  Default: `30`\n\n* **`page`** (integer)\n  The page number of the results to fetch. For more information, see \"Using pagination in the REST API.\"\n  Default: `1`\n\n### HTTP response status codes\n\n* **200** - Success\n\n### Code examples\n\n#### Example\n\n**Request:**\n\n```curl\ncurl -L \\\n  -X GET \\\n  http(s)://HOSTNAME/api/v3/orgs/ORG/settings/billing/advanced-security\n```\n\n**Response schema (Status: 200):**\n\n* `total_advanced_security_committers`: integer\n* `total_count`: integer\n* `maximum_advanced_security_committers`: integer\n* `purchased_advanced_security_committers`: integer\n* `repositories`: required, array of objects:\n  * `name`: required, string\n  * `advanced_security_committers`: required, integer\n  * `advanced_security_committers_breakdown`: required, array of objects:\n    * `user_login`: required, string\n    * `last_pushed_date`: required, string\n    * `last_pushed_email`: required, string"}