{"ok":true,"success":true,"canonical":true,"marker":"CODEX734_COUNTRY_TAX_ENGINE_FOUNDATION","version":"codex734-country-tax-engine-foundation-v1","routeOwner":"backend/server.js","tradeCoreJs":"ABSENT_OK_NOT_PATCHED","route":"/api/trade-core/erp/country-tax-engine/invoice-tax-preview","key":"invoice_tax_preview","label":"Invoice tax preview","base":"/api/trade-core/erp/country-tax-engine","readOnly":true,"selectOnly":true,"previewOnly":true,"noDbSchemaChange":true,"noDbMutation":true,"noInvoiceMutation":true,"noStockMutation":true,"noInventoryMutation":true,"noLedgerMutation":true,"noTaxFiling":true,"noExternalApiCall":true,"noEwayEinvoiceApiCall":true,"noMoneyMovement":true,"noProviderCall":true,"noSchedulerEnablement":true,"noRouteFilesCreated":true,"noDuplicateRoutes":true,"noFrontendChange":true,"forbiddenFrontendRoot":"frontend/src/app","limit":5,"generatedAt":"2026-07-17T06:50:17.558Z","status":"COUNTRY_TAX_ENGINE_READBACK_READY","sourceTables":["erp_invoices","erp_invoice_lines","erp_tax_lines","erp_tax_rules","erp_tax_ledger"],"readbackSummary":{"tableCount":5,"existingTableCount":5,"missingTableCount":0,"rowCountTotal":71,"warningCount":0,"status":"COUNTRY_TAX_ENGINE_READBACK_READY","warnings":[]},"invoiceTaxPreview":{"invoiceNo":"INV-F6UAT1783953622429-JOB","previewOnly":true,"lineCount":0,"taxLineCount":0,"taxableAmount":0,"taxAmount":0,"grossPreviewAmount":0,"mutation":"none"},"tableReadbacks":[{"table":"erp_invoices","exists":true,"status":"READY","rowCount":41,"columns":["id","invoice_no","order_id","buyer_id","seller_id","module_key","currency","amount","tax_json","status","payload_json","created_at","updated_at","sector","invoice_date","invoice_series","tax_mode","invoice_number_json","jurisdiction_json","linkage_json","purchase_order_id","goods_receipt_id","purchase_invoice_no","vendor_invoice_no","supplier_id","company_id","branch_id","due_date","payment_terms","jobwork_challan_id","jobwork_invoice_no","invoice_id","invoice_status","tax_label","buyer_company_id","seller_company_id","listing_id","rfq_id","quotation_id","domestic_export_mode","trade_mode","quantity","uom","unit_price","subtotal","discount_amount","freight_amount","insurance_amount","tax_amount","round_off","total_amount","advance_paid","amount_due","incoterm","origin","destination","document_json","idempotency_key","transaction_context","context_metadata"],"rows":[{"id":43,"uom":"unit","amount":1120,"origin":"","rfq_id":"","sector":"textile","status":"ISSUED","buyer_id":null,"currency":"INR","due_date":"2026-08-12","incoterm":"","order_id":"F6UAT1783953622429-JOB","quantity":25,"subtotal":1000,"tax_json":{"mode":"exclusive","rate":12,"label":"Custom","exempt":false,"country":"GLOBAL","summary":[{"mode":"exclusive","rate":12,"label":"Custom","taxAmount":120,"taxableAmount":1000}],"taxAmount":120,"zeroRated":false,"registration":"","reverseCharge":false,"taxableAmount":1000},"tax_mode":"domestic","branch_id":null,"round_off":0,"seller_id":"seller-1","tax_label":"Custom","amount_due":1120,"company_id":"ach-admin","created_at":"2026-07-13T14:40:31.309754+00:00","invoice_id":"INV-F6UAT1783953622429-JOB","invoice_no":"INV-F6UAT1783953622429-JOB","listing_id":"LIST-F6UAT1783953622429-JOB","module_key":"spinning_texturising_job","tax_amount":120,"trade_mode":"B2B","unit_price":40,"updated_at":"2026-07-13T14:40:31.895677+00:00","destination":"","supplier_id":null,"advance_paid":0,"invoice_date":"2026-07-13T14:40:31.309754+00:00","linkage_json":{},"payload_json":{"rfqId":"RFQ-F6UAT1783953622429-JOB","reason":null,"buyerId":null,"dueDate":"2026-08-12","orderId":"F6UAT1783953622429-JOB","taxMode":"exclusive","taxRate":12,"currency":"INR","quantity":25,"sellerId":"seller-1","taxLabel":"Custom","invoiceId":"INV-F6UAT1783953622429-JOB","listingId":"LIST-F6UAT1783953622429-JOB","moduleKey":"spinning_texturising_job","tradeMode":"B2B","unitPrice":40,"advancePaid":0,"payableType":"job_work_service","quotationId":"QT-F6UAT1783953622429-JOB","sourceRoute":"/api/trade-core/family5/orders/create","totalAmount":1000,"paymentTerms":"Net 30","activeContext":{"contextId":"business-admin-online","activeRole":"admin","routeOwner":"backend/server.js","accountType":"business","permissions":["admin:read","employee:operate"],"businessMode":"online","entitlements":{},"activeBuyerId":null,"activeBranchId":"main","activeSellerId":null,"activeCompanyId":"ach-admin","activeProfileId":"profile_business_admin-1","activeCompanyName":"Acharioteer Admin","transactionOrigin":"MARKETPLACE_ONLINE","authenticatedUserId":"admin-1"},"automationOff":true,"buyerCompanyId":"buyer-company-1","stateChangedBy":"admin-1","acceptedQuoteId":"INTERNAL-F5-QUOTE-F6UAT1783953622429-JOB","packageMetadata":null,"productMasterId":"PM-F6UAT1783953622429-JOB","sellerCompanyId":"ach-admin","canonicalTradeFlow":"listing -> comparison -> landed_cost -> order -> escrow -> logistics -> delivery -> wallet -> payout -> receipt_audit","domesticExportMode":"domestic","noGovernmentFiling":true,"noProviderExecution":true,"providerExecutionEnabled":false,"canonicalOrderCreateOwner":"backend/server.js","canonicalOrderCreateHandler":"bcpui05CreateOrderCanonical"},"quotation_id":"","total_amount":1120,"document_json":{"pdfProvider":"OFF","printableHtml":true,"eInvoiceProvider":"OFF"},"payment_terms":"Net 30","freight_amount":0,"invoice_series":null,"invoice_status":"ISSUED","discount_amount":0,"idempotency_key":"INV-F6UAT1783953622429-JOB","buyer_company_id":"buyer-company-1","context_metadata":{},"goods_receipt_id":null,"insurance_amount":0,"jurisdiction_json":{},"purchase_order_id":null,"seller_company_id":"ach-admin","vendor_invoice_no":null,"jobwork_challan_id":null,"jobwork_invoice_no":null,"invoice_number_json":{},"purchase_invoice_no":null,"transaction_context":{},"domestic_export_mode":"domestic"},{"id":42,"uom":"unit","amount":75,"origin":"","rfq_id":"","sector":"textile","status":"ISSUED","buyer_id":null,"currency":"INR","due_date":"2026-08-12","incoterm":"","order_id":"F6UAT1783953622429-C2C","quantity":1,"subtotal":75,"tax_json":{"mode":"exempt","rate":0,"label":"None","exempt":true,"country":"GLOBAL","summary":[{"mode":"exempt","rate":0,"label":"None","taxAmount":0,"taxableAmount":75}],"taxAmount":0,"zeroRated":false,"registration":"","reverseCharge":false,"taxableAmount":75},"tax_mode":"domestic","branch_id":null,"round_off":0,"seller_id":"seller-1","tax_label":"None","amount_due":75,"company_id":"ach-admin","created_at":"2026-07-13T14:40:29.85265+00:00","invoice_id":"INV-F6UAT1783953622429-C2C","invoice_no":"INV-F6UAT1783953622429-C2C","listing_id":"LIST-F6UAT1783953622429-C2C","module_key":"textile_c2c_trader","tax_amount":0,"trade_mode":"C2C","unit_price":75,"updated_at":"2026-07-13T14:40:30.43749+00:00","destination":"","supplier_id":null,"advance_paid":0,"invoice_date":"2026-07-13T14:40:29.85265+00:00","linkage_json":{},"payload_json":{"rfqId":"RFQ-F6UAT1783953622429-C2C","reason":null,"buyerId":null,"dueDate":"2026-08-12","orderId":"F6UAT1783953622429-C2C","taxMode":"exempt","currency":"INR","quantity":1,"sellerId":"seller-1","taxLabel":"None","invoiceId":"INV-F6UAT1783953622429-C2C","listingId":"LIST-F6UAT1783953622429-C2C","moduleKey":"textile_c2c_trader","tradeMode":"C2C","unitPrice":75,"advancePaid":0,"quotationId":"QT-F6UAT1783953622429-C2C","sourceRoute":"/api/trade-core/family5/orders/create","totalAmount":75,"paymentTerms":"Net 30","activeContext":{"contextId":"business-admin-online","activeRole":"admin","routeOwner":"backend/server.js","accountType":"business","permissions":["admin:read","employee:operate"],"businessMode":"online","entitlements":{},"activeBuyerId":null,"activeBranchId":"main","activeSellerId":null,"activeCompanyId":"ach-admin","activeProfileId":"profile_business_admin-1","activeCompanyName":"Acharioteer Admin","transactionOrigin":"MARKETPLACE_ONLINE","authenticatedUserId":"admin-1"},"automationOff":true,"buyerCompanyId":"buyer-company-1","stateChangedBy":"admin-1","acceptedQuoteId":"INTERNAL-F5-QUOTE-F6UAT1783953622429-C2C","packageMetadata":null,"productMasterId":"PM-F6UAT1783953622429-C2C","sellerCompanyId":"ach-admin","canonicalTradeFlow":"listing -> comparison -> landed_cost -> order -> escrow -> logistics -> delivery -> wallet -> payout -> receipt_audit","domesticExportMode":"domestic","noGovernmentFiling":true,"noProviderExecution":true,"providerExecutionEnabled":false,"canonicalOrderCreateOwner":"backend/server.js","canonicalOrderCreateHandler":"bcpui05CreateOrderCanonical"},"quotation_id":"","total_amount":75,"document_json":{"pdfProvider":"OFF","printableHtml":true,"eInvoiceProvider":"OFF"},"payment_terms":"Net 30","freight_amount":0,"invoice_series":null,"invoice_status":"ISSUED","discount_amount":0,"idempotency_key":"INV-F6UAT1783953622429-C2C","buyer_company_id":"buyer-company-1","context_metadata":{},"goods_receipt_id":null,"insurance_amount":0,"jurisdiction_json":{},"purchase_order_id":null,"seller_company_id":"ach-admin","vendor_invoice_no":null,"jobwork_challan_id":null,"jobwork_invoice_no":null,"invoice_number_json":{},"purchase_invoice_no":null,"transaction_context":{},"domestic_export_mode":"domestic"},{"id":41,"uom":"unit","amount":523.81,"origin":"","rfq_id":"","sector":"textile","status":"ISSUED","buyer_id":null,"currency":"INR","due_date":"2026-08-12","incoterm":"","order_id":"F6UAT1783953622429-B2C","quantity":2,"subtotal":500,"tax_json":{"mode":"inclusive","rate":5,"label":"Sales Tax","exempt":false,"country":"GLOBAL","summary":[{"mode":"inclusive","rate":5,"label":"Sales Tax","taxAmount":23.81,"taxableAmount":476.19}],"taxAmount":23.81,"zeroRated":false,"registration":"","reverseCharge":false,"taxableAmount":476.19},"tax_mode":"domestic","branch_id":null,"round_off":0,"seller_id":"seller-1","tax_label":"Sales Tax","amount_due":523.81,"company_id":"ach-admin","created_at":"2026-07-13T14:40:28.404003+00:00","invoice_id":"INV-F6UAT1783953622429-B2C","invoice_no":"INV-F6UAT1783953622429-B2C","listing_id":"LIST-F6UAT1783953622429-B2C","module_key":"textile_retailers","tax_amount":23.81,"trade_mode":"B2C","unit_price":250,"updated_at":"2026-07-13T14:40:28.992024+00:00","destination":"","supplier_id":null,"advance_paid":0,"invoice_date":"2026-07-13T14:40:28.404003+00:00","linkage_json":{},"payload_json":{"rfqId":"RFQ-F6UAT1783953622429-B2C","reason":null,"buyerId":null,"dueDate":"2026-08-12","orderId":"F6UAT1783953622429-B2C","taxMode":"inclusive","taxRate":5,"currency":"INR","quantity":2,"sellerId":"seller-1","taxLabel":"Sales Tax","invoiceId":"INV-F6UAT1783953622429-B2C","listingId":"LIST-F6UAT1783953622429-B2C","moduleKey":"textile_retailers","tradeMode":"B2C","unitPrice":250,"advancePaid":0,"quotationId":"QT-F6UAT1783953622429-B2C","sourceRoute":"/api/trade-core/family5/orders/create","totalAmount":500,"paymentTerms":"Net 30","activeContext":{"contextId":"business-admin-online","activeRole":"admin","routeOwner":"backend/server.js","accountType":"business","permissions":["admin:read","employee:operate"],"businessMode":"online","entitlements":{},"activeBuyerId":null,"activeBranchId":"main","activeSellerId":null,"activeCompanyId":"ach-admin","activeProfileId":"profile_business_admin-1","activeCompanyName":"Acharioteer Admin","transactionOrigin":"MARKETPLACE_ONLINE","authenticatedUserId":"admin-1"},"automationOff":true,"buyerCompanyId":"buyer-company-1","stateChangedBy":"admin-1","acceptedQuoteId":"INTERNAL-F5-QUOTE-F6UAT1783953622429-B2C","packageMetadata":null,"productMasterId":"PM-F6UAT1783953622429-B2C","sellerCompanyId":"ach-admin","canonicalTradeFlow":"listing -> comparison -> landed_cost -> order -> escrow -> logistics -> delivery -> wallet -> payout -> receipt_audit","domesticExportMode":"domestic","noGovernmentFiling":true,"noProviderExecution":true,"providerExecutionEnabled":false,"canonicalOrderCreateOwner":"backend/server.js","canonicalOrderCreateHandler":"bcpui05CreateOrderCanonical"},"quotation_id":"","total_amount":523.81,"document_json":{"pdfProvider":"OFF","printableHtml":true,"eInvoiceProvider":"OFF"},"payment_terms":"Net 30","freight_amount":0,"invoice_series":null,"invoice_status":"ISSUED","discount_amount":0,"idempotency_key":"INV-F6UAT1783953622429-B2C","buyer_company_id":"buyer-company-1","context_metadata":{},"goods_receipt_id":null,"insurance_amount":0,"jurisdiction_json":{},"purchase_order_id":null,"seller_company_id":"ach-admin","vendor_invoice_no":null,"jobwork_challan_id":null,"jobwork_invoice_no":null,"invoice_number_json":{},"purchase_invoice_no":null,"transaction_context":{},"domestic_export_mode":"domestic"},{"id":40,"uom":"unit","amount":1000,"origin":"IN","rfq_id":"","sector":"textile","status":"ISSUED","buyer_id":null,"currency":"USD","due_date":"2026-08-12","incoterm":"FOB","order_id":"F6UAT1783953622429-EXPB2B","quantity":10,"subtotal":1000,"tax_json":{"mode":"zero-rated","rate":0,"label":"VAT","exempt":false,"country":"GLOBAL","summary":[{"mode":"zero-rated","rate":0,"label":"VAT","taxAmount":0,"taxableAmount":1000}],"taxAmount":0,"zeroRated":true,"registration":"","reverseCharge":false,"taxableAmount":1000},"tax_mode":"domestic","branch_id":null,"round_off":0,"seller_id":"seller-1","tax_label":"VAT","amount_due":1000,"company_id":"ach-admin","created_at":"2026-07-13T14:40:26.944292+00:00","invoice_id":"INV-F6UAT1783953622429-EXPB2B","invoice_no":"INV-F6UAT1783953622429-EXPB2B","listing_id":"LIST-F6UAT1783953622429-EXPB2B","module_key":"yarn","tax_amount":0,"trade_mode":"B2B","unit_price":100,"updated_at":"2026-07-13T14:40:27.52754+00:00","destination":"US","supplier_id":null,"advance_paid":0,"invoice_date":"2026-07-13T14:40:26.944292+00:00","linkage_json":{},"payload_json":{"rfqId":"RFQ-F6UAT1783953622429-EXPB2B","origin":"IN","reason":null,"buyerId":null,"dueDate":"2026-08-12","orderId":"F6UAT1783953622429-EXPB2B","taxMode":"zero-rated","taxRate":0,"currency":"USD","incoterm":"FOB","quantity":10,"sellerId":"seller-1","taxLabel":"VAT","invoiceId":"INV-F6UAT1783953622429-EXPB2B","listingId":"LIST-F6UAT1783953622429-EXPB2B","moduleKey":"yarn","tradeMode":"B2B","unitPrice":100,"advancePaid":0,"destination":"US","quotationId":"QT-F6UAT1783953622429-EXPB2B","sourceRoute":"/api/trade-core/family5/orders/create","totalAmount":1000,"paymentTerms":"Net 30","activeContext":{"contextId":"business-admin-online","activeRole":"admin","routeOwner":"backend/server.js","accountType":"business","permissions":["admin:read","employee:operate"],"businessMode":"online","entitlements":{},"activeBuyerId":null,"activeBranchId":"main","activeSellerId":null,"activeCompanyId":"ach-admin","activeProfileId":"profile_business_admin-1","activeCompanyName":"Acharioteer Admin","transactionOrigin":"MARKETPLACE_ONLINE","authenticatedUserId":"admin-1"},"automationOff":true,"buyerCompanyId":"buyer-company-1","stateChangedBy":"admin-1","acceptedQuoteId":"INTERNAL-F5-QUOTE-F6UAT1783953622429-EXPB2B","packageMetadata":null,"productMasterId":"PM-F6UAT1783953622429-EXPB2B","sellerCompanyId":"ach-admin","canonicalTradeFlow":"listing -> comparison -> landed_cost -> order -> escrow -> logistics -> delivery -> wallet -> payout -> receipt_audit","domesticExportMode":"export","noGovernmentFiling":true,"noProviderExecution":true,"providerExecutionEnabled":false,"canonicalOrderCreateOwner":"backend/server.js","canonicalOrderCreateHandler":"bcpui05CreateOrderCanonical"},"quotation_id":"","total_amount":1000,"document_json":{"pdfProvider":"OFF","printableHtml":true,"eInvoiceProvider":"OFF"},"payment_terms":"Net 30","freight_amount":0,"invoice_series":null,"invoice_status":"ISSUED","discount_amount":0,"idempotency_key":"INV-F6UAT1783953622429-EXPB2B","buyer_company_id":"buyer-company-1","context_metadata":{},"goods_receipt_id":null,"insurance_amount":0,"jurisdiction_json":{},"purchase_order_id":null,"seller_company_id":"ach-admin","vendor_invoice_no":null,"jobwork_challan_id":null,"jobwork_invoice_no":null,"invoice_number_json":{},"purchase_invoice_no":null,"transaction_context":{},"domestic_export_mode":"export"},{"id":39,"uom":"unit","amount":1180,"origin":"","rfq_id":"","sector":"textile","status":"CREDIT_ADJUSTED","buyer_id":null,"currency":"INR","due_date":"2026-08-12","incoterm":"","order_id":"F6UAT1783953622429-DOMB2B","quantity":10,"subtotal":1000,"tax_json":{"mode":"exclusive","rate":18,"label":"GST","exempt":false,"country":"GLOBAL","summary":[{"mode":"exclusive","rate":18,"label":"GST","taxAmount":180,"taxableAmount":1000}],"taxAmount":180,"zeroRated":false,"registration":"","reverseCharge":false,"taxableAmount":1000},"tax_mode":"domestic","branch_id":null,"round_off":0,"seller_id":"seller-1","tax_label":"GST","amount_due":5,"company_id":"ach-admin","created_at":"2026-07-13T14:40:23.642662+00:00","invoice_id":"INV-F6UAT1783953622429-DOMB2B","invoice_no":"INV-F6UAT1783953622429-DOMB2B","listing_id":"LIST-F6UAT1783953622429-DOMB2B","module_key":"yarn","tax_amount":180,"trade_mode":"B2B","unit_price":100,"updated_at":"2026-07-13T14:40:36.601195+00:00","destination":"","supplier_id":null,"advance_paid":100,"invoice_date":"2026-07-13T14:40:23.642662+00:00","linkage_json":{},"payload_json":{"rfqId":"RFQ-F6UAT1783953622429-DOMB2B","reason":null,"buyerId":null,"dueDate":"2026-08-12","orderId":"F6UAT1783953622429-DOMB2B","taxMode":"exclusive","taxRate":18,"currency":"INR","quantity":10,"sellerId":"seller-1","taxLabel":"GST","invoiceId":"INV-F6UAT1783953622429-DOMB2B","listingId":"LIST-F6UAT1783953622429-DOMB2B","moduleKey":"yarn","tradeMode":"B2B","unitPrice":100,"advancePaid":100,"quotationId":"QT-F6UAT1783953622429-DOMB2B","sourceRoute":"/api/trade-core/family5/orders/create","totalAmount":1000,"paymentTerms":"Net 30","activeContext":{"contextId":"business-admin-online","activeRole":"admin","routeOwner":"backend/server.js","accountType":"business","permissions":["admin:read","employee:operate"],"businessMode":"online","entitlements":{},"activeBuyerId":null,"activeBranchId":"main","activeSellerId":null,"activeCompanyId":"ach-admin","activeProfileId":"profile_business_admin-1","activeCompanyName":"Acharioteer Admin","transactionOrigin":"MARKETPLACE_ONLINE","authenticatedUserId":"admin-1"},"automationOff":true,"buyerCompanyId":"buyer-company-1","stateChangedBy":"admin-1","acceptedQuoteId":"INTERNAL-F5-QUOTE-F6UAT1783953622429-DOMB2B","packageMetadata":null,"productMasterId":"PM-F6UAT1783953622429-DOMB2B","sellerCompanyId":"ach-admin","canonicalTradeFlow":"listing -> comparison -> landed_cost -> order -> escrow -> logistics -> delivery -> wallet -> payout -> receipt_audit","domesticExportMode":"domestic","noGovernmentFiling":true,"noProviderExecution":true,"providerExecutionEnabled":false,"canonicalOrderCreateOwner":"backend/server.js","canonicalOrderCreateHandler":"bcpui05CreateOrderCanonical"},"quotation_id":"","total_amount":1180,"document_json":{"pdfProvider":"OFF","printableHtml":true,"eInvoiceProvider":"OFF"},"payment_terms":"Net 30","freight_amount":0,"invoice_series":null,"invoice_status":"CREDIT_ADJUSTED","discount_amount":0,"idempotency_key":"INV-F6UAT1783953622429-DOMB2B","buyer_company_id":"buyer-company-1","context_metadata":{},"goods_receipt_id":null,"insurance_amount":0,"jurisdiction_json":{},"purchase_order_id":null,"seller_company_id":"ach-admin","vendor_invoice_no":null,"jobwork_challan_id":null,"jobwork_invoice_no":null,"invoice_number_json":{},"purchase_invoice_no":null,"transaction_context":{},"domestic_export_mode":"domestic"}]},{"table":"erp_invoice_lines","exists":true,"status":"READY","rowCount":2,"columns":["id","invoice_no","order_id","line_no","module_key","sector","item_code","description","quantity","unit","unit_price","line_amount","currency","status","payload_json","created_at","discount_amount","taxable_amount","tax_category","item_classification_json"],"rows":[{"id":2,"unit":"unit","sector":"textile","status":"POSTED","line_no":1,"currency":"INR","order_id":"TC-1778001898883-3E548F","quantity":2,"item_code":"step48-seller-release-listing","created_at":"2026-06-06T19:41:36.393918+00:00","invoice_no":"INV-UN-2026-YARN-TC-1778001898883-3E548F","module_key":"yarn","unit_price":240,"description":"Step 48 seller release journal check","line_amount":480,"payload_json":{"source":"trade_orders","taxMode":"domestic","rfqTrace":null,"listingId":"step48-seller-release-listing","taxJurisdiction":{"placeOfSupply":null,"destinationState":null,"jurisdictionCode":"UN","destinationCountry":""},"itemClassification":{"hsnSac":null,"status":"PLACEHOLDER_PENDING_MASTER","hsnCode":null,"sacCode":null,"codeSystem":"CUSTOM","customCode":null,"customsCode":null,"placeholders":{"hsnSac":null,"hsnCode":null,"sacCode":null,"customCode":null,"customsCode":null},"requiredForRegime":"VAT","classificationCode":null},"canonicalTradeChain":["listing","comparison","landed_cost","order","escrow","logistics","delivery","wallet","payout","receipt_audit"]},"tax_category":"VAT","taxable_amount":480,"discount_amount":0,"item_classification_json":{"hsnSac":null,"status":"PLACEHOLDER_PENDING_MASTER","hsnCode":null,"sacCode":null,"codeSystem":"CUSTOM","customCode":null,"customsCode":null,"placeholders":{"hsnSac":null,"hsnCode":null,"sacCode":null,"customCode":null,"customsCode":null},"requiredForRegime":"VAT","classificationCode":null}},{"id":1,"unit":"unit","sector":"textile","status":"POSTED","line_no":1,"currency":"INR","order_id":"TC-1778002387546-9FC50D","quantity":2,"item_code":"step50-journal-readback-listing","created_at":"2026-06-06T19:41:35.883891+00:00","invoice_no":"INV-UN-2026-YARN-TC-1778002387546-9FC50D","module_key":"yarn","unit_price":260,"description":"Step 50 journal readback check","line_amount":520,"payload_json":{"source":"trade_orders","taxMode":"domestic","rfqTrace":null,"listingId":"step50-journal-readback-listing","taxJurisdiction":{"placeOfSupply":null,"destinationState":null,"jurisdictionCode":"UN","destinationCountry":""},"itemClassification":{"hsnSac":null,"status":"PLACEHOLDER_PENDING_MASTER","hsnCode":null,"sacCode":null,"codeSystem":"CUSTOM","customCode":null,"customsCode":null,"placeholders":{"hsnSac":null,"hsnCode":null,"sacCode":null,"customCode":null,"customsCode":null},"requiredForRegime":"VAT","classificationCode":null},"canonicalTradeChain":["listing","comparison","landed_cost","order","escrow","logistics","delivery","wallet","payout","receipt_audit"]},"tax_category":"VAT","taxable_amount":520,"discount_amount":0,"item_classification_json":{"hsnSac":null,"status":"PLACEHOLDER_PENDING_MASTER","hsnCode":null,"sacCode":null,"codeSystem":"CUSTOM","customCode":null,"customsCode":null,"placeholders":{"hsnSac":null,"hsnCode":null,"sacCode":null,"customCode":null,"customsCode":null},"requiredForRegime":"VAT","classificationCode":null}}]},{"table":"erp_tax_lines","exists":true,"status":"READY","rowCount":6,"columns":["id","invoice_no","order_id","line_no","module_key","sector","tax_code","tax_type","jurisdiction","taxable_amount","rate","tax_amount","currency","status","payload_json","created_at","tax_regime","jurisdiction_code","supply_type","reverse_charge","classification_code"],"rows":[{"id":7,"rate":null,"sector":"textile","status":"POSTED","line_no":null,"currency":"INR","order_id":"BCF09B-CORRECTED-1783708823162-ORDER","tax_code":"GST_OUTPUT","tax_type":null,"created_at":"2026-07-10T18:40:23.657+00:00","invoice_no":"BCF09B-CORRECTED-1783708823162-INV","module_key":null,"tax_amount":0.9,"tax_regime":"GST/VAT","supply_type":null,"jurisdiction":null,"payload_json":{"marker":"EOX026_ENTERPRISE_BUSINESS_CHAIN_3_COMPLETE","source":"sales_invoice_output_tax","orderId":"BCF09B-CORRECTED-1783708823162-ORDER","invoiceNo":"BCF09B-CORRECTED-1783708823162-INV"},"reverse_charge":false,"taxable_amount":5,"jurisdiction_code":null,"classification_code":null},{"id":6,"rate":null,"sector":"textile","status":"POSTED","line_no":null,"currency":"INR","order_id":"BCF09B-CORRECTED-1783708789511-ORDER","tax_code":"GST_OUTPUT","tax_type":null,"created_at":"2026-07-10T18:39:50.022+00:00","invoice_no":"BCF09B-CORRECTED-1783708789511-INV","module_key":null,"tax_amount":0.9,"tax_regime":"GST/VAT","supply_type":null,"jurisdiction":null,"payload_json":{"marker":"EOX026_ENTERPRISE_BUSINESS_CHAIN_3_COMPLETE","source":"sales_invoice_output_tax","orderId":"BCF09B-CORRECTED-1783708789511-ORDER","invoiceNo":"BCF09B-CORRECTED-1783708789511-INV"},"reverse_charge":false,"taxable_amount":5,"jurisdiction_code":null,"classification_code":null},{"id":4,"rate":null,"sector":"textile","status":"POSTED","line_no":null,"currency":"INR","order_id":"SO-RFQ-1783020275322-0N5XFZ","tax_code":"GST_OUTPUT","tax_type":null,"created_at":"2026-07-08T09:34:13.781+00:00","invoice_no":"INV-PROD-SO-RFQ-1783020275322-0N5XFZ","module_key":null,"tax_amount":18,"tax_regime":"GST/VAT","supply_type":null,"jurisdiction":null,"payload_json":{"marker":"EOX026_ENTERPRISE_BUSINESS_CHAIN_3_COMPLETE","source":"sales_invoice_output_tax","orderId":"SO-RFQ-1783020275322-0N5XFZ","invoiceNo":"INV-PROD-SO-RFQ-1783020275322-0N5XFZ"},"reverse_charge":false,"taxable_amount":100,"jurisdiction_code":null,"classification_code":null},{"id":3,"rate":null,"sector":"textile","status":"POSTED","line_no":null,"currency":"INR","order_id":"TC-1781205818780-B96A56","tax_code":"GST18","tax_type":null,"created_at":"2026-07-01T14:35:38.556056+00:00","invoice_no":"CODEX747-TC-1781205818780-B96A56-INV","module_key":null,"tax_amount":1.8,"tax_regime":"GST","supply_type":null,"jurisdiction":null,"payload_json":{"marker":"CODEX747_END_TO_END_BUSINESS_RECONCILIATION","orderId":"TC-1781205818780-B96A56","listingId":"step29-listing-1777991056","moduleKey":"yarn"},"reverse_charge":false,"taxable_amount":10,"jurisdiction_code":null,"classification_code":null},{"id":2,"rate":null,"sector":"textile","status":"POSTED","line_no":1,"currency":"INR","order_id":"TC-1778001898883-3E548F","tax_code":"VAT_UNCONFIGURED","tax_type":"VAT","created_at":"2026-06-06T19:41:36.393918+00:00","invoice_no":"INV-UN-2026-YARN-TC-1778001898883-3E548F","module_key":"yarn","tax_amount":0,"tax_regime":"VAT","supply_type":"domestic","jurisdiction":null,"payload_json":{"reason":"Tax foundation only; no live tax provider or compliance submission is enabled.","source":"erp_tax_structure","taxMode":"domestic","computed":false,"provider":"none","taxLabels":{"taxLabel":"VAT_UNCONFIGURED","configurable":true,"taxTypeLabel":"VAT","taxRegimeLabel":"VAT","jurisdictionLabel":"UN","taxComponentLabel":"VAT"},"taxRegime":"VAT","jurisdiction":{"profile":{"taxRegime":"VAT","codeSystem":"CUSTOM","countryCode":"UN","primaryTaxType":"VAT","jurisdictionLevels":["country","region"]},"taxMode":"domestic","version":"trade-core-erp-tax-foundation-v1","taxRegime":"VAT","supplyType":"domestic","crossBorder":false,"noTaxReason":"","originState":null,"buyerCountry":"","originCountry":"","placeOfSupply":null,"sellerCountry":"","primaryTaxType":"VAT","exportReference":"","destinationState":null,"jurisdictionCode":"UN","destinationCountry":"","reverseChargeReason":"","advanceReceiptReference":""},"classification":{"hsnSac":null,"status":"PLACEHOLDER_PENDING_MASTER","hsnCode":null,"sacCode":null,"codeSystem":"CUSTOM","customCode":null,"customsCode":null,"placeholders":{"hsnSac":null,"hsnCode":null,"sacCode":null,"customCode":null,"customsCode":null},"requiredForRegime":"VAT","classificationCode":null},"configurableTaxLabels":true,"complianceSubmissionEnabled":false},"reverse_charge":false,"taxable_amount":480,"jurisdiction_code":"UN","classification_code":null}]},{"table":"erp_tax_rules","exists":true,"status":"READY","rowCount":16,"columns":["id","rule_key","country_code","jurisdiction_type","jurisdiction_code","tax_regime","tax_type","tax_component","tax_code","rate","classification_system","classification_code","supply_type","reverse_charge","zero_rated","effective_from","effective_to","priority","status","payload_json","created_at","updated_at"],"rows":[{"id":16,"rate":0,"status":"ACTIVE","priority":100,"rule_key":"CESS-0","tax_code":"CESS-0","tax_type":"CESS","created_at":"2026-07-05T06:08:20.218115+00:00","tax_regime":null,"updated_at":"2026-07-05T06:08:20.218115+00:00","zero_rated":false,"supply_type":null,"country_code":"IN","effective_to":null,"payload_json":{"runId":"CODEX936_ENTERPRISE_REFERENCE_DATA_GENERATION","domain":"GST","columns":{"tax_code":"CESS-0","tax_name":"GST Cess Zero","tax_rate":0,"tax_type":"CESS","country_code":"IN","effective_from":"2026-04-01"},"sourceMarker":"CODEX936_REFERENCE_DATA_GENERATED"},"tax_component":null,"effective_from":"2026-04-01","reverse_charge":false,"jurisdiction_code":null,"jurisdiction_type":null,"classification_code":null,"classification_system":null},{"id":15,"rate":0,"status":"ACTIVE","priority":100,"rule_key":"IGST-18","tax_code":"IGST-18","tax_type":"IGST","created_at":"2026-07-05T06:08:20.214162+00:00","tax_regime":null,"updated_at":"2026-07-05T06:08:20.214162+00:00","zero_rated":false,"supply_type":null,"country_code":"IN","effective_to":null,"payload_json":{"runId":"CODEX936_ENTERPRISE_REFERENCE_DATA_GENERATION","domain":"GST","columns":{"tax_code":"IGST-18","tax_name":"IGST 18 Percent","tax_rate":18,"tax_type":"IGST","country_code":"IN","effective_from":"2026-04-01"},"sourceMarker":"CODEX936_REFERENCE_DATA_GENERATED"},"tax_component":null,"effective_from":"2026-04-01","reverse_charge":false,"jurisdiction_code":null,"jurisdiction_type":null,"classification_code":null,"classification_system":null},{"id":14,"rate":0,"status":"ACTIVE","priority":100,"rule_key":"SGST-9","tax_code":"SGST-9","tax_type":"SGST","created_at":"2026-07-05T06:08:20.210341+00:00","tax_regime":null,"updated_at":"2026-07-05T06:08:20.210341+00:00","zero_rated":false,"supply_type":null,"country_code":"IN","effective_to":null,"payload_json":{"runId":"CODEX936_ENTERPRISE_REFERENCE_DATA_GENERATION","domain":"GST","columns":{"tax_code":"SGST-9","tax_name":"SGST 9 Percent","tax_rate":9,"tax_type":"SGST","country_code":"IN","effective_from":"2026-04-01"},"sourceMarker":"CODEX936_REFERENCE_DATA_GENERATED"},"tax_component":null,"effective_from":"2026-04-01","reverse_charge":false,"jurisdiction_code":null,"jurisdiction_type":null,"classification_code":null,"classification_system":null},{"id":13,"rate":0,"status":"ACTIVE","priority":100,"rule_key":"CGST-9","tax_code":"CGST-9","tax_type":"CGST","created_at":"2026-07-05T06:08:20.207055+00:00","tax_regime":null,"updated_at":"2026-07-05T06:08:20.207055+00:00","zero_rated":false,"supply_type":null,"country_code":"IN","effective_to":null,"payload_json":{"runId":"CODEX936_ENTERPRISE_REFERENCE_DATA_GENERATION","domain":"GST","columns":{"tax_code":"CGST-9","tax_name":"CGST 9 Percent","tax_rate":9,"tax_type":"CGST","country_code":"IN","effective_from":"2026-04-01"},"sourceMarker":"CODEX936_REFERENCE_DATA_GENERATED"},"tax_component":null,"effective_from":"2026-04-01","reverse_charge":false,"jurisdiction_code":null,"jurisdiction_type":null,"classification_code":null,"classification_system":null},{"id":12,"rate":0,"status":"ACTIVE","priority":100,"rule_key":"GST-18","tax_code":"GST-18","tax_type":"GST","created_at":"2026-07-05T06:08:20.203234+00:00","tax_regime":null,"updated_at":"2026-07-05T06:08:20.203234+00:00","zero_rated":false,"supply_type":null,"country_code":"IN","effective_to":null,"payload_json":{"runId":"CODEX936_ENTERPRISE_REFERENCE_DATA_GENERATION","domain":"Tax Codes","columns":{"tax_code":"GST-18","tax_name":"GST 18 Percent","tax_rate":18,"tax_type":"GST","country_code":"IN","effective_from":"2026-04-01"},"sourceMarker":"CODEX936_REFERENCE_DATA_GENERATED"},"tax_component":null,"effective_from":"2026-04-01","reverse_charge":false,"jurisdiction_code":null,"jurisdiction_type":null,"classification_code":null,"classification_system":null}]},{"table":"erp_tax_ledger","exists":true,"status":"READY","rowCount":6,"columns":["id","ledger_key","invoice_no","order_id","module_key","sector","tax_line_id","tax_rule_key","tax_code","tax_type","tax_regime","jurisdiction_code","classification_system","classification_code","supply_type","reverse_charge","zero_rated","taxable_amount","tax_rate","tax_amount","currency","liability_party","reconciliation_status","filing_period","status","payload_json","created_at","updated_at"],"rows":[{"id":13,"sector":"textile","status":"POSTED","currency":null,"order_id":"BCF09B-CORRECTED-1783708823162-ORDER","tax_code":"GST_OUTPUT","tax_rate":null,"tax_type":null,"created_at":"2026-07-10T18:40:23.661+00:00","invoice_no":"BCF09B-CORRECTED-1783708823162-INV","ledger_key":"TAX-BCF09B-CORRECTED-1783708823162-INV","module_key":null,"tax_amount":0.9,"tax_regime":"GST/VAT","updated_at":"2026-07-10T18:40:23.661+00:00","zero_rated":false,"supply_type":null,"tax_line_id":null,"payload_json":{"marker":"EOX026_ENTERPRISE_BUSINESS_CHAIN_3_COMPLETE","source":"sales_invoice_output_tax","orderId":"BCF09B-CORRECTED-1783708823162-ORDER","invoiceNo":"BCF09B-CORRECTED-1783708823162-INV"},"tax_rule_key":null,"filing_period":null,"reverse_charge":false,"taxable_amount":0,"liability_party":null,"jurisdiction_code":null,"classification_code":null,"classification_system":null,"reconciliation_status":"UNRECONCILED"},{"id":12,"sector":"textile","status":"POSTED","currency":null,"order_id":"BCF09B-CORRECTED-1783708789511-ORDER","tax_code":"GST_OUTPUT","tax_rate":null,"tax_type":null,"created_at":"2026-07-10T18:39:50.027+00:00","invoice_no":"BCF09B-CORRECTED-1783708789511-INV","ledger_key":"TAX-BCF09B-CORRECTED-1783708789511-INV","module_key":null,"tax_amount":0.9,"tax_regime":"GST/VAT","updated_at":"2026-07-10T18:39:50.027+00:00","zero_rated":false,"supply_type":null,"tax_line_id":null,"payload_json":{"marker":"EOX026_ENTERPRISE_BUSINESS_CHAIN_3_COMPLETE","source":"sales_invoice_output_tax","orderId":"BCF09B-CORRECTED-1783708789511-ORDER","invoiceNo":"BCF09B-CORRECTED-1783708789511-INV"},"tax_rule_key":null,"filing_period":null,"reverse_charge":false,"taxable_amount":0,"liability_party":null,"jurisdiction_code":null,"classification_code":null,"classification_system":null,"reconciliation_status":"UNRECONCILED"},{"id":10,"sector":"textile","status":"POSTED","currency":null,"order_id":"SO-RFQ-1783020275322-0N5XFZ","tax_code":"GST_OUTPUT","tax_rate":null,"tax_type":null,"created_at":"2026-07-08T09:34:13.788+00:00","invoice_no":"INV-PROD-SO-RFQ-1783020275322-0N5XFZ","ledger_key":"TAX-INV-PROD-SO-RFQ-1783020275322-0N5XFZ","module_key":null,"tax_amount":18,"tax_regime":"GST/VAT","updated_at":"2026-07-08T09:34:13.788+00:00","zero_rated":false,"supply_type":null,"tax_line_id":null,"payload_json":{"marker":"EOX026_ENTERPRISE_BUSINESS_CHAIN_3_COMPLETE","source":"sales_invoice_output_tax","orderId":"SO-RFQ-1783020275322-0N5XFZ","invoiceNo":"INV-PROD-SO-RFQ-1783020275322-0N5XFZ"},"tax_rule_key":null,"filing_period":null,"reverse_charge":false,"taxable_amount":0,"liability_party":null,"jurisdiction_code":null,"classification_code":null,"classification_system":null,"reconciliation_status":"UNRECONCILED"},{"id":9,"sector":"textile","status":"POSTED","currency":null,"order_id":"TC-1781205818780-B96A56","tax_code":"GST18","tax_rate":null,"tax_type":null,"created_at":"2026-07-01T14:35:38.571549+00:00","invoice_no":"CODEX747-TC-1781205818780-B96A56-INV","ledger_key":"CODEX747-TC-1781205818780-B96A56-TAX","module_key":null,"tax_amount":1.8,"tax_regime":"GST","updated_at":"2026-07-01T14:35:38.571549+00:00","zero_rated":false,"supply_type":null,"tax_line_id":null,"payload_json":{"marker":"CODEX747_END_TO_END_BUSINESS_RECONCILIATION","orderId":"TC-1781205818780-B96A56","listingId":"step29-listing-1777991056","moduleKey":"yarn"},"tax_rule_key":null,"filing_period":null,"reverse_charge":false,"taxable_amount":0,"liability_party":null,"jurisdiction_code":null,"classification_code":null,"classification_system":null,"reconciliation_status":"UNRECONCILED"},{"id":2,"sector":"textile","status":"POSTED","currency":"INR","order_id":"TC-1778001898883-3E548F","tax_code":"VAT_UNCONFIGURED","tax_rate":null,"tax_type":"VAT","created_at":"2026-06-06T19:41:36.393918+00:00","invoice_no":"INV-UN-2026-YARN-TC-1778001898883-3E548F","ledger_key":"TAXLEDGER_0A339AFF38703F487033E031","module_key":"yarn","tax_amount":0,"tax_regime":"VAT","updated_at":"2026-06-12T07:45:21.567627+00:00","zero_rated":true,"supply_type":"domestic","tax_line_id":null,"payload_json":{"rule":null,"source":"erp_tax_lines","version":"trade-core-erp-tax-compliance-v1","taxLabels":{"taxLabel":"VAT_UNCONFIGURED","configurable":true,"taxTypeLabel":"VAT","taxRegimeLabel":"VAT","jurisdictionLabel":"UN","taxComponentLabel":"VAT"},"taxContext":{"profile":{"taxRegime":"VAT","codeSystem":"CUSTOM","countryCode":"UN","primaryTaxType":"VAT","jurisdictionLevels":["country","region"]},"taxMode":"domestic","version":"trade-core-erp-tax-foundation-v1","taxRegime":"VAT","supplyType":"domestic","crossBorder":false,"noTaxReason":"","originState":null,"buyerCountry":"","originCountry":"","placeOfSupply":null,"sellerCountry":"","primaryTaxType":"VAT","exportReference":"","destinationState":null,"jurisdictionCode":"UN","destinationCountry":"","reverseChargeReason":"","advanceReceiptReference":""},"ruleMatched":false,"canonicalInvoiceTable":"erp_invoices","canonicalTaxLineTable":"erp_tax_lines","configurableTaxLabels":true,"noComplianceSubmission":true},"tax_rule_key":null,"filing_period":"202605","reverse_charge":false,"taxable_amount":480,"liability_party":"none","jurisdiction_code":"UN","classification_code":null,"classification_system":null,"reconciliation_status":"UNRECONCILED"}]}]}