@updraft-solutions/mcrit-sdk 0.18.6 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1297,6 +1297,8 @@ var billingProfileSchema = z4.object({
1297
1297
  // buyer-assigned free-text reference otherwise.
1298
1298
  buyer_reference: z4.string().nullable().optional(),
1299
1299
  is_public_body: z4.boolean().optional(),
1300
+ // EN 16931 BT-19 — the buyer's cost centre (accounting reference).
1301
+ cost_centre: z4.string().nullable().optional(),
1300
1302
  email: z4.string().nullable(),
1301
1303
  archived_at: z4.string().nullable(),
1302
1304
  source_billing_profile_id: z4.number().nullable(),
@@ -1414,6 +1416,7 @@ var invoiceSchema = z4.object({
1414
1416
  recipient_vat_id: z4.string().nullable().optional(),
1415
1417
  recipient_buyer_reference: z4.string().nullable().optional(),
1416
1418
  recipient_is_public_body: z4.boolean().optional(),
1419
+ recipient_cost_centre: z4.string().nullable().optional(),
1417
1420
  // XRechnung routing: true when the recipient was frozen as a public body
1418
1421
  // (the e-invoice is built as XRechnung); `xrechnung_missing` lists the
1419
1422
  // BR-DE fields that still block a draft's release, keyed by invoice column.
@@ -1297,6 +1297,8 @@ var billingProfileSchema = _zod.z.object({
1297
1297
  // buyer-assigned free-text reference otherwise.
1298
1298
  buyer_reference: _zod.z.string().nullable().optional(),
1299
1299
  is_public_body: _zod.z.boolean().optional(),
1300
+ // EN 16931 BT-19 — the buyer's cost centre (accounting reference).
1301
+ cost_centre: _zod.z.string().nullable().optional(),
1300
1302
  email: _zod.z.string().nullable(),
1301
1303
  archived_at: _zod.z.string().nullable(),
1302
1304
  source_billing_profile_id: _zod.z.number().nullable(),
@@ -1414,6 +1416,7 @@ var invoiceSchema = _zod.z.object({
1414
1416
  recipient_vat_id: _zod.z.string().nullable().optional(),
1415
1417
  recipient_buyer_reference: _zod.z.string().nullable().optional(),
1416
1418
  recipient_is_public_body: _zod.z.boolean().optional(),
1419
+ recipient_cost_centre: _zod.z.string().nullable().optional(),
1417
1420
  // XRechnung routing: true when the recipient was frozen as a public body
1418
1421
  // (the e-invoice is built as XRechnung); `xrechnung_missing` lists the
1419
1422
  // BR-DE fields that still block a draft's release, keyed by invoice column.