// Code generated by @openmeter/typespec-go. DO NOT EDIT. package openmeter import "time" // Organization-level default tax code references. // // Stores the default tax codes applied to specific billing contexts for this // organization. Provisioned automatically when the organization is created. type OrganizationDefaultTaxCodes struct { // Default tax code for invoicing. InvoicingTaxCode TaxCodeReference `json:"invoicing_tax_code"` // Default tax code for credit grants. CreditGrantTaxCode TaxCodeReference `json:"credit_grant_tax_code"` // Timestamp of creation. CreatedAt time.Time `json:"created_at"` // Timestamp of last update. UpdatedAt time.Time `json:"updated_at"` } // OrganizationDefaultTaxCodes update request. type UpdateOrganizationDefaultTaxCodesRequest struct { // Default tax code for invoicing. InvoicingTaxCode *TaxCodeReference `json:"invoicing_tax_code,omitempty"` // Default tax code for credit grants. CreditGrantTaxCode *TaxCodeReference `json:"credit_grant_tax_code,omitempty"` }