Skip to content

Commit a2797c9

Browse files
refactor(OUT-3874): drop unused TxnTaxDetail from QBInvoiceRowSchema
The create-invoice response no longer reads TxnTaxDetail now that tax is always sourced from Assembly, so remove the field to stop implying we consume it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 1845b6d commit a2797c9

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎src/type/dto/intuitAPI.dto.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,6 @@ export const QBInvoiceRowSchema = z.object({
300300
DueDate: z.string().optional(),
301301
PrivateNote: z.string().optional(),
302302
CustomerRef: QBNameValueSchema.optional(),
303-
TxnTaxDetail: z
304-
.object({
305-
TotalTax: z.number(),
306-
})
307-
.optional(),
308303
})
309304
export type QBInvoiceRowType = z.infer<typeof QBInvoiceRowSchema>
310305

0 commit comments

Comments
 (0)