Browse Documentation
GET Get template

List All Templates

Get a list of all invoice templates

GET /invoice_templates

Request

    
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://dev.accounteer.com/api/v0.1/invoice_templates/
    

Response

[
{
    "id": "9db72d7ab068b8ac4cf4e52ed0b17fc449a397ad",
    "organization_id": "9a3a10a3515ac8ab664fc3311ffc8c9f3259e38b",
    "template_name": "Business Standard",
    "language": "fr",
    "days_due": 40,
    "invoice_title": "INVOICE",
    "creditnote_title": "CREDIT NOTE",
    "offer_title": "OFFER",
    "payment_instruction": null,
    "payment_receipt_title": "PAYMENT RECEIPT",
    "payment_receipt_message": null,
    "payment_receipt_sms_message": null,
    "terms": "Pay in 30days",
    "default": true,
    "accent_color": "#0088cc",
    "mail_offer": null,
    "subject_offer": "Test Subject Offer",
    "mail_invoice": null,
    "subject_invoice": "Test Subject Invoice",
    "mail_creditnote_out": "Test mail credit note note",
    "subject_creditnote_out": "Test subject credit note note",
    "mail_purchase_order": "Test mail purchase order",
    "subject_purchase_order": "Test subject purchase order",
    "vat_title": "VAT",
    "vat": null,
    "phone": null,
    "email": null,
    "country": null,
    "fax": null,
    "currency": "EUR",
    "address":null,
    "city": null,
    "zipcode":null
    }]


Get Invoice Template

Get the details of one specific invoice template

GET /invoice_templates/:id

Request

    
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://dev.accounteer.com/api/v0.1/invoice_templates/9db72d7ab068b8ac4cf4e52ed0b17fc449a397ad
    

Response

{
    "id": "9db72d7ab068b8ac4cf4e52ed0b17fc449a397ad",
    "organization_id": "9a3a10a3515ac8ab664fc3311ffc8c9f3259e38b",
    "template_name": "Business Standard",
    "language": "fr",
    "days_due": 40,
    "invoice_title": "INVOICE",
    "creditnote_title": "CREDIT NOTE",
    "offer_title": "OFFER",
    "payment_instruction": null,
    "payment_receipt_title": "PAYMENT RECEIPT",
    "payment_receipt_message": null,
    "payment_receipt_sms_message": null,
    "terms": "Pay in 30days",
    "default": true,
    "accent_color": "#0088cc",
    "mail_offer": null,
    "subject_offer": "Test Subject Offer",
    "mail_invoice": null,
    "subject_invoice": "Test Subject Invoice",
    "mail_creditnote_out": "Test mail credit note note",
    "subject_creditnote_out": "Test subject credit note note",
    "mail_purchase_order": "Test mail purchase order",
    "subject_purchase_order": "Test subject purchase order",
    "vat_title": "VAT",
    "vat": null,
    "phone": null,
    "email": null,
    "country": null,
    "fax": null,
    "currency": "EUR",
    "address":null,
    "city": null,
    "zipcode": null
}