Get Invoice
Changed onRetrieves a specific invoice.
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Example response
{
"id": 1,
"coupon_id": null,
"shipping_fee": "0.00",
"paypalff_email": null,
"shop_customer_id": 1,
"created_at": "2026-11-01T20:00:51.000000Z",
"updated_at": "2026-11-01T20:00:51.000000Z",
"completed_at": "2026-11-01T20:00:51.000000Z",
"processed_email_sent_at": null,
"archived_at": null,
"salt": "667e99ffee7e5",
"gateway": "STRIPE",
"payment_method_id": 1,
"external_url": null,
"sumup_checkout_id": null,
"email": "customer@sellauth.test",
"delivered": null,
"redirect_url": null,
"status": "completed",
"fulfillment_status": null,
"status_description": null,
"price": "14.99",
"tax_rate": "0.00",
"currency": "USD",
"customer_currency": null,
"price_usd": "14.99",
"balance_applied": null,
"balance_applied_usd": null,
"paid": "14.99",
"paid_usd": "14.99",
"custom_fields": null,
"dashboard_note": null,
"ip": "127.0.0.1",
"country_code": null,
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)",
"asn": null,
"utm_source": "newsletter",
"utm_medium": "email",
"utm_campaign": "spring_sale",
"utm_term": null,
"utm_content": null,
"referrer_host": "example.com",
"crypto_address": null,
"crypto_amount": null,
"shop_id": 1,
"cashapp_cashtag": null,
"cashapp_note": null,
"venmo_tag": null,
"venmo_email": null,
"venmo_note": null,
"zelle_recipient": null,
"zelle_name": null,
"zelle_email": null,
"zelle_note": null,
"skrillp2p_email": null,
"skrillp2p_note": null,
"manual": false,
"paypalff_currency": "USD",
"paypalff_price": null,
"paypalff_note": null,
"customer_id": null,
"transaction_id": null,
"proof_of_payment": null,
"proof_of_payment_image": null,
"metadata": null,
"source": null,
"billing_name": null,
"billing_address_line1": null,
"billing_address_line2": null,
"billing_city": null,
"billing_state": null,
"billing_postcode": null,
"billing_country": null,
"shipping_name": null,
"shipping_address_line1": null,
"shipping_address_line2": null,
"shipping_city": null,
"shipping_state": null,
"shipping_postcode": null,
"shipping_country": null,
"shipping_phone": null,
"tracking_code": null,
"tracking_link": null,
"shipped_at": null,
"delivered_at": null,
"fulfillment_note": null,
"abandoned_dismissed_at": null,
"abandoned_recovery_sent_at": null,
"abandoned_recovery_due_at": null,
"abandoned_recovery_skipped_at": null,
"abandoned_recovery_skip_reason": null,
"abandoned_recovery_source": null,
"shipping_zone_id": null,
"withdrawal_disabled": false,
"affiliate_customer_id": null,
"affiliate_code": null,
"affiliate_commission_usd": null,
"affiliate_commission_skip_reason": null,
"affiliate_tier_id": null,
"product_subscription_id": null,
"subscription_cycle": null,
"is_reseller_order": false,
"reseller_tier_id": null,
"reseller_source": null,
"cashback_usd": null,
"expires_at": null,
"coupon_use": null,
"unique_id": "667e99ffee7e5-0000000000001",
"customer": {
"id": 1,
"shop_id": 1,
"email": "customer@sellauth.test",
"username": null,
"anonymous_feedback": false,
"discord_id": null,
"discord_username": null
},
"coupon": null,
"items": [
{
"id": 1,
"invoice_id": 1,
"product_id": 1,
"variant_id": 1,
"parent_variant_id": null,
"custom_name": null,
"dynamic_url": null,
"status": "completed",
"price": "14.99",
"cost": "4.50",
"quantity": 1,
"balance_credit": null,
"coupon_discount": "0.00",
"volume_discount": "0.00",
"gateway_fee": "0.00",
"tax_inclusive": false,
"total_tax": "0.00",
"total_price": "14.99",
"custom_fields": null,
"custom_fields_submitted_at": null,
"delivered": [
"KEY-AAAA-1111-XXXX"
],
"deliverables": null,
"completed_at": "2026-11-01T20:00:51.000000Z",
"product": {
"id": 1,
"type": "variant",
"name": "License Keys",
"deliverables_type": "serials",
"requires_fulfillment": false,
"images": [
{
"id": 1,
"cloudflare_image_id": null,
"url": "http://static.mysellauth.test/storage/images/1.webp",
"pivot": {
"product_id": 1,
"image_id": 1,
"order": 0
}
}
]
},
"variant": {
"id": 1,
"name": "Standard",
"stock": 3
}
}
],
"payments": [],
"payment_method": {
"id": 1,
"name": "Stripe",
"icon_image_id": null,
"icon_image_url": null,
"icon_image": null
},
"feedback": {
"id": 1,
"invoice_id": 1,
"status": "published",
"message": "Great product, instant delivery.",
"image": null,
"rating": 5,
"is_automatic": false,
"reply": null,
"dispute_reason": null,
"disputed_at": null,
"created_at": "2026-11-01T20:00:51.000000Z",
"updated_at": "2026-11-01T20:00:51.000000Z",
"replied_at": null,
"image_url": null
},
"shipping_zone": null,
"proof_of_payment_image_url": null,
"dispute_summary": {
"open": true,
"partially_charged_back_usd": 0
},
"disputes": [
{
"id": 1,
"gateway": "STRIPE",
"stage": "chargeback",
"status": "needs_response",
"reason": "fraudulent",
"amount": "14.99",
"currency": "USD",
"evidence_due_at": "2026-11-03T20:00:52.000000Z",
"is_partial": false,
"contestable": true,
"opened_at": "2026-11-01T20:00:52.000000Z",
"closed_at": null
}
],
"blacklist_status": {
"email": false,
"email_domain": false,
"discord_id": false,
"ip": false,
"ip_range": false,
"country_code": false,
"user_agent": false,
"asn": false
}
}Changes
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
/////became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status
- breaking
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info