xendit docs

Integrasi Xero (Xero Integration)

Xero adalah perangkat lunak akuntansi berbasis cloud yang dirancang untuk usaha kecil. Mudah digunakan, Xero menggunakan yang terbaik dari web dan seluler untuk memungkinkan usaha kecil untuk mengelola keuangan mereka kapan saja, di mana saja. Ada dua jenis integrasi Xero, Back End Flow dan integrasi URL khusus.

 

Backend

  • Integrasi ini adalah untuk mencatat transaksi ke dalam sistem akuntansi Xero
  • Digunakan ketika pembayaran dimulai dari dasbor Xendit atau sistem backend Anda (tidak melalui Xero)
  • Setelah pembayaran, invoice dan entri jurnal akan dicatat
 

URL khusus

  • URL khusus dibuat dari dalam Invoice Xero agar pengguna Anda membayar
  • Gunakan ini ketika Anda ingin membuat invoice di dalam Xero dan Xendit berfungsi sebagai dasar pembayaran Anda
  • Setelah pembayaran, status invoice Xero akan diperbarui dan entri jurnal akan dikirim ke akun Xero Anda
 

Berintegrasi dengan Xero ( BackEnd )

Jika Anda ingin memasukkan transaksi pembayaran Invoice Anda ke Xero, kita perlu melakukan beberapa pengaturan manual. Yang perlu Anda lakukan adalah memberi kami informasi yang dibutuhkan. Harap ikuti langkah-langkah di bawah ini untuk mengumpulkan informasi yang diperlukan dan mengirimkannya melalui email xerointegration@xendit.co dengan subjek Integrating with Xero (Backend) :

Xendit Development and Live Secret Key

1
2
3
Salin Development dan Live Secret Key , lalu sertakan dalam email
  • Development Secret Key
  • Live Secret Key

Consumer Key , Consumer Secret , dan Generated Files ( privatekey.pem dan publickey.cer )

1
2
Pilih Private - just for use in my own organisation
3
Ketik Xendit sebagai Application Name
4
Pilih organisasi yang dapat diakses aplikasi Anda
5
Untuk X509 Public Key Certificate , buka tab baru dan arahkan ke https://developer.xero.com/documentation/api-guides/create-publicprivate-key dan ikuti langkah-langkah untuk menghasilkan file privatekey.pem dan publickey.cer
6
Silakan lampirkan file privatekey.pem dan publickey.cer yang sudah dihasilkan ke dalam email
7
Kembali ke tampilan Add Application , pilih Upload X509 certificate file (.cer)
8
Lalu unggah file publickey.cer yang sudah dihasilkan sebelumnya
9
Centang I have read and agree to the Xero Developer Platform
10
Klik Save
11
Salin Consumer Key dan Consumer Secret , lalu sertakan dalam email

ShortCode

1
2
Klik Run
3
Cari ShortCode dari organisasi
4
Salin ShortCode dan sertakan ke dalam email

AccountID

1
2
Klik Add Bank Account
3
Ketik Xendit , lalu klik Add it anyway
4
Masukkan detail rekening bank Anda:
  • Bank: Xendit
  • Nama Akun: Xendit Account
  • Tipe Akun: Other
  • Nomor Akun: 1000000000
5
Klik Save
6
7
Klik Run
8
Di dalam bagian response , Cari Xendit Account
9
Lalu cari AccountID
10
Salin AccountID dari Xendit Account lalu sertakan ke dalam email

AccountCode

Catatan: Akun ini akan digunakan ketika Anda membuat Invoice di Xero.

 
1
2
Klik Add Account
3
Pilih Account Type (misalnya Sales )
4
Ketik Code (misalnya 118), salin dan sertakan ke dalam email
5
Ketik Name (misalnya Xendit)
6
Ketik Description (ini opsional)
7
Pilih Tax (misalnya Tax Exempt (0%))
8
Centang Enable payments to this account
9
Klik Save
 

Tambahkan Invoice Callback URL di dalam Dasbor Xendit

1
2
3
Klik Invoices
4
Di bawah Callback URLs , salin https://xro.xendit.co/api/callback/invoice/ ke dalam Development , lalu klik Save & Test Callback
5
Di bawah Callback URLs , salin https://xro.xendit.co/api/callback/invoice/ ke dalam Production , lalu klik Save & Test Callback
 

Berintegrasi dengan Xero (URL Khusus)

Untuk berintegrasi dengan Xero, kita perlu melakukan beberapa pengaturan manual. Yang perlu Anda lakukan adalah memberi kami informasi yang dibutuhkan. Harap ikuti langkah-langkah di bawah ini untuk mengumpulkan informasi yang diperlukan dan kirim email ke xerointegration@xendit.co dengan subjek Integrating with Xero (Custom URL) :

Xendit Development and Live Secret Key

1
2
3
Salin Development dan Live Secret Key , lalu sertakan dalam email
  • Development Secret Key
  • Live Secret Key

Consumer Key , Consumer Secret , dan Generated Files ( privatekey.pem dan publickey.cer )

1
2
Pilih Private - just for use in my own organisation
3
Ketik Xendit sebagai Application Name
4
Pilih organisasi yang dapat diakses aplikasi Anda
5
Untuk X509 Public Key Certificate , buka tab baru dan arahkan ke https://developer.xero.com/documentation/api-guides/create-publicprivate-key dan ikuti langkah-langkah untuk menghasilkan file privatekey.pem dan publickey.cer
6
Silakan lampirkan file privatekey.pem dan publickey.cer yang sudah dihasilkan ke dalam email
7
Kembali ke tampilan Add Application , pilih Upload X509 certificate file (.cer)
8
Lalu unggah file publickey.cer yang sudah dihasilkan sebelumnya
9
Centang I have read and agree to the Xero Developer Platform
10
Klik Save
11
Salin Consumer Key dan Consumer Secret , lalu sertakan dalam email

ShortCode

1
2
Klik Run
3
Cari ShortCode dari organisasi
4
Salin ShortCode dan sertakan ke dalam email

AccountID

1
2
Klik Add Bank Account
3
Ketik Xendit , lalu klik Add it anyway
4
Masukkan detail rekening bank Anda:
  • Bank: Xendit
  • Nama Akun: Xendit Account
  • Tipe Akun: Other
  • Nomor Akun: 1000000000
5
Klik Save
6
7
Klik Run
8
Di dalam bagian response , Cari Xendit Account
9
Lalu cari AccountID
10
Salin AccountID dari Xendit Account lalu sertakan ke dalam email

AccountCode

Catatan: Akun ini akan digunakan ketika Anda membuat Invoice di Xero.

 
1
2
Klik Add Account
3
Pilih Account Type (misalnya Sales )
4
Ketik Code (misalnya 118), salin dan sertakan ke dalam email
5
Ketik Name (misalnya Xendit)
6
Ketik Description (ini opsional)
7
Pilih Tax (misalnya Tax Exempt (0%))
8
Centang Enable payments to this account
9
Klik Save
 

Tambahkan Invoice Callback URL di dalam Dasbor Xendit

1
2
3
Klik Invoices
4
Di bawah Callback URLs , salin https://xro.xendit.co/api/callback/invoice/ ke dalam Development , lalu klik Save & Test Callback
5
Di bawah Callback URLs , salin https://xro.xendit.co/api/callback/invoice/ ke dalam Production , lalu klik Save & Test Callback
 

Membuat URL khusus di Xero

Untuk mengintegrasikan Xendit sebagai API gateway Anda ke dalam layanan invoice Xero Anda, ikuti langkah-langkah di bawah ini:

1
2
Arahkan ke Settings , pilih General Settings
3
Di bawah Features , pilih Invoice Settings
4
Lalu pilih Payment Services
5
Klik + Add Payment Service dan pilih Custom Payment URL
6
Ketik nama
7
8
Ketik pay now text ( Pay with Xendit )
9
Klik Save
10
Klik Manage Themes
11
Di bawah Credit card service , pilih nama yang Anda masukkan sebelumnya ( #6 ) lalu klik Save
 

Langkah-langkah Cara Membayar Dengan Xendit Menggunakan Layanan Invoice Xero

1
Masuk ke dalam https://login.xero.com
2
3
Isi detail Invoice
4
Klik Approve untuk membuat dan menyetujui Invoice
5
Klik Email di kanan atas, isi email anda, dan klik Send untuk mengirim email ke Invoice
6
Cek di mailbox Anda, klik tautan yang disediakan di email
7
Klik Pay with Xendit dan Anda akan dialihkan ke Invoice Xendit
8
Bayar Invoice Anda
9
Invoice dengan status PAID sebelumnya akan diperbarui di Xero, dan juga transaksi Invoice akan dimasukkan ke dalam Jurnal Pengguna Xero
10
Untuk melihat Invoice dengan status PAID , arahkan ke https://go.xero.com/AccountsReceivable/Search.aspx?invoiceStatus=INVOICESTATUS/PAID
11
Untuk melihat Manual Journals dari Invoice dengan status PAID , arahkan ke https://go.xero.com/Journal/Search.aspx
 

Pertanyaan?

Masih memiliki pertanyaan? Dengan senang hati kami akan membantu anda. Hubungi kami di email atau live chat .

Xero is a cloud-based accounting software designed for small businesses. Easy to use, Xero uses the best of the web and mobile to allow small businesses to manage their finances anytime, anywhere. There are two types of Xero integration, backend flow and custom URL integration.

 

Backend

  • This integration is to record transactions into Xero's accounting system
  • Used when payments are initiated from Xendit dashboard or your backend system (not through Xero)
  • Upon payment, invoice and journal entries will be recorded
 

Custom URL

  • Custom URLs are created from within Xero invoices for your end users to pay
  • Use when you intend to create invoices from within Xero's UI and Xendit serves as your underlying payments
  • Upon payment, Xero's invoice status will be updated and journal entries will be posted to your Xero account
 

Integrating with Xero (Backend)

If you wish to insert your invoice payment transaction into Xero, we will need to do some manual setup. All you need to do is to provide us with the required information. Please follow the steps below to compile the required information and email them to xerointegration@xendit.co with subject Integrating with Xero (Backend) :

Xendit Development and Live Secret Key

1
2
3
Copy the Development and Live Secret Key , then include it in the email
  • Development Secret Key
  • Live Secret Key

Consumer Key, Consumer Secret, and Generated Files (privatekey.pem and publickey.cer)

1
2
Select Private - just for use in my own organisation
3
Enter Xendit as your Application Name
4
Select organisation your application can access
5
For X509 Public Key Certificate, open a new tab and go to https://developer.xero.com/documentation/api-guides/create-publicprivate-key and follow the steps to generate your privatekey.pem and publickey.cer files
6
Please attached the generated privatekey.pem and publickey.cer files into the email
7
Going back to Add Application screen, select Upload X509 certificate file (.cer)
8
Then upload/choose the generated publickey.cer file
9
Check I have read and agree to the Xero Developer Platform
10
Click Save
11
Copy the Consumer Key and Consumer Secret , then include it in the email

ShortCode

1
2
Click Run
3
Search for ShortCode of the organisation
4
Copy the ShortCode and include it in the email

AccountID

1
2
Click Add Bank Account
3
Type Xendit , then click Add it anyway
4
Enter your bank account details:
  • Bank: Xendit
  • Account Name: Xendit Account
  • Account Type: Other
  • Account Number: 1000000000
5
Click Save
6
7
Click Run
8
In the response section, search for Xendit Account
9
Then search for AccountID
10
Copy the AccountID of Xendit Account and include it in the email

AccountCode

Note: This account will be used when you create invoices in Xero.

 
1
2
Click Add Account
3
Select Account Type (e.g. Sales)
4
Enter Code (e.g. 118), copy and include it in the email
5
Enter Name (e.g. Xendit)
6
Enter Description (this is optional)
7
Select Tax (e.g. Tax Exempt (0%))
8
Check Enable payments to this account
9
Click Save
 

Add Invoice Callback URL in Xendit Dashboard

1
2
3
Click Invoices
4
Under Callback URLs , paste https://xro.xendit.co/api/callback/invoice/ into Development , then click Save & Test Callback
5
Under Callback URLs , paste https://xro.xendit.co/api/callback/invoice/ into Production , then click Save & Test Callback
 

Integrating with Xero (Custom URL)

To integrate with Xero, we will need to do some manual setup. All you need to do is to provide us with the required information. Please follow the steps below to compile the required information and email them to xerointegration@xendit.co with subject Integrating with Xero (Custom URL) :

Xendit Development and Live Secret Key

1
2
3
Copy the Development and Live Secret Key , then include it in the email
  • Development Secret Key
  • Live Secret Key

Consumer Key, Consumer Secret, and Generated Files (privatekey.pem and publickey.cer)

1
2
Select Private - just for use in my own organisation
3
Enter Xendit as your Application Name
4
Select organisation your application can access
5
For X509 Public Key Certificate, open a new tab and go to https://developer.xero.com/documentation/api-guides/create-publicprivate-key and follow the steps to generate your privatekey.pem and publickey.cer files
6
Please attached the generated privatekey.pem and publickey.cer files into the email
7
Going back to Add Application screen, select Upload X509 certificate file (.cer)
8
Then upload/choose the generated publickey.cer file
9
Check I have read and agree to the Xero Developer Platform
10
Click Save
11
Copy the Consumer Key and Consumer Secret , then include it in the email

ShortCode

1
2
Click Run
3
Search for ShortCode of the organisation
4
Copy the ShortCode and include it in the email

AccountID

1
2
Click Add Bank Account
3
Type Xendit , then click Add it anyway
4
Enter your bank account details:
  • Bank: Xendit
  • Account Name: Xendit Account
  • Account Type: Other
  • Account Number: 1000000000
5
Click Save
6
7
Click Run
8
In the response section, search for Xendit Account
9
Then search for AccountID
10
Copy the AccountID of Xendit Account and include it in the email

AccountCode

Note: This account will be used when you create invoices in Xero.

 
1
2
Click Add Account
3
Select Account Type (e.g. Sales)
4
Enter Code (e.g. 118), copy and include it in the email
5
Enter Name (e.g. Xendit)
6
Enter Description (this is optional)
7
Select Tax (e.g. Tax Exempt (0%))
8
Check Enable payments to this account
9
Click Save
 

Add Invoice Callback URL in Xendit Dashboard

1
2
3
Click Invoices
4
Under Callback URLs , paste https://xro.xendit.co/api/callback/invoice/ into Development , then click Save & Test Callback
5
Under Callback URLs , paste https://xro.xendit.co/api/callback/invoice/ into Production , then click Save & Test Callback
 

Create A Custom URL in Xero

To integrate Xendit as your payment gateway into your Xero invoicing service, please follow the steps below:

1
2
Go to Settings , select General Settings
3
Under Features , select Invoice Settings
4
Then select Payment Services
5
Click on + Add Payment Service and select Custom Payment URL
6
Enter name
7
8
Enter pay now text ( Pay with Xendit )
9
Click Save
10
Click on Manage Themes
11
Under Credit card service , select the name that you’ve entered earlier ( #6 ) then click Save
 

Steps On How To Pay With Xendit Using Xero Invoicing Service

1
2
3
Fill in the invoice details
4
Click Approve to create and approve the invoice
5
Click Email on the upper right, fill in your email, click Send to email the invoice
6
Go to your mailbox, click on the link provided in the email
7
Click on Pay with Xendit and you will be redirected to Xendit’s invoice
8
Pay your invoice
9
Your recently PAID invoice status will be updated in Xero, and also the invoice transaction will be inserted into Xero’s Manual Journal
10
11
To see your Manual Journals of the PAID invoices, go to https://go.xero.com/Journal/Search.aspx
 

Questions?

Still have more questions? We're always happy to help however we can. Shoot us an email