- addShipment
Description:
Creates a shipment with transactions (eFaktura, AvtaleGiro or a combination).
Possible validation error codes from operation:
3002 - Shipment id already exists
3003 - Transaction id already exists
3010 - ATG info is missing for an ATG transaction
3011 - eFaktua info is missing for an eFaktura transaction
3020 - KID is missing for an ATG transaction
3021 - ATG transaction is not document type INVOICE
3100 - Document type not implemented (currently only INVOICE is allowed)
3101 - AvtaleGiro transactions are not allowed
Operation type:
Request-response.
The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-atg-service/v2/submitter/v1/addShipment
Input:
addShipment type AddShipmentRequest Add a new shipment with transactions.
Use getShipmentStatus or getTransactionStatus to check the status.
- auditInformation type AuditInformationType
Information used for auditing and logging messages. The service replies with
the same messageIdentifier sent in.
- shipmentId type uuidType - type string with restriction maxLength(36) minLength(36) pattern([a-f0-9]{8}-([a-f0-9]{4}-){3}[a-f0-9]{12})
A unique reference - UUID
- issuer type organizationNumberType - type string with restriction maxLength(9) minLength(9) pattern([0-9]{9})
- transactions type TransactionsType
Allows up to a 1000 transactions per shipment.
- transactions type TransactionType
- transactionId type uuidType - type string with restriction maxLength(36) minLength(36) pattern([a-f0-9]{8}-([a-f0-9]{4}-){3}[a-f0-9]{12})
A unique reference - UUID
- paymentType type paymentType - type string with restriction - enum { 'EFAKTURA', 'EFAKTURA_AND_AVTALEGIRO', 'EFAKTURA_AND_EXTERNAL_AVTALEGIRO', 'AVTALEGIRO' }
- documentType type documentType - type string with restriction - enum { 'INVOICE', 'CREDIT_NOTE', 'REMINDER', 'COLLECTION_NOTICE', 'DUNNING', 'PAYMENT_REQUEST', 'ENFORCEMENT_WARNING' }
- kid - optional; type kidType - type string with restriction maxLength(25) minLength(2) pattern(\d+-?)
Mandatory for ATGs, but not for eFakturas
- accountNumber type accountNumberType - type string with restriction length(11)
The account number that the issuer will be credited.
Must be a Norwegian account number with 11 digits
- amount type simpleAmountType - type decimal with restriction fractionDigits(2) minInclusive(0.00)
The amount represented as a positive number with two decimals.
- dueDate type date
- efakturaInfo - optional; type EfakturaType
Must be added for eFakturas
- A choice of one of the following elements:
- minimumAmount - optional; type simpleAmountType - type decimal with restriction fractionDigits(2) minInclusive(0.00)
The amount represented as a positive number with two decimals.
- brandName type brandNameType - type string with restriction maxLength(40)
Name that is shown to the receiver of the eFaktura
- eFakturaUrl type eFakturaUrlType - type string with restriction maxLength(255) minLength(1)
URL to where the eFaktura invoice is located
- atgInfo - optional; type AtgType
Must be added for ATGs
- atgBankNotification type boolean
- atgBankNotificationText - optional; type atgBankNotificationTextType - type string with restriction maxLength(3360) minLength(0)
Notification text for AvtaleGiro.
Max length 3360, but should be divided in 80 character lines and maximum 42 lines.
- atgAbbreviatedName - optional; type atgAbbreviatedNameType - type string with restriction maxLength(10) minLength(1)
The field may be used to inform payer about the AvtaleGiro payment.
The external reference will be transferred to payer’s statement and AvtaleGiro info.
The external reference will override the set text on payer’s regular payment assignment.
- atgExternalReference - optional; type atgExternalReferenceType - type string with restriction maxLength(25) minLength(1)
The abbreviated name for the AvtaleGiro payer.
The field should be filled in to make identification of any denied due payments easier.
Output:
addShipmentResponse (soap:body, use = literal)
Source codeaddShipmentResponse type AddShipmentResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- cancelShipment
Description:
Cancel a shipment.
Possible validation error codes from operation:
3000 - Shipment not found
Operation type:
Request-response.
The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-atg-service/v2/submitter/v1/cancelShipment
Input:
cancelShipment type CancelShipmentRequest Cancel all transactions in shipment.
Output:
cancelShipmentResponse (soap:body, use = literal)
Source codecancelShipmentResponse type CancelShipmentResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- cancelTransaction
Description:
Cancel a transaction.
Possible validation error codes from operation:
3001 - Transaction not found
Operation type:
Request-response.
The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-atg-service/v2/submitter/v1/cancelTransactions
Input:
cancelTransaction (soap:body, use = literal)
Source codecancelTransaction type CancelTransactionRequest Output:
cancelTransactionResponse (soap:body, use = literal)
Source codecancelTransactionResponse type CancelTransactionResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getBlackList
Description:
Get black listed eFaktura issuers
Operation type:
Request-response.
The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-atg-service/v2/submitter/v1/getBlackList
Input:
getBlackList type GetBlackListRequest Output:
getBlackListResponse (soap:body, use = literal)
Source codegetBlackListResponse type GetBlackListResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getEfakturaIdentifiers
Description:
Returns efakturaIdentifier and auto accept agreement if the receiver is found by
efaktura identifier, personalnumber, organization number, phone, email, name, or address.
Operation type:
Request-response.
The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-atg-service/v2/submitter/v1/getEfakturaIdentifiers
Input:
getEfakturaIdentifiers (soap:body, use = literal)
Source codegetEfakturaIdentifiers type GetEfakturaIdentifiersRequest Output:
getEfakturaIdentifiersResponse (soap:body, use = literal)
Source codegetEfakturaIdentifiersResponse type GetEfakturaIdentifiersResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getShipments
Description:
Returns all shipment IDs sent in by the user within a time interval.
Possible validation error codes from operation:
3040 - interval too long
Operation type:
Request-response.
The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-atg-service/v2/submitter/v1/getShipments
Input:
getShipments type GetShipmentsRequest Output:
getShipmentsResponse (soap:body, use = literal)
Source codegetShipmentsResponse type GetShipmentsResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getShipmentStatus
Description:
Get the status of a shipment.
Possible validation error codes from operation:
3000 - Shipment not found
Operation type:
Request-response.
The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-atg-service/v2/submitter/v1/getShipmentStatus
Input:
getShipmentStatus (soap:body, use = literal)
Source codegetShipmentStatus type GetShipmentStatusRequest Output:
getShipmentStatusResponse (soap:body, use = literal)
Source codegetShipmentStatusResponse type GetShipmentStatusResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getTransaction
Description:
Get a transaction.
Possible validation error codes from operation:
3001 - Transaction not found
Operation type:
Request-response.
The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-atg-service/v2/submitter/v1/getTransaction
Input:
getTransaction type GetTransactionRequest Output:
getTransactionResponse (soap:body, use = literal)
Source codegetTransactionStatusResponse type GetTransactionResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getTransactionStatus
Description:
Get the status of a transaction.
Possible validation error codes from operation:
3001 - Transaction not found
Operation type:
Request-response.
The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-atg-service/v2/submitter/v1/getTransactionStatus
Input:
getTransactionStatus (soap:body, use = literal)
Source codegetTransactionStatus type GetTransactionStatusRequest Output:
getTransactionStatusResponse (soap:body, use = literal)
Source codegetTransactionStatusResponse type GetTransactionStatusResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- validateSecuritySignature
Description:
Validates the given security signature and returns the decrypted value.
Possible validation error codes from operation:
3030 - the signature has timed out
3031 - the signature is manipulated
Operation type:
Request-response.
The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-atg-service/v2/submitter/v1/validateSecuritySignature
Input:
validateSecuritySignature (soap:body, use = literal)
Source codevalidateSecuritySignature type ValidateSecuritySignatureRequest Output:
validateSecuritySignatureResponse (soap:body, use = literal)
Source codevalidateSecuritySignatureResponse type ValidateSecuritySignatureResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.