Draft state of My INVOICE

Hi Team,

I have used API (https://api.quickfile.co.uk/1_2/Invoice/Create) to push my Invoice, once I receive the payment. But my INVOICE is in DRAFT.
Since, I received my payment, I am in need to push the invoice directly as PAID to quickfile.

Could you please suggest me the way, so that I can directly push my INVOICE as paid to quickfile.

Thanks
Aashish

Invoice/Create creates a draft invoice, you need to take the InvoiceID from the response and call Payment/Create to record the payment, after which the invoice will show as PAID.

Hi Ian,

Thanks for your quick response, I reviewed the API (https://api.quickfile.co.uk/1_2/Payment/Create) as suggested by you, since I am supposed to pass my InvoiceID, which I received as response of INVOICE/CREATE API
unfortunately, I can’t find INVOICEID entity in SANBOX example JSON.


{
“payload”: {
“Header”: {
@xmlns”: “https://api.quickfile.co.uk”,
“MessageType”: “Request”,
“SubmissionNumber”: “e12db9e6-1957-42f1-812d-9b6fe28f366d”,
“Authentication”: {
“AccNumber”: “6131457796”,
“MD5Value”: “5d20922b87600c7e62b67ccc8db7a818”,
“ApplicationID”: “024def88-8f04-4ae3-84ac-e09bbc246da8”
}
},
“Body”: {
@xmlns”: “https://api.quickfile.co.uk”,
“PaymentDetails”: {
“Designation”: “CLIENT”,
“PaymentType”: “PAYMENT”,
“PaymentDate”: “2017-05-10”,
“DesignatedTo”: {
“ClientID”: “18”
},
“Amount”: “10.00”,
“Currency”: “GBP”,
“PayMethod”: “WORLDPAY”,
“BankNominalCode”: “1200”
}
}
}
}


It’s an optional element (if you don’t send one then it’ll be a payment on account rather than a payment of a specific invoice), so the sandbox example doesn’t include it. You just put

"InvoiceID":12345

(or whatever number) at the same level as PaymentDate etc.

1 Like

Hi Ian,

Thanks for your help, it really worked for me.
Could you please help in understanding “BankNominalCode” in body of PAYMENT_CREATE api.

image

It’s exactly what the name suggests - the nominal code of the bank account into which the payment arrived. 1200 is the code of the default current account, 1230 is the default petty cash account, etc. - you can see them all under the “assets and liabilities” section of the chart of accounts.

Hi Team,
Could you please, let me know is there any setting at your side to download WORLDPAY transactions under our merchant account, similar like I believe you do have with BARCLAYS bank arrangement.

Thanks
Aashish

Hi @Aashish

This isn’t something that’s supported at the moment unfortunately. We only support taking payments with WorldPay.

This topic was automatically closed after 7 days. New replies are no longer allowed.