Quarterly VAT

Save and calculate VAT figures

Changed on

Replace all reported figures using decimal strings and the latest revision. Stale revisions return 412. Submitted filings and processed invoices cannot be edited; an unprocessed invoice is voided before recalculation. A successful write returns a new revision. After a timeout, read the filing before retrying.

Account deactivation revokes personal API keys, including Agent Keys, and OAuth authorizations. Account reactivation requires new API keys, including new Agent Keys, and consent; previously issued credentials remain invalid.

put/api/v1/me/tax/vat/filings/{filingId}

Request

  • Base URL
    https://portal.eprospera.com
  • Auth
    • OAuth 2
      Authorization codehttps://portal.eprospera.com/api/oauth/authorize
      Token URLhttps://portal.eprospera.com/api/oauth/token
      Scopeseprospera:person.tax.vat.write
    • or OAuth 2
      Authorization codehttps://portal.eprospera.com/api/oauth/authorize
      Token URLhttps://portal.eprospera.com/api/oauth/token
      Scopeseprospera:entity.tax.vat.write
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

filingIdstring uuid required

Request body

revisionstring required
currency'usd' required
accountingMethod'cash' | 'accrual' required
grossIncomestring required

Non-negative USD decimal string with at most 12 integer digits and 2 decimal places.

taxCreditstring required

Non-negative USD decimal string with at most 12 integer digits and 2 decimal places.

taxWithheldstring required

Non-negative USD decimal string with at most 12 integer digits and 2 decimal places.

Response

Saved draft and calculated liability.

Changes

    • info

      the security scope eprospera:person.tax.vat.write was added to the endpoint's security scheme oauth2

    • info

      the security scope eprospera:entity.tax.vat.write was removed from the endpoint's security scheme oauth2

    • info

      the security scope eprospera:person.tax.vat.write was added to the endpoint's security scheme oauth2

    • info

      the security scope eprospera:entity.tax.vat.write was removed from the endpoint's security scheme oauth2