KintsugiKintsugi

Mark a filing as filed

POST/filings/{filing_id}/mark-filed

Store the confirmation data, if any, and mark the filing filed. An UNFILED filing first moves to FILING and freezes, as on a draft save. The move to FILING is kept if the rest of the request fails; send it again once fixed. This also sends the filing notifications. Sending the same request again for a filing that is already filed with those values returns the filing with no further effects. Field rules are those of PATCH /filings/{filingId}/submission. Only a filing that the partner files, not Kintsugi, can be submitted, and only with a partner credential for the portfolio recorded on the filing. A partner member must be assigned to the organization, or the organization must be assigned to no member. The organization's own users and organization API keys cannot submit. Send an Organization-Id, Connection-Id or Entity-Id selector to say which organization the filing belongs to.

Returns 404 if the filing does not exist or belongs to an organization your credential cannot access, 403 if your portfolio does not file the return or the credential cannot submit for the organization, and 409 if the filing is not in UNFILED, FILING or SUBMITTED status and is not already filed with the values sent, if another request to mark it filed is still running, or while it is being recalculated. Retry the last two cases shortly. Returns 400 if your credential has no actor id to attribute the submission to. A service key is accepted.

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

paymentConfirmationIdstring

The confirmation id the jurisdiction issued for the payment. Send null to clear it.

returnConfirmationIdstring

The confirmation id the jurisdiction issued for the return. Send null to clear it.

notesstring

A free-text note about the filing, up to 2000 characters. Send null to clear it.

amountAdjustedstring

Manual adjustment to the amount due.

amountFeesstring

Fees added to the amount due.

amountPenaltiesstring

Penalties added to the amount due.

amountDiscountsstring

Discounts applied to the amount due.

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, it is in a pauseable status, and its organization is on the auto-filing experience. 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.

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}/mark-filed
-H "Api-Key: ***"
-H "Api-Version: 2026-10-06"
{
"paymentConfirmationId": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10",
"returnConfirmationId": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10",
"notes": "Reviewed and approved.",
"amountAdjusted": "10.00",
"amountFees": "10.00",
"amountPenalties": "10.00",
"amountDiscounts": "10.00"
}
Example request
https://api.trykintsugi.com/filings/{filing_id}/mark-filed
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",
"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"
]
}
}
}
Mark a filing as filed (2026-10-06) | Kintsugi API Reference