Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns the full representation of an invoice by id.
cURL
curl --request GET \ --url https://api.infinity.swiss/v1/invoices/{invoiceId} \ --header 'x-api-token: <api-key>'
{ "invoice": { "id": "<string>", "isDraft": true, "number": "<string>", "organisation": "<string>", "template": "<string>", "openingDate": "2023-12-25", "dueDate": "2023-12-25", "positions": [ { "name": "<string>", "singleAmount": 12000, "quantity": 2, "contraAccount": 5499, "id": "<string>", "unit": "<string>", "articleNumber": "<string>", "description": "<string>", "date": "<string>", "discountRate": 50, "customTextColumns": { "customTextColumn1": "<string>", "customTextColumn2": "<string>", "customTextColumn3": "<string>" }, "totalAmount": 123, "vatDebt": 123, "originalCurrency": "<string>", "exchangeRate": 123 } ], "totalAmount": 123, "totalNetAmount": 123, "totalVatDebt": 123, "isQrInvoice": true, "totalAmountPaid": 123, "totalRestAmount": 123, "isPaid": true, "isOverpaid": true, "isAnnulled": true, "recipient": "<string>", "customRecipientText": "<string>", "title": "<string>", "payableInDays": 123, "introductoryText": "<string>", "closingText": "<string>", "originalCurrency": "<string>", "exchangeRate": 123, "columns": [], "emailDeliveries": [ { "recipientEmail": "jsmith@example.com", "status": "<string>", "timestamp": "2023-11-07T05:31:56Z" } ], "publicPdfUrl": "<string>" } }
API token for authentication. Obtain from your Infinity account settings.
The id of the specific invoice.
The invoice is returned.
The full representation of a customer invoice.
Show child attributes