KintsugiKintsugi

Approve a filing

POST/filings/{filing_id}/approve

Approve a filing, moving it into the FILING lifecycle and locking its transactions. Requires an ADMIN or OWNER credential; send an Organization-Id, Connection-Id or Entity-Id selector to say which organization it belongs to. Approving a BACK_FILING with published terms requires backFilingTermsId. Pass autoFile: true to also turn on the organization's auto-file setting as part of the approval (applied only after it succeeds); omit it to leave the setting unchanged.

Approving a filing that is not UNFILED or PAUSED is a no-op and returns the filing unchanged. Returns 404 if the filing does not exist or belongs to an organization your credential cannot access, 403 if its jurisdiction is not enabled, 403 PLAN_UPGRADE_REQUIRED when the organization is on a free plan, 403 FORBIDDEN when the organization's plan does not include managed filings, 409 conflict if a filing already exists for the period, and 409 recalculation_in_progress while the filing is being recalculated; retry that one after a moment.

Authorization

Api-KeystringRequired

Your secret API key. Include it with every request.

Headers

Api-Versiondate

Release date, as YYYY-MM-DD. Defaults to 2026-07-21.

Organization-Idstring

Target organization id (Organization-Id selector).

Connection-Idstring

Target connection id; resolves to its organization.

Entity-Idstring

Platform entity id; resolves to a connection's organization.

Entity-Sourcestring

Optional source to disambiguate an Entity-Id.

Path parameters

filing_idstringRequired

The unique identifier of the filing.

Body

backFilingTermsIdstring

Id of the back-filing terms version the customer accepted, if any.

backFilingTermsAcceptedAtstring

When the customer accepted the back-filing terms (advisory).

requestIdstring

Client-minted id for this confirm attempt, stored on the audit row so a double-submit or retry of one gesture can be collapsed by readers.

autoFileboolean

When true, also turn on the organization's auto-file setting as part of the approval, so future returns file automatically. Applied only after the approval succeeds; omit, null or false leaves the setting unchanged.

acknowledgeConnectionHealthRiskboolean

After Tech Support review, set true to soft-ack the $0 filing guard when a connection was unhealthy for the period. ADMIN/OWNER (or Api-Key) only.

Response

idstringRequired

Kintsugi's unique identifier for the filing.

organizationIdstringRequired

Organization the filing belongs to.

organizationNamestring

Display name of the organization the filing belongs to. null when the organization has no name set.

registrationIdstring

The registration this filing period is filed under, if any.

statusPublicFilingStatusEnumRequired

Lifecycle status of the filing.

Available options:UNFILEDFILEDFILINGSUBMITTEDPAUSEDSKIPPEDCANCELLEDISSUE
executedByPublicExecutedByRequired

Who files this return: KINTSUGI, or PARTNER for a portfolio. Only the portfolio recorded on the filing may file it. Set when the filing is created. A later change to the client's execution settings does not change it.

Available options:KINTSUGIPARTNER
filingCategorystringRequired

The kind of filing period: REGULAR, AMENDMENT or BACK_FILING (a legacy PREPAYMENT value may appear on historical rows).

taxTypePublicTaxTypeEnumRequired

Which taxes this filing covers, from the associated registration.

Available options:SALES_TAXUSE_TAXSALES_AND_USE_TAXRETAIL_DELIVERY_FEELEASE_TAX
countryCodestringRequired

ISO 3166-1 alpha-2 country code of the filing jurisdiction, such as US, CA or GB.

stateCodestring

State or province code, or null for a country-level filing.

stateNamestring

Human-readable state or province name, or null for a country-level filing.

startDatestringRequired

First day of the filing period, as YYYY-MM-DD.

endDatestringRequired

Last day of the filing period, as YYYY-MM-DD.

dueDatestring

When the return is due, as YYYY-MM-DD.

dateFiledstring

When the return was filed, as YYYY-MM-DD; null until filed.

returnConfirmationIdstring

Return confirmation id from the jurisdiction portal; null until filed.

paymentConfirmationIdstring

Payment confirmation id from the jurisdiction portal; null until paid.

notesstring

The note the partner saved on a filing it files itself. The client organization can read it too. An empty string when there is no note or Kintsugi files the return.

pausedUntilDatestring

Date a paused filing auto-resumes, as YYYY-MM-DD; null when not paused.

isPausableboolean

Whether this filing is structurally eligible to be paused: it is not a back-filing and its status is unfiled or paused. The time-of-month pause window is not included; derive that client-side from dueDate.

canApproveboolean

Whether this filing can be approved. false when approval is blocked (for example by unapproved products or addresses), which disables the per-row Approve and file actions.

skipReasonstring

Why the filing was skipped, if it was; null otherwise.

issueReasonstring

Why the filing has an issue, while its status is ISSUE. New codes may be added, so treat an unknown code like OTHER. Null when the status is not ISSUE or no reason is recorded.

Available options:INVALID_CREDENTIALSMFA_ISSUENEGATIVES_ON_REPORTSOTHERRATE_ISSUES
isPrepaymentbooleanRequired

Whether this period is a prepayment rather than a full return.

isFinalbooleanRequired

Whether this is the registration's final filing period.

isRdfboolean

Whether this is a retail delivery fee return, separate from the state's sales tax return. Derived from the filing's tax type.

transactionCountintegerRequired

Number of transactions in the filing period.

filingWebsiteUrlstring

The jurisdiction's filing portal URL, if known.

approvedAtstring

When the filing was approved, as an RFC-3339 UTC timestamp; null if not.

createdAtstringRequired

When the filing was created, as an RFC-3339 UTC timestamp.

currencystring

ISO-4217 currency every amount on this filing is in; null until the filing's amounts settle.

amountstringRequired

Net amount due for the filing.

amountCalculatedstringRequired

Calculated tax for the period.

amountAdjustedstringRequired

Manual adjustment applied to the amount due.

amountDiscountsstringRequired

Vendor/timely-filing discounts applied.

amountFeesstringRequired

Fees added to the amount due.

feeTypePublicFeeTypeEnum

Whether amountFees is a penalty, interest, or other fee. Null when the fee was recorded before the label existed.

Available options:PENALTYINTERESTOTHER
amountPenaltiesstringRequired

Penalties added to the amount due.

amountTaxCollectedstringRequired

Tax collected on transactions in the period.

amountUseTaxstringRequired

Tax the buyer owes on purchases for the period, in the filing currency. US use tax, or EU/UK reverse-charge VAT the buyer assesses on itself. 0.00 when the return leaves purchases out.

amountSalesstringRequired

Gross sales in the period.

totalTaxLiabilitystringRequired

Total tax liability for the filing.

taxRemittedstringRequired

Tax remitted to the jurisdiction; 0 until filed.

amountInputVatRecoverablestringRequired

Input VAT this filing claimed, subtracted from liability; 0 outside EU/UK VAT filings.

amountInputVatTrueUpstringRequired

Prior-year input VAT pro-rata true-up on this filing; 0 until posted and outside EU/UK VAT filings.

includesInputVatbooleanRequired

True when this return claims recoverable purchase tax: EU/UK input VAT, or Canada federal GST/HST input tax credit / Québec QST input tax refund. False for simplified-regime Canada returns, PST/RST provinces, and filings outside those reclaim paths.

excludedPurchaseTaxEstimatestringRequired

Estimated tax on purchases this return leaves out because the organization does not have Use Tax (US) or Input VAT/GST (EU and UK), in the filing currency. Stops changing once status is FILING, SUBMITTED or FILED. 0.00 when nothing is left out.

purchaseCountintegerRequired

Number of purchases a combined sales and use tax return covers. 0 on any other return, when the return leaves use tax out, and on returns last calculated before this field existed.

amountPurchasesstringRequired

Gross purchases a combined sales and use tax return covers, in the filing currency. 0.00 on any other return, when the return leaves use tax out, and on returns last calculated before this field existed.

totalTaxablePurchasesstringRequired

Taxable purchases a combined sales and use tax return covers, in the filing currency. 0.00 on any other return, when the return leaves use tax out, and on returns last calculated before this field existed.

amountSalesTaxLiabilitystringRequired

Tax before use tax, adjustments, fees, penalties and credits, less discounts. EU and UK returns net recoverable input VAT and true-up. This plus use tax, adjustments, fees and penalties, less creditsUtilized, is totalTaxLiability. A return that claims input VAT floors at 0.00. The rest is a credit.

filingFrequencyPublicFilingFrequencyEnum

Filing frequency from the associated registration.

Available options:UNKNOWNMONTHLYQUARTERLYSEMI_ANNUALLYANNUALLYANNUAL_FISCAL_YEARSEMI_MONTHLYBI_MONTHLYFOUR_MONTHLYQUARTERLY_PREPAYMENT
ossTypePublicOssTypeEnum

OSS scheme (UNION/NON_UNION/IOSS) from the registration, if any.

Available options:UNIONNON_UNIONIOSS
quarterlyPrepayBalanceQuarterlyPrepayBalance

Display-only balance-due breakdown for CA Quarterly Prepayment reconciliation filings. When present, show balanceDue instead of totalTaxLiability. Absent means show totalTaxLiability as usual.

caMayPrepaymentCaMayPrepayment

Display-only CDTFA Option 2 (135% of May liability) for CA Quarterly Prepayment May prepayment filings. Absent means show totalTaxLiability.

estimatedPenaltyIntereststring

Display-only estimated penalties and interest for BACK_FILING rows. Null means unknown. Zero means the estimate found nothing owed. Some states charge a flat late penalty even when the tax is zero. For a filed return, the estimate stops at the filing date.

penaltyInterestRemittanceTagstring

Customer-facing P&I timing tag for BACK_FILING rows, e.g. 'Paid with return' or 'State bills you later'.

salesBreakdownFilingSalesBreakdown

Sales composition for the period (taxable, exempt, marketplace count, credits utilized, deferred count). Absent unless the request passes expand=salesBreakdown.

vatRecoveryFilingVatRecovery

EU/UK input-VAT recovery rate pair for the filing. Absent unless the request passes expand=vatRecovery.

filingArtifactsFilingArtifacts

The filing's return and payment artifacts resolved by slot, plus its other files, each downloadable through the attachments API. Absent unless the request passes expand=artifacts.

preparedReturnFilingPreparedReturn

The filing's return laid out the way the tax authority's portal shows it. Absent unless the request passes expand=preparedReturn. Null when the filing has none: its country or registration has no return form, or prepared returns are not enabled yet.

200

Successful Response

400

The request was invalid.

401

Authentication failed or was missing.

403

The credential is not permitted for this request.

404

The requested resource was not found.

409

The request conflicts with existing state.

422

The request failed validation.

cURL
POST /filings/{filing_id}/approve
-H "Api-Key: ***"
-H "Api-Version: 2026-12-03"
{
"backFilingTermsId": "bfts_2mNpQr7Ls8f3k",
"backFilingTermsAcceptedAt": "2026-07-21T15:30:00Z",
"requestId": "req_2mNpQr7Ls8f3k",
"autoFile": false,
"acknowledgeConnectionHealthRisk": false
}
Example request
https://api.trykintsugi.com/filings/{filing_id}/approve
Response
{
"id": "file_2mNpQr7Ls8f3k",
"organizationId": "orgn_2mNpQr7Ls8f3k",
"organizationName": "Acme Corp",
"registrationId": "regs_2mNpQr7Ls8f3k",
"status": "UNFILED",
"executedBy": "KINTSUGI",
"filingCategory": "REGULAR",
"taxType": "SALES_TAX",
"countryCode": "US",
"stateCode": "CA",
"stateName": "Acme Corp",
"startDate": "2026-07-21",
"endDate": "2026-07-21",
"dueDate": "2026-07-21",
"dateFiled": "2026-07-21",
"returnConfirmationId": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10",
"paymentConfirmationId": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10",
"notes": "Reviewed and approved.",
"pausedUntilDate": "2026-07-21",
"isPausable": false,
"canApprove": true,
"skipReason": "Customer request",
"issueReason": "INVALID_CREDENTIALS",
"isPrepayment": false,
"isFinal": false,
"isRdf": false,
"transactionCount": 1,
"filingWebsiteUrl": "https://www.example.com",
"approvedAt": "2026-07-28T12:00:00Z",
"createdAt": "2026-07-28T12:00:00Z",
"currency": "USD",
"amount": "10.00",
"amountCalculated": "10.00",
"amountAdjusted": "10.00",
"amountDiscounts": "10.00",
"amountFees": "10.00",
"feeType": "PENALTY",
"amountPenalties": "10.00",
"amountTaxCollected": "10.00",
"amountUseTax": "10.00",
"amountSales": "10.00",
"totalTaxLiability": "10.00",
"taxRemitted": "10.00",
"amountInputVatRecoverable": "10.00",
"amountInputVatTrueUp": "10.00",
"includesInputVat": false,
"excludedPurchaseTaxEstimate": "10.00",
"purchaseCount": 1,
"amountPurchases": "10.00",
"totalTaxablePurchases": "10.00",
"amountSalesTaxLiability": "10.00",
"filingFrequency": "UNKNOWN",
"ossType": "UNION",
"quarterlyPrepayBalance": {
"grossTaxLiability": "10.00",
"balanceDue": "10.00",
"prepaymentDeductions": [
{
"label": "April prepayment",
"amount": "10.00",
"filingId": "file_2mNpQr7Ls8f3k"
}
]
},
"caMayPrepayment": {
"baseTaxLiability": "10.00",
"prepaymentAmount": "10.00",
"note": "Reviewed and approved."
},
"estimatedPenaltyInterest": "10.00",
"penaltyInterestRemittanceTag": "penalty interest remittance tag",
"salesBreakdown": {
"totalTaxableSales": "10.00",
"exemptSales": "10.00",
"marketplaceTransactionCount": 1,
"creditsUtilized": "10.00",
"deferredTransactionCount": 1
},
"vatRecovery": {
"inputVatRecoveryRate": "10.00",
"inputVatRecoveryRateIsDefinitive": false
},
"filingArtifacts": {
"returnArtifact": {
"id": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10",
"fileName": "certificate.pdf"
},
"paymentArtifact": {
"id": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10",
"fileName": "certificate.pdf"
},
"additionalArtifacts": [
{
"id": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10",
"fileName": "certificate.pdf"
}
]
},
"preparedReturn": {
"calculated": {
"filingId": "file_2mNpQr7Ls8f3k",
"organizationId": "orgn_2mNpQr7Ls8f3k",
"countryCode": "US",
"returnForm": "return form",
"returnFormLabel": "return form label",
"filingEntityRegistrationNumber": "123456789",
"periodStart": "2026-07-21",
"periodEnd": "2026-07-21",
"currency": "USD",
"sections": [
{
"sectionLabel": "section label",
"boxes": [
{
"boxCode": "box code",
"boxLabel": "box label",
"amount": "10.00",
"category": "category",
"sourceTransactionCount": 1,
"tooltip": "tooltip",
"calculated": true
}
],
"note": "Reviewed and approved."
}
],
"summary": {
"totalOutputVat": "10.00",
"totalInputVat": "10.00",
"netVatPayable": "10.00",
"totalSalesExVat": "10.00",
"totalPurchasesExVat": "10.00"
},
"ossDestinations": [
{
"countryCode": "US",
"countryName": "Acme Corp",
"taxableAmount": "10.00",
"vatRate": "0.082500000",
"vatAmount": "10.00"
}
],
"limitations": [
"limitation"
]
},
"collected": {
"filingId": "file_2mNpQr7Ls8f3k",
"organizationId": "orgn_2mNpQr7Ls8f3k",
"countryCode": "US",
"returnForm": "return form",
"returnFormLabel": "return form label",
"filingEntityRegistrationNumber": "123456789",
"periodStart": "2026-07-21",
"periodEnd": "2026-07-21",
"currency": "USD",
"sections": [
{
"sectionLabel": "section label",
"boxes": [
{
"boxCode": "box code",
"boxLabel": "box label",
"amount": "10.00",
"category": "category",
"sourceTransactionCount": 1,
"tooltip": "tooltip",
"calculated": true
}
],
"note": "Reviewed and approved."
}
],
"summary": {
"totalOutputVat": "10.00",
"totalInputVat": "10.00",
"netVatPayable": "10.00",
"totalSalesExVat": "10.00",
"totalPurchasesExVat": "10.00"
},
"ossDestinations": [
{
"countryCode": "US",
"countryName": "Acme Corp",
"taxableAmount": "10.00",
"vatRate": "0.082500000",
"vatAmount": "10.00"
}
],
"limitations": [
"limitation"
]
}
}
}
Approve a filing (2026-12-03) | Kintsugi API Reference