v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-03101355448.4 KB
OpenMeter Defaults

Update organization default tax codes

put/openmeter/defaults/tax-codes

Request body

Example request

{
  "invoicing_tax_code": {
    "id": "01G65Z755AFWAKHE12NY0CQ9FH"
  },
  "credit_grant_tax_code": {
    "id": "01G65Z755AFWAKHE12NY0CQ9FH"
  }
}

Response

OrganizationDefaultTaxCodes upsert response.

created_atstring date-time required

RFC3339 formatted date-time string in UTC.

updated_atstring date-time required

RFC3339 formatted date-time string in UTC.

Example response

{
  "invoicing_tax_code": {
    "id": "01G65Z755AFWAKHE12NY0CQ9FH"
  },
  "credit_grant_tax_code": {
    "id": "01G65Z755AFWAKHE12NY0CQ9FH"
  },
  "created_at": "2023-01-01T01:01:01.001Z",
  "updated_at": "2023-01-01T01:01:01.001Z"
}