---
title: "Refresh tax-agency status"
method: GET
path: "/payment-receipts/{id}/tax_agency_status/"
tags: ["Billing"]
---

# Refresh tax-agency status

`GET /payment-receipts/{id}/tax_agency_status/`

## Request

- Base URL: `https://api.piriod.com`
- URL: `https://api.piriod.com/payment-receipts/{id}/tax_agency_status/`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/piriod/apis/piriod-api/docs/payment-receipts/:id/tax_agency_status/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Refreshed payment receipt.

- PaymentReceipt: A fiscal payment receipt (e.g. Mexican REP / "complemento de pago"). It groups one or more payment sources that completed payment of an invoice.
  - `id` integer
  - `sources` string[], required: IDs of payment sources covered by this receipt. All sources must belong to invoices for the same customer and document type, and cannot already have a payment receipt.
  - `document` 'MX22', nullable: Fiscal document type (set automatically by the biller).
  - `number` integer
  - `date` string, date, nullable
  - `custom_change` number, nullable: Custom currency conversion factor.
  - `metadata` object
  - `tax_settings` object: Country-specific tax-agency settings (validated at create/update).
  - `status` 'draft' | 'finalized'
  - `biller_status` string
  - `tax_agency` object
  - `local_file` string, uri, nullable
  - `created` string, date-time
  - `updated` string, date-time

---

[API](https://skmtc.dev/piriod/apis/piriod-api.md) - [All operations](https://skmtc.dev/piriod/apis/piriod-api/llms.txt) - [OpenAPI document](https://skmtc.dev/piriod/apis/piriod-api/revisions/70cbc827dc7b?raw)
