- addInvoices
Description:
Creates an invoice that is to be displayed in the online bank
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/addInvoices
Input:
addInvoices type AddInvoices To get a status for the consignment and invoices use the getConsignmentStatus and getInvoiceStatus
calls.
Possible validation error codes from operation:
209 - Duplicate consignmentId (Sender has used this consignmentId before)
Output:
addInvoicesResponse (soap:body, use = literal)
Source codeaddInvoicesResponse type AddInvoicesResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- cancelConsignment
Description:
Cancel all invoices in a consignment
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/cancelConsignment
Input:
cancelConsignment (soap:body, use = literal)
Source codecancelConsignment type CancelConsignment Possible validation error codes from operation:
201 - Unable to find consignment.
202 - Multiple consignments found for id
205 - Consignment already cancelled
Output:
cancelConsignmentResponse (soap:body, use = literal)
Source codecancelConsignmentResponse type CancelConsignmentResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- cancelInvoice
Description:
Cancel spesific invoices in a consignment
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/cancelInvoice
Input:
cancelInvoice type CancelInvoice Possible validation error codes from operation
203 - Multiple invoices found for id
204 - Unable to find invoice
206 - Invoice already cancelled
- auditInformation type AuditInformationType
Information used for auditing and logging
- consignmentId type consignmentIdType - type string with restriction maxLength(11) minLength(9) pattern([0-9]{9,11})
Unique 11 digit consignment reference (classic b2c)
- invoiceId type invoiceReferenceType - type string with restriction maxLength(100) minLength(1) pattern([.-_a-zA-Z0-9\-:{}]+)
Unique character invoice reference
Output:
cancelInvoiceResponse (soap:body, use = literal)
Source codecancelInvoiceResponse type CancelInvoiceResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- cancelSingleInvoice
Description:
Cancel a single consignment independent invoice.
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/cancelSingleInvoice
Input:
cancelSingleInvoice (soap:body, use = literal)
Source codecancelSingleInvoice type CancelSingleInvoice Possible validation error codes from operation
203 - Multiple invoices found for issuer id
204 - Unable to find invoice
206 - Invoice already cancelled
Output:
cancelInvoiceResponse (soap:body, use = literal)
Source codecancelInvoiceResponse type CancelInvoiceResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getAddedInvoiceValidation
Description:
Check processing status for one posted invoice, returns the full document rejection if so.
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/getAddedInvoiceValidation
Input:
invoiceLogicalIdentity (soap:body, use = literal)
Source codeinvoiceLogicalIdentity type InvoiceLogicalIdentityType MPS internal for now. To identift a single one invoice added, identified uniqly by invoiceNumber and serviceProvider (consignmentId for compatibility and use with backend system).
- auditInformation type AuditInformationType
Information used for auditing and logging
- serviceProvider type providerIdType - type string with restriction minLength(9) maxLength(9) pattern([0-9]{9})
Id of the issuer
- consignmentId - optional; type consignmentIdType - type string with restriction maxLength(11) minLength(9) pattern([0-9]{9,11})
Unique 11 digit consignment reference (classic b2c)
- invoiceNumber type invoiceReferenceType - type string with restriction maxLength(100) minLength(1) pattern([.-_a-zA-Z0-9\-:{}]+)
Unique character invoice reference
Output:
getAddedInvoiceValidationResponse (soap:body, use = literal)
Source codegetAddedInvoiceValidationResponse type GetAddedInvoiceValidationResponse MPS internal for now. Contains status for a single invoice added. Reject attribute populated when status is REJECTED only.
- messageIdentifier type messageIdentifierType - type string with restriction minLength(5) maxLength(50)
A unique identifier for a request/response message pair used for logging
- invoiceStatus type invoiceStatusType - type string with restriction - enum { 'ACCEPTED', 'REJECTED', 'NOT_FOUND', 'CANCELLED' }
- invoiceId type invoiceReferenceType - type string with restriction maxLength(100) minLength(1) pattern([.-_a-zA-Z0-9\-:{}]+)
Unique character invoice reference
- rejectionDetails type string
- rejectReasonCode type rejectReasonCodeType - type string with restriction maxLength(3)
The status code for the rejected invoice. Only filled out for rejected invoices
- rejectReason type rejectReasonType - type string with restriction maxLength(40)
The reason the invoice was rejected. Only filled out for rejected invoices
- rejectedAttribute type rejectedAttributeType - type string with restriction maxLength(50)
The named attribute causing the invoice rejection. Only filled out for rejected invoices
- rejectedAttributeValue type rejectedAttributeValueType - type string with restriction maxLength(250)
The named attributes value causing the invoice rejection. Only filled out for rejected invoices
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 BlackListed invoice issuers
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/getBlackList
Input:
getBlackList type GetBlackList Request a list of black listed issuers
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.
- getConsignmentStatus
Description:
Get status on consignment
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/getConsignmentStatus
Input:
getConsignmentStatus (soap:body, use = literal)
Source codegetConsignmentStatus type GetConsignmentStatus Possible validation error codes from operation
201 - Unable to find consignment
202 - Multiple consignments found for id
Output:
getConsignmentStatusResponse (soap:body, use = literal)
Source codegetConsignmentStatusResponse type GetConsignmentStatusResponse - messageIdentifier type messageIdentifierType - type string with restriction minLength(5) maxLength(50)
A unique identifier for a request/response message pair used for logging
- status type consignmentStatusType - type string with restriction - enum { 'IN_PROGRESS', 'DONE', 'STOPPED' }
- acceptedInvoiceCount type long
- rejectedInvoiceCount type long
- cancelledInvoiceCount type long
- rejectedInvoices - optional; type RejectedInvoicesType
- rejectedInvoice - optional; type RejectedInvoiceType
- invoiceId type invoiceReferenceType - type string with restriction maxLength(100) minLength(1) pattern([.-_a-zA-Z0-9\-:{}]+)
Unique character invoice reference
- rejectReason type rejectReasonType - type string with restriction maxLength(40)
The reason the invoice was rejected. Only filled out for rejected invoices
- rejectReasonCode type rejectReasonCodeType - type string with restriction maxLength(3)
The status code for the rejected invoice. Only filled out for rejected invoices
- rejectedAttribute - optional; type rejectedAttributeType - type string with restriction maxLength(50)
The named attribute causing the invoice rejection. Only filled out for rejected invoices
- rejectedAttributeValue - optional; type rejectedAttributeValueType - type string with restriction maxLength(250)
The named attributes value causing the invoice rejection. Only filled out for rejected invoices
List of rejected invoices.
- cancelledInvoices - optional; type CancelledInvoicesType
- cancelledInvoice - optional; type CancelledInvoiceType
List of cancelled invoices.
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-submitter-service/v1/getEfakturaIdentifiers
Input:
getEfakturaIdentifiers (soap:body, use = literal)
Source codegetEfakturaIdentifiers type GetEfakturaIdentifiers 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.
- getInvoiceStatus
Description:
Gets an already created invoice
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/getInvoiceStatus
Input:
getInvoiceStatus type GetInvoiceStatus Output:
getInvoiceStatusResponse (soap:body, use = literal)
Source codegetInvoiceStatusResponse type GetInvoiceStatusResponse - messageIdentifier type messageIdentifierType - type string with restriction minLength(5) maxLength(50)
A unique identifier for a request/response message pair used for logging
- invoiceStatusResponses type InvoiceStatusResponsesType
- invoiceStatusResponse type InvoiceStatusResponseType
- contentProviderId - optional; type providerIdType - type string with restriction minLength(9) maxLength(9) pattern([0-9]{9})
Id of the issuer
- consignmentId type consignmentIdType - type string with restriction maxLength(11) minLength(9) pattern([0-9]{9,11})
Unique 11 digit consignment reference (classic b2c)
- invoiceId type invoiceReferenceType - type string with restriction maxLength(100) minLength(1) pattern([.-_a-zA-Z0-9\-:{}]+)
Unique character invoice reference
- status type invoiceStatusType - type string with restriction - enum { 'ACCEPTED', 'REJECTED', 'NOT_FOUND', 'CANCELLED' }
- rejectReason - optional; type rejectReasonType - type string with restriction maxLength(40)
The reason the invoice was rejected. Only filled out for rejected invoices
- rejectReasonCode - optional; type rejectReasonCodeType - type string with restriction maxLength(3)
The status code for the rejected invoice. Only filled out for rejected invoices
- rejectedAttribute - optional; type rejectedAttributeType - type string with restriction maxLength(50)
The named attribute causing the invoice rejection. Only filled out for rejected invoices
- rejectedAttributeValue - optional; type rejectedAttributeValueType - type string with restriction maxLength(250)
The named attributes value causing the invoice rejection. Only filled out for rejected invoices
List of invoices, with status
Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getJwk
Description:
Get JSON Web Key. Used for validating token in the signed commercial invoice URL.
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/getJwk
Input:
getJwk type GetJwk Get a list of JSON Web Keys used to verify the jwt signature.
Output:
getJwkResponse type GetJwkResponse 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.
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/validateSecuritySignature
Input:
validateSecuritySignature (soap:body, use = literal)
Source codevalidateSecuritySignature type ValidateSecuritySignature Possible validation error codes from operation:
207 - The signature has timed out (is too old).
208 - The signature is not valid or manipulated.
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.
- validateSecurityToken
Description:
Validates the given security signature and returns the decrypted value.
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/efaktura-submitter-service/v1/validateSecurityToken
Input:
validateSecurityToken (soap:body, use = literal)
Source codevalidateSecurityToken type ValidateSecurityToken Possible validation error codes from operation:
212 - Different algorithm used for encryption.
213 - Issuer/Content using to verify is not matching.
214 - The token is expired.
215 - The token is Invalid.
Output:
validateSecurityTokenResponse (soap:body, use = literal)
Source codevalidateSecurityTokenResponse type ValidateSecurityTokenResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.