VUZDevelopers

Get receipts available to link to this document

GET
/documents/{id}/available-receipts

Returns all ISSUED receipts for the same client that can be linked to this invoice/document. Used for manually linking imported receipts to invoices when the original link wasn't preserved during import.

Use Case: When importing documents from another accounting system, receipt-invoice links may not be preserved. This endpoint allows users to manually link existing receipts to invoices.

Returns:

  • List of receipts for the same client
  • Whether each receipt is already linked to other invoices
  • Whether the receipt was created through the system (affects unlinking ability)
X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Path Parameters

id*string

Document ID (must be a balanceable type: tax_invoice, invoice, deal_bill)

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/documents/string/available-receipts"
{  "receipts": [    {      "id": "660e8400-e29b-41d4-a716-446655440001",      "docNumber": "RCP-2025-001",      "issueDate": "2025-01-15",      "grandTotal": 1170,      "currency": "ILS",      "isLinkedToOtherInvoices": true,      "linkedInvoiceIds": [        "660e8400-e29b-41d4-a716-446655440003"      ],      "isSystemCreated": false    }  ],  "total": 5,  "invoiceAmount": 1170}